Bug#862668: debsnap: fails with multitarball source packages

Cyril Brulebois kibi at debian.org
Mon May 15 15:03:39 UTC 2017


Package: devscripts
Version: 2.15.3+deb8u1
Severity: important
Tags: patch

Hi,

Trying to grab vlc 2.2.5-1 during the BSP in Paris this weekend (to
debug then file #862474), I only got the following files:
  vlc_2.2.4.orig-ffmpeg-2-8-11.tar.xz
  vlc_2.2.5-1.debian.tar.xz
  vlc_2.2.5-1.dsc
  vlc_2.2.5.orig.tar.xz

while of course the right ones would have been:
  vlc_2.2.5-1.debian.tar.xz
  vlc_2.2.5-1.dsc
  vlc_2.2.5.orig-ffmpeg-2-8-11.tar.xz
  vlc_2.2.5.orig.tar.xz

You'll find attached a patch which starts by downloading and parsing the
dsc file to extract the list of required filenames, which should help a
bit compared to the current “let's find one of the filenames which had
suitable contents” approach. Checking the presence of the source package
name at the beginning of the filename is not sufficient…

I've also checked the issue and its resolution for various versions of
vlc, and with all current versions of firefox-esr (using a loop over
rmadison's output).

Thanks for considering.


KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debsnap-parse-the-dsc-file-when-downloading-source-p.patch
Type: text/x-diff
Size: 3717 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20170515/164a1b4f/attachment.patch>


More information about the devscripts-devel mailing list