Source: noweb
Version: 2.12-4
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 noweb
> dpkg-buildpackage: info: source version 2.12-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Mechtilde Stehmann 
> <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --sourcedirectory=src --with=tex
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
>       cd src && make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> for i in c shell lib xdoc icon awk tex; do make -C $i clean; done
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/c'
> rm -f nt markup mnt finduses fakepretty
> rm -f core *.makelog *.tex *.log *.blg *.dvi *.o *.toc *~ 
> rm -f *.atac *.trace *.html
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/c'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/shell'
> rm -f *.log *.blg *.dvi *.toc *.aux *.tex *~ *.nwt roff.mm
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/shell'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/lib'
> rm -f *.log *.blg *.dvi *.toc *.aux *.tex *~
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/lib'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/xdoc'
> /bin/rm -f *.dvi *.log *.blg *~ wc.tex *.ps *.gz *.uu *.html *.aux *.lot *.toc
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/xdoc'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/icon'
> /bin/rm -f *.tex *.dvi *.aux *.log *.blg *.bbl *~  *.toc *.html *.u1 *.u2 
> /bin/rm -f *.[ch] *.ps *.gz
> /bin/rm -f totex disambiguate noidx tohtml elide l2h docs2comments 
> autodefs.tex autodefs.icon autodefs.yacc autodefs.sml autodefs.pascal 
> autodefs.promela autodefs.lrtl autodefs.asdl autodefs.mmix xchunks pipedocs 
> noindex sl2h htmltoc autodefs.cee pdcached
> /bin/rm -f sl2h
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/icon'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/awk'
> rm -f *.log *.blg *.dvi *.toc *.aux *.tex *~ *.html
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/awk'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/tex'
> /bin/rm -f *~ *.dvi *.aux *.log *.blg *.bbl *.toc
> /bin/rm -f support.tex
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/tex'
> rm -f nwsrcfilter *~ */*~
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> if test -r patch-awk-stamp; then \
>   cd src && ./awkname nawk; \
> fi
> rm -f patch-awk-stamp
> rm -f contrib/norman/scopehack
> find . -name "*~" -name "core" -exec rm -f "{}" +
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean -O--sourcedirectory=src
>    dh_clean -O--sourcedirectory=src
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building noweb using existing ./noweb_2.12.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file src/tex/support.nw.orig, use 
> --include-removal to override
> dpkg-source: error: cannot represent change to src/c/nwmktemp: binary file 
> contents changed
> dpkg-source: error: add src/c/nwmktemp in debian/source/include-binaries if 
> you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'src/c/nwmktemp' will not be 
> represented in diff
> 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/noweb_2.12-4_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