Package: src:dot-forward
Version: 1:0.71-2.1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -B"
but it failed:

--------------------------------------------------------------------------------
[...]
 fakeroot debian/rules binary-arch
rm -rf '/<<PKGBUILDDIR>>/debian/dot-forward'
install -d -m0755 '/<<PKGBUILDDIR>>/debian/dot-forward'/var/lib/qmail/bin
chown 0:64010 '/<<PKGBUILDDIR>>/debian/dot-forward'/var/lib/qmail 
'/<<PKGBUILDDIR>>/debian/dot-forward'/var/lib/qmail/bin
test -r conf-qmail'{orig}' || cp conf-qmail conf-qmail'{orig}'
echo '/<<PKGBUILDDIR>>/debian/dot-forward'/var/lib/qmail >conf-qmail
rm -f auto_qmail.[co] install.o instcheck.o
/usr/bin/make install instcheck
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./compile install.c
install.c: In function 'h':
install.c:20:7: warning: implicit declaration of function 'mkdir' 
[-Wimplicit-function-declaration]
   if (mkdir(home,0700) == -1)
       ^~~~~

[... snipped ...]

error.a str.a 
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
./install
./instcheck
strip -R .comment -R .note 
'/<<PKGBUILDDIR>>/debian/dot-forward'/var/lib/qmail/bin/*
install -d -m0755 '/<<PKGBUILDDIR>>/debian/dot-forward'/usr/bin
# move and link binaries
for i in bin sbin; do \
  for j in `cat debian/$i`; do \
    mv -f '/<<PKGBUILDDIR>>/debian/dot-forward'/var/lib/qmail/bin/$j 
'/<<PKGBUILDDIR>>/debian/dot-forward'/usr/$i/$j && \
    ln -s /usr/$i/$j '/<<PKGBUILDDIR>>/debian/dot-forward'/var/lib/qmail/bin/$j 
|| exit 1; \
  done; \
done;
cat: debian/sbin: No such file or directory
# docs are in /usr/share/doc/dot-forward (implicit)
rm -rf '/<<PKGBUILDDIR>>/debian/dot-forward'/var/lib/qmail/doc
# man pages system-wide
rm -rf '/<<PKGBUILDDIR>>/debian/dot-forward'/var/lib/qmail/man
install -d -m0755 '/<<PKGBUILDDIR>>/debian/dot-forward'/usr/share/man/man1
install -m0644 dot-forward.1 \
  '/<<PKGBUILDDIR>>/debian/dot-forward'/usr/share/man/man1/dot-forward.1qmail
gzip -9n '/<<PKGBUILDDIR>>/debian/dot-forward'/usr/share/man/man1/*.1qmail
# changelog
rm -f changelog && ln -s CHANGES changelog
: implicit
: debian/dot-forward/usr/share/doc/dot-forward/
+ install -m0644 debian/copyright debian/dot-forward/usr/share/doc/dot-forward/
+ install -m0644 debian/changelog 
debian/dot-forward/usr/share/doc/dot-forward/changelog.Debian
+ install -m0644 changelog debian/dot-forward/usr/share/doc/dot-forward/
+ install -m0644 README debian/dot-forward/usr/share/doc/dot-forward/
+ install -m0644 TODO debian/dot-forward/usr/share/doc/dot-forward/
+ install -m0644 BLURB debian/dot-forward/usr/share/doc/dot-forward/
+ install -m0644 THANKS debian/dot-forward/usr/share/doc/dot-forward/
+ install -m0644 VERSION debian/dot-forward/usr/share/doc/dot-forward/
+ install -m0644 debian/dot-forward.README.Debian 
debian/dot-forward/usr/share/doc/dot-forward/README.Debian
: debian/dot-forward/usr/share/doc/dot-forward/examples/
: debian/dot-forward/usr/share/doc/dot-forward/ ok
: debian/dot-forward/DEBIAN/
: debian/dot-forward/DEBIAN/md5sums
: debian/dot-forward/DEBIAN/ ok
dpkg-shlibdeps '/<<PKGBUILDDIR>>/debian/dot-forward'/usr/bin/* 
'/<<PKGBUILDDIR>>/debian/dot-forward'/usr/sbin/*
dpkg-shlibdeps: error: cannot read 
/<<PKGBUILDDIR>>/debian/dot-forward/usr/sbin/*: No such file or directory
debian/rules:65: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit 
status 2
--------------------------------------------------------------------------------

It also fails here:

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

so this should be easy to reproduce.

Please also note this suspicious line in the build log:

cat: debian/sbin: No such file or directory

which indicates a possible violation of Policy 4.6 (error trapping in 
Makefiles).
i.e. maybe that's the place where debian/rules should really stop, and not a 
lot later.

(I'm using X-Debbugs-Cc to reach Chris Lamb, who made the last NMU).

Thanks.

Reply via email to