Package: dpkg-dev Version: 1.17.10 Severity: normal Hi,
dpkg-source -x will fail on certain archives if SIGPIPE is ignored as can happen is some non-interactive uses. The archives need trailing zeroes so that tar exits, but the compressor still has data to write to the pipe. An example can be found on snapshot.debian.org: +--- | $ dget -d http://snapshot.debian.org/archive/debian/20140216T040447Z/pool/main/n/nxlog-ce/nxlog-ce_2.7.1191-1.dsc | [...] | $ bash -c 'trap "" SIGPIPE; dpkg-source -x nxlog-ce_2.7.1191-1.dsc' | dpkg-source: info: extracting nxlog-ce in nxlog-ce-2.7.1191 | dpkg-source: info: unpacking nxlog-ce_2.7.1191.orig.tar.gz | | gzip: stdout: Broken pipe | dpkg-source: error: gunzip gave error exit status 1 +--- Ansgar -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dpkg-dev depends on: ii base-files 7.5 ii binutils 2.24.51.20140709-1 ii bzip2 1.0.6-5 ii libdpkg-perl 1.17.10 ii make 4.0-8 ii patch 2.7.1-5 ii xz-utils 5.1.1alpha+20120614-2 Versions of packages dpkg-dev recommends: ii build-essential 11.6 ii clang-3.5 [c-compiler] 1:3.5~+rc1-1 ii fakeroot 1.20.1-1 ii gcc [c-compiler] 4:4.9.1-1 ii gcc-4.8 [c-compiler] 4.8.3-5 ii gcc-4.9 [c-compiler] 4.9.1-1 ii gnupg 1.4.18-2 ii gnupg2 2.0.25-1 ii gpgv 1.4.18-2 ii libalgorithm-merge-perl 0.08-2 Versions of packages dpkg-dev suggests: ii debian-keyring 2014.04.25 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org