[Pkg-zsh-devel] Bug#867614: zsh: endless loop when building under "apt-get source -b"

Sven Joachim svenjoac at gmx.de
Fri Jul 7 19:33:20 UTC 2017


Source: zsh
Version: 5.3.1-5
Severity: normal

Something strange is happening here.  When I try to build zsh with
"apt-get source -b zsh" in an xterm, during the tests zsh rapidly prints
the following messages over and over until it is killed:

,----
| (eval):4: write error: inappropriate ioctl for device
| (eval):print:4: write error: broken pipe
`----

These are the final messages after I killed the runaway zsh process:

,----
| (eval):4: write error: inappropriate ioctl for device
| (eval):print:4: write error: broken pipe
| Was testing: Bug regression: piping to anonymous function; piping to backround function
| ../../Test/A05execution.ztst: test failed.
| The following may (or may not) help identifying the cause:
|   This test checks for two different bugs, a parser segfault piping to an
|   anonymous function, and a descriptor leak when backgrounding a pipeline
| Makefile:187: recipe for target 'check' failed
| make[2]: *** [check] Interrupt
| Makefile:263: recipe for target 'test' failed
| make[1]: *** [test] Interrupt
| dh_auto_test: make -j2 test VERBOSE=1 died with signal 2
| debian/rules:52: recipe for target 'build-arch' failed
| make: *** [build-arch] Interrupt
| dpkg-buildpackage: error: debian/rules build died from signal 2
| E: Build command 'cd zsh-5.3.1 && dpkg-buildpackage -b -uc' failed.
`----

Note that this problem does _not_ manifest itself when running
dpkg-buildpackage -b directly instead of under apt-get's control.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.12.0-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-zsh-devel mailing list