Package: apr Version: 1.6.3-1 Building apr in a sid chroot as non-root with: dpkg-buildpackage --no-sign --build=binary
leads to: dpkg-buildpackage: info: source package apr dpkg-buildpackage: info: source version 1.6.3-1+9.3 dpkg-buildpackage: info: source distribution stable dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build apr-1.6.3-1 fakeroot debian/rules clean dh clean -Bdebian/build --parallel --with autotools_dev dh: The autotools-dev sequence is deprecated and replaced by dh in debhelper (>= 9.20160115) dh: This feature will be removed in compat 12. dh_testdir -O-Bdebian/build -O--parallel debian/rules override_dh_auto_clean make[1]: Entering directory '/home/actionmystique/src/Apr/apr-1.6.3-1' dh_auto_clean rm -rf debian/build for f in configure build/libtool.m4 build/ltmain.sh ; do [ ! -e $f.dr-orig ] || mv $f.dr-orig $f ; done make[1]: Leaving directory '/home/actionmystique/src/Apr/apr-1.6.3-1' dh_autotools-dev_restoreconfig -O-Bdebian/build -O--parallel dh_autotools-dev_restoreconfig: dh_autotools-dev_restoreconfig is deprecated; please see dh_autotools-dev_restoreconfig(1) for a replacement dh_autotools-dev_restoreconfig: This feature will be removed in compat 12. dh_clean -O-Bdebian/build -O--parallel debian/rules build make: Nothing to be done for 'build'. fakeroot debian/rules binary dh binary -Bdebian/build --parallel --with autotools_dev dh: The autotools-dev sequence is deprecated and replaced by dh in debhelper (>= 9.20160115) dh: This feature will be removed in compat 12. debian/rules build make[1]: Entering directory '/home/actionmystique/src/Apr/apr-1.6.3-1' make[1]: Nothing to be done for 'build'. make[1]: Leaving directory '/home/actionmystique/src/Apr/apr-1.6.3-1' dh_testroot -O-Bdebian/build -O--parallel dh_prep -O-Bdebian/build -O--parallel dh_installdirs -O-Bdebian/build -O--parallel debian/rules override_dh_auto_install make[1]: Entering directory '/home/actionmystique/src/Apr/apr-1.6.3-1' dh_auto_install --destdir=debian/tmp perl -p -i -e "s,^dependency_libs=.*,dependency_libs=''," debian/tmp/usr/lib/x86_64-linux-gnu/libapr-1.la Can't open debian/tmp/usr/lib/x86_64-linux-gnu/libapr-1.la: No such file or directory. # Remove hostname to make build reproducible perl -p -i -e 's/Libtool was configured on host.*//' debian/tmp/usr/share/apr-1.0/build/libtool Can't open debian/tmp/usr/share/apr-1.0/build/libtool: No such file or directory. if ! head -n 1 debian/tmp/usr/share/apr-1.0/build/libtool | grep -q /bin/bash ; then \ echo ERROR: The built libtool uses /bin/sh instead of /bin/bash ; \ exit 1 ; \ fi head: cannot open 'debian/tmp/usr/share/apr-1.0/build/libtool' for reading: No such file or directory ERROR: The built libtool uses /bin/sh instead of /bin/bash debian/rules:139: recipe for target 'override_dh_auto_install' failed make[1]: *** [override_dh_auto_install] Error 1 make[1]: Leaving directory '/home/actionmystique/src/Apr/apr-1.6.3-1' debian/rules:18: recipe for target 'binary' failed make: *** [binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 -- Jean-Christophe Manciot