Package: src:sudo
Version: 1.8.23-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
cp -f /usr/share/misc/config.sub config.sub
cp -f /usr/share/misc/config.guess config.guess
autoconf -I m4
touch reconf-stamp
dh_testdir
cp -f /usr/share/misc/config.sub config.sub
cp -f /usr/share/misc/config.guess config.guess
# simple version
NROFFPROG=/usr/bin/nroff CFLAGS="`dpkg-buildflags --get CFLAGS` -Wall 
-Wno-comment" \
    CPPFLAGS="`dpkg-buildflags --get CPPFLAGS`" LDFLAGS="`dpkg-buildflags --get 
LDFLAGS`" \
    dh_auto_configure --builddirectory=build-simple -- \
        -v \
        --with-all-insults \

[... snipped ...]

mv debian/sudo-ldap/etc/sudoers.dist \
        debian/sudo-ldap/usr/share/doc/sudo-ldap/examples/sudoers.dist
# /run/sudo directory is created at boot time and shouldn't be in the
# package
rm -rf debian/sudo*/run
# move upstream-installed docs to the right place for ldap package
mv      debian/sudo-ldap/usr/share/doc/sudo/* \
        debian/sudo-ldap/usr/share/doc/sudo-ldap/
rmdir   debian/sudo-ldap/usr/share/doc/sudo
# and install things we do want that make install doesn't know about
install -o root -g root -m 0644 debian/sudo.pam \
        debian/sudo/etc/pam.d/sudo
install -o root -g root -m 0644 debian/sudo.pam \
        debian/sudo-ldap/etc/pam.d/sudo
install -o root -g root -m 0644 debian/sudo.lintian \
        debian/sudo/usr/share/lintian/overrides/sudo
install -o root -g root -m 0644 debian/sudo-ldap.lintian \
        debian/sudo-ldap/usr/share/lintian/overrides/sudo-ldap
install -o root -g root -m 0440 debian/sudoers \
        debian/sudo/etc/sudoers
install -o root -g root -m 0440 debian/sudoers \
        debian/sudo-ldap/etc/sudoers
install -o root -g root -m 0440 debian/README \
        debian/sudo/etc/sudoers.d/README
install -o root -g root -m 0440 debian/README \
        debian/sudo-ldap/etc/sudoers.d/README
# we don't want the initscript to run, the creation of the rundir and
# the cleanup the stamp files is now done by tmpfiles when using
# systemd
ln -s /dev/null debian/sudo/lib/systemd/system/sudo.service
ln -s /dev/null debian/sudo-ldap/lib/systemd/system/sudo.service
dh_testdir
dh_testroot
dh_installdocs -A
        install -d debian/.debhelper/generated/sudo
        cp --reflink=auto -a ./debian/OPTIONS debian/sudo/usr/share/doc/sudo
        cp --reflink=auto -a ./doc/UPGRADE debian/sudo/usr/share/doc/sudo
        cp --reflink=auto -a ./doc/HISTORY debian/sudo/usr/share/doc/sudo
        cp --reflink=auto -a ./doc/TROUBLESHOOTING 
debian/sudo/usr/share/doc/sudo
        cp --reflink=auto -a ./README debian/sudo/usr/share/doc/sudo
        chown -R 0:0 debian/sudo/usr/share/doc
        chmod -R u\+rw,go=rX debian/sudo/usr/share/doc
dh_installdocs: Cannot find (any matches for) "plugins/sudoers/sudoers2ldif" 
(tried in .)

        install -p -m0644 debian/README.Debian 
debian/sudo/usr/share/doc/sudo/README.Debian
        install -p -m0644 debian/copyright 
debian/sudo/usr/share/doc/sudo/copyright
debian/rules:162: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned 
exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/sudo.html

[ Note: There has been a recent change in debhelper behaviour, the current
  behaviour is the intended one. See Bug #903133 for details ].

Thanks.

Reply via email to