Source: dpkg
Version: 1.18.0
Severity: minor

The exact configure line is:
./configure --prefix=/tools --disable-dselect --without-zlib --without-bz2
--without-liblzma --without-selinux PERL_LIBDIR=/tools/lib/perl/5.20.2

With this build, trying to create a package fails with:

gzip: invalid option -- '-'
Try `gzip --help' for more information.
dpkg-deb (subprocess): subprocess compressing control member returned error
exit status 1
dpkg-deb: error: subprocess <compress> from tar -cf returned error exit
status 2

It appears that gzip is being called with arguments -c -n-1.  (Also,
tracing the code path, as far as I can tell even in the zlib case gzdopen
would be called with mode "w-1" and I'm not sure exactly what effect that
would have.)  Passing --uniform-compression does work around the issue.
-- 
Daniel Schepler

Reply via email to