Package: dpkg-dev
Version: 1.18.1
Severity: important

When unpacking a .debian tarball, dpkg-source explicitly excludes any
files that were already in the corresponding .orig tarball, which in
some cases can yield excessively long command lines.  In particular,
this approach makes it impossible to unpack emoslib on kFreeBSD:

dpkg-source: info: unpacking emoslib_4.0.3+dfsg.1.orig.tar.xz
dpkg-source: info: unpacking emoslib_4.0.3+dfsg.1-1.debian.tar.xz
Can't exec "tar": Argument list too long at /usr/share/perl5/Dpkg/IPC.pm line 
308.
dpkg-source: error: unable to execute tar --no-same-owner --no-same-permissions 
--anchored --no-wildcards --exclude land_sea_mask/r160_xx_19790930 ... 
--exclude bufrtables/C0000000000149010001.TXT -xf - gave error exit status 7
FAILED [dpkg-source died]

The full command line it tries to run here is over 327,000 bytes long,
so I can see how some kernels could reasonably reject it.  If
dpkg-source truly needs to pass an explicit list, I would suggest
using tar's --exclude-from=... option.  Otherwise, I believe it would
suffice to use --skip-old-files, or, if you want to treat overlaps as
errors, --keep-old-files (-k).

Could you please take a look?  FTR, you can find the log I quoted at
https://buildd.debian.org/status/fetch.php?pkg=emoslib&arch=kfreebsd-amd64&ver=2%3A4.0.3%2Bdfsg.1-1&stamp=1435345520

Thanks!


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to