[debhelper-devel] Bug#881175: src:debhelper: overrides are not run in parallel
Ximin Luo
infinity0 at debian.org
Wed Nov 8 14:14:15 UTC 2017
Package: src:debhelper
Version: 10.10.5
Severity: normal
Dear Maintainer,
override rules are not run in parallel:
$ cat debian/rules
#!/usr/bin/make -f
%:
dh $@ --parallel
override_dh_auto_configure: s1 s2 s3 s4
s1 s2 s3 s4:
sleep 4
.PHONY: s1 s2 s3 s4
$ debian/rules override_dh_auto_configure -j4
sleep 4
sleep 4
sleep 4
sleep 4
^Cdebian/rules:6: recipe for target 's3' failed
make: *** [s3] Interrupt
debian/rules:6: recipe for target 's2' failed
make: *** [s2] Interrupt
debian/rules:6: recipe for target 's1' failed
make: *** [s1] Interrupt
debian/rules:6: recipe for target 's4' failed
make: *** [s4] Interrupt
exit code 130
$ DEB_BUILD_OPTIONS=parallel=4 debian/rules build -j4
dh build --parallel
debian/rules override_dh_auto_configure
make[1]: Entering directory '$PWD'
sleep 4
^Cdebian/rules:6: recipe for target 's1' failed
make[1]: *** [s1] Interrupt
debian/rules:3: recipe for target 'build' failed
make: *** [build] Error 1
exit code 130
X
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (300, 'unstable'), (200, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the debhelper-devel
mailing list