Source: linuxdoc-tools
Version: 0.9.83-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> ------------------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package linuxdoc-tools
> dpkg-buildpackage: info: source version 0.9.83-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Agustin Martin Domingo 
> <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh_testdir
> dh_testroot
> rm -f build-stamp
> rm -f debian/linuxdoc-tools-{text,latex,info}.copyright
> rm -f debian/linuxdoc-tools.copyright
> rm -f linuxdoc.new LinuxDocTools.pm.new doc/linuxdoc-sgml.info
> [ ! -f Makefile ] || /usr/bin/make distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f *~ bin/*~ bin/linuxdoc
> for d in sgmls-1.1 entity-map iso-entities rtf-fix; do /usr/bin/make -C $d 
> clean; done
> make[2]: Entering directory '/<<PKGBUILDDIR>>/sgmls-1.1'
> rm -f *.o sgmls sgmlsasp rast core a.out
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/sgmls-1.1'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/entity-map'
> /usr/bin/make -C sdata clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/entity-map/sdata'
> rm -f ISOlat1.2u8b ISOnum.2u8b ISOpub.2u8b ISOtech.2u8b 
> "ISOlat1.2u8s->ISOlat1.2u8b" "ISOlat1.2u8tr->ISOlat1.2u8b" 
> "ISOdia.2u8b->ISOdia.2ab" "GFextra.2u8b->GFextra.2ab"
> rm -f *~
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/entity-map/sdata'
> rm -f make-dist MANIFEST.bak
> rm -f Text
> rm -f EntityMap.pm
> rm -f *~
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/entity-map'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/iso-entities'
> rm -f make-dist MANIFEST.bak
> rm -f *~
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/iso-entities'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/rtf-fix'
> rm -f rtf2rtf.c rtf2rtf core
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/rtf-fix'
> (cd sgmlpre ; rm -f sgmlpre.o sgmlpre.c sgmlpre)
> rm -rf genman/
> for d in entity-map iso-entities; do /usr/bin/make -C $d distclean; done
> make[2]: Entering directory '/<<PKGBUILDDIR>>/entity-map'
> /usr/bin/make -C sdata clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/entity-map/sdata'
> rm -f ISOlat1.2u8b ISOnum.2u8b ISOpub.2u8b ISOtech.2u8b 
> "ISOlat1.2u8s->ISOlat1.2u8b" "ISOlat1.2u8tr->ISOlat1.2u8b" 
> "ISOdia.2u8b->ISOdia.2ab" "GFextra.2u8b->GFextra.2ab"
> rm -f *~
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/entity-map/sdata'
> rm -f make-dist MANIFEST.bak
> rm -f Text
> rm -f EntityMap.pm
> rm -f *~
> rm -f config.cache config.log config.status
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/entity-map'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/iso-entities'
> rm -f make-dist MANIFEST.bak
> rm -f *~
> rm -f config.cache config.log config.status
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/iso-entities'
> rm -f Makefile config.cache config.log config.status \
>       entity-map/Makefile iso-entities/Makefile \
>       sgmls-1.1/config.h \
>       sp/Makefile sp/Makefile.lib sp/config.log sp/config.status \
>       sp/*/Makefile.dep \
>       doc/guide.txt doc/guide.tex doc/guide.dvi doc/guide.ps doc/guide.ps.gz \
>       doc/guide.info doc/guide.lyx doc/html/guide*.html \
>       
> rm -rf        doc/rtf
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_clean
>  dpkg-source -b .
> dpkg-source: warning: upstream tarball signatures but no upstream signing key
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building linuxdoc-tools using existing 
> ./linuxdoc-tools_0.9.83.orig.tar.gz
> dpkg-source: info: building linuxdoc-tools using existing 
> ./linuxdoc-tools_0.9.83.orig.tar.gz.asc
> dpkg-source: error: cannot represent change to doc/guide.pdf: binary file 
> contents changed
> dpkg-source: error: add doc/guide.pdf in debian/source/include-binaries if 
> you want to store the modified binary in the debian tarball
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/linuxdoc-tools_0.9.83-1_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to