Bug#920448: lighttpd: FTBFS when built with dpkg-buildpackage -A
Package: src:lighttpd
Version: 1.4.52-4
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in sid but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with autoreconf,systemd
dh_update_autotools_config -i
dh_autoreconf -i
find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a -type f -exec md5sum {} + -o -type l -printf "symlink %p
" > debian/autoreconf.before
grep -q ^XDT_ configure.ac
autoreconf -f -i
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
[... snipped ...]
dh_installdocs: No packages to build. Architecture mismatch: amd64, want: all any
dh_installdocs -Nlighttpd-modules-ldap -Nlighttpd-modules-mysql -Nlighttpd-mod-authn-pam -Nlighttpd-mod-authn-sasl -Nlighttpd-mod-vhostdb-dbi -Nlighttpd-mod-vhostdb-pgsql
install -d debian/lighttpd-doc/usr/share/doc/lighttpd-doc
cp --reflink=auto -a ./README debian/lighttpd-doc/usr/share/doc/lighttpd-doc
cp --reflink=auto -a ./debian/tmp/changelog debian/lighttpd-doc/usr/share/doc/lighttpd-doc
chown -R 0:0 debian/lighttpd-doc/usr/share/doc
chmod -R u\+rw,go=rX debian/lighttpd-doc/usr/share/doc
install -p -m0644 debian/copyright debian/lighttpd-doc/usr/share/doc/lighttpd-doc/copyright
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_installchangelogs -i
install -p -m0644 debian/changelog debian/lighttpd-doc/usr/share/doc/lighttpd-doc/changelog.Debian
install -p -m0644 debian/NEWS debian/lighttpd-doc/usr/share/doc/lighttpd-doc/NEWS.Debian
chmod 0644 -- debian/lighttpd-doc/usr/share/doc/lighttpd-doc/changelog
chown 0:0 -- debian/lighttpd-doc/usr/share/doc/lighttpd-doc/changelog
dh_installman -i
debian/rules override_dh_installinit
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installinit --error-handler=start_failed
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_perl -i
dh_link -i
dh_strip_nondeterminism -i
dh_compress -i
cd debian/lighttpd-doc
chmod a-x usr/share/doc/lighttpd-doc/NEWS.Debian usr/share/doc/lighttpd-doc/changelog usr/share/doc/lighttpd-doc/changelog.Debian usr/share/doc/lighttpd/authentication.txt usr/share/doc/lighttpd/cml.txt usr/share/doc/lighttpd/compress.txt usr/share/doc/lighttpd/configuration.txt usr/share/doc/lighttpd/fastcgi.txt usr/share/doc/lighttpd/magnet.txt usr/share/doc/lighttpd/performance.txt usr/share/doc/lighttpd/plugins.txt usr/share/doc/lighttpd/state.txt
gzip -9nf usr/share/doc/lighttpd-doc/NEWS.Debian usr/share/doc/lighttpd-doc/changelog usr/share/doc/lighttpd-doc/changelog.Debian usr/share/doc/lighttpd/authentication.txt usr/share/doc/lighttpd/cml.txt usr/share/doc/lighttpd/compress.txt usr/share/doc/lighttpd/configuration.txt usr/share/doc/lighttpd/fastcgi.txt usr/share/doc/lighttpd/magnet.txt usr/share/doc/lighttpd/performance.txt usr/share/doc/lighttpd/plugins.txt usr/share/doc/lighttpd/state.txt
cd '/<<PKGBUILDDIR>>'
debian/rules override_dh_fixperms
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_fixperms
find debian/lighttpd-doc -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
find debian/lighttpd-doc ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/lighttpd-doc/usr/share/doc -type f -a -true -a ! -regex 'debian/lighttpd-doc/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
find debian/lighttpd-doc/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
find debian/lighttpd-doc -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
test -d debian/lighttpd && \
chmod 0750 debian/lighttpd/var/log/lighttpd && \
chown www-data:www-data \
debian/lighttpd/var/cache/lighttpd/compress \
debian/lighttpd/var/cache/lighttpd/uploads \
debian/lighttpd/var/log/lighttpd
make[1]: *** [debian/rules:64: override_dh_fixperms] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:
https://buildd.debian.org/status/fetch.php?pkg=lighttpd&arch=all&ver=1.4.52-4&stamp=1548380827&raw=0
(The usual recipe here is to split override_dh_fixperms into override_dh_fixperms-arch
and override_dh_fixperms-indep. Maybe you can also drop the "test -d" part that way).
(Cc: to Helmut Grohne who did the last upload. Apologies if this is a duplicate)
Thanks.
Reply to: