Package: devscripts Version: 2.16.9 File: /usr/bin/debuild Dear Maintainer,
since the recent slimming of debuild, DEBUILD_LINTIAN_HOOK no more works for me. I've set DEBUILD_LINTIAN_HOOK="if [ -d %p-%u ]; then cd %p-%u; duck; elif [ -d %p ]; then cd %p; duck; else exit 1; fi; true" This now leads to error messages like this one: dpkg-buildpackage: error: if [ -d aiccu-20070115 ]; then cd aiccu-20070115; duck; elif [ -d aiccu ]; then cd aiccu; duck; else exit 1; fi; true gave error exit status 1 This happens despite the directory is named "aiccu". I suspect that while classic debuild passed the string in $DEBUILD_LINTIAN_HOOK to "sh -c" to interpret shell meta characters, the slimmed debuild (or dpkg-buildpackage's --hook-check) no more does. -- Package-specific info:
--- /etc/devscripts.conf --- --- ~/.devscripts --- DEBUILD_DPKG_BUILDPACKAGE_OPTS="-k6BE663C75A35C975 -i -j16" DSCVERIFY_KEYRINGS=/home/abe/.gnupg/pubring.gpg DEBUILD_LINTIAN_OPTS="-iIE --pedantic" DEBCHANGE_MULTIMAINT_MERGE=yes DEBUILD_LINTIAN_HOOK="if [ -d %p-%u ]; then cd %p-%u; duck; elif [ -d %p ]; then cd %p; duck; else exit 1; fi; true"
-- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-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 Init: sysvinit (via /sbin/init) Versions of packages devscripts depends on: ii dpkg-dev 1.18.15 ii libc6 2.24-6 ii perl 5.24.1~rc3-3 pn python3:any <none> Versions of packages devscripts recommends: ii apt 1.3.1 ii at 3.1.20-1 ii curl 7.51.0-1 ii dctrl-tools 2.24-2 ii debian-keyring 2016.09.04 ii dput-ng [dput] 1.10 ii equivs 2.0.9+nmu1 ii fakeroot 1.21-2 ii file 1:5.29-1 ii gnupg 2.1.16-2 ii gnupg2 2.1.16-2 ii libdistro-info-perl 0.14 ii libencode-locale-perl 1.05-1 ii liblwp-protocol-https-perl 6.06-2 ii libsoap-lite-perl 1.20-1 ii liburi-perl 1.71-1 ii libwww-perl 6.15-1 ii licensecheck 3.0.24-1 ii lintian 2.5.49 ii man-db 2.7.5-2 ii patch 2.7.5-1 ii patchutils 0.3.4-2 ii python3-debian 0.1.29 ii python3-magic 1:5.29-1 ii sensible-utils 0.0.9 ii strace 4.13-0.1 ii unzip 6.0-20 ii wdiff 1.2.2-1+b1 ii wget 1.18-4 ii xz-utils 5.2.2-1.2 Versions of packages devscripts suggests: ii adequate 0.15.1 ii autopkgtest 4.2.1 ii bls-standalone 0.20151231 ii bsd-mailx [mailx] 8.1.2-0.20160123cvs-3 ii build-essential 12.2 ii check-all-the-things 2016.09.03 pn cvs-buildpackage <none> ii devscripts-el 36.3 ii diffoscope 62 ii disorderfs 0.5.1-1 pn dose-extra <none> ii duck 0.10 ii faketime 0.9.6-7 ii gnuplot 5.0.5+dfsg1-4 ii gpgv 2.1.16-2 ii how-can-i-help 14 ii libauthen-sasl-perl 2.1600-1 ii libfile-desktopentry-perl 0.22-1 ii libnet-smtps-perl 0.04-1 ii libterm-size-perl 0.207-1+b4 ii libtimedate-perl 2.3000-2 ii libyaml-syck-perl 1.29-1+b2 ii mozilla-devscripts 0.47 ii mutt 1.7.1-3 ii openssh-client [ssh-client] 1:7.3p1-3+b1 ii piuparts 0.72 pn ratt <none> ii reprotest 0.3.2 ii s-nail [mailx] 14.8.14-1 ii svn-buildpackage 0.8.6 ii w3m 0.5.3-33 -- no debconf information