Hi!

On Wed, 2014-07-30 at 19:00:56 +0200, Ansgar Burchardt wrote:
> Package: dpkg-dev
> Version: 1.17.10
> Severity: normal

> 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
> +---

Ah, nice catch. Thanks for the analysis, I'm fixing this for 1.17.11.

Regards,
Guillem


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to