Source: maint-guide
Version: 1.2.53
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: [email protected]
Usertags: qa-doublebuild

Hi,

This package fails to do build a binary-only build (not source) after a
successful build (dpkg-buildpackage ; dpkg-buildpackage -b).

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/DoubleBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -b
> ------------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package maint-guide
> dpkg-buildpackage: info: source version 1.2.53
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Osamu Aoki <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  fakeroot debian/rules clean
> dh clean 
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f debian/control-old
> rm -f debian/*.install
> rm -f debian/*.doc-base
> rm -f debian/*.lintian-overrides
> /usr/bin/make "LANGPO=ca de es fr it ja ru vi zh-cn zh-tw"  clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f maint-guide.*.xml
> rm -f *.swp *~ *.tmp
> rm -f po/*~ po/*.mo po/*.po.*
> rm -rf /<<PKGBUILDDIR>>/tmp
> rm -f version.ent
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  debian/rules build
> dh build 
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
>    debian/rules override_dh_auto_build
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cd debian ;\
> ./language "en" < template/install > maint-guide.install ;\
> ./language "en" < template/doc-base > maint-guide.doc-base ;\
> ./language "en" < template/lintian-overrides > maint-guide.lintian-overrides 
> ;\
> for x in ca de es fr it ja ru vi zh-cn zh-tw; do \
>       ./language $x < template/install > maint-guide-$x.install; \
>       ./language $x < template/doc-base > maint-guide-$x.doc-base; \
>       ./language $x < template/lintian-overrides > 
> maint-guide-$x.lintian-overrides; \
> done
> dh_auto_build  -- \
>       "MANUAL=maint-guide" \
>       "VERSION=1.2.53" \
>       "LANGPO=ca de es fr it ja ru vi zh-cn zh-tw" \
>       "LANGNOPDF=" \
>       all
>       make -j8 "INSTALL=install --strip-program=true" MANUAL=maint-guide 
> VERSION=1.2.53 "LANGPO=ca de es fr it ja ru vi zh-cn zh-tw" LANGNOPDF= all
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf /<<PKGBUILDDIR>>/tmp/images
> : > maint-guide.en.xml
> mkdir -p /<<PKGBUILDDIR>>/tmp/images
> for i in doc/00_bookstart.xml doc/01_start.xml doc/02_overview.xml 
> doc/03_modify.xml doc/04_dreq.xml doc/05_dother.xml doc/06_build.xml 
> doc/07_check.xml doc/08_update.xml doc/09_upload.xml doc/10_appendix.xml 
> doc/99_bookend.xml ; do cat $i >> maint-guide.en.xml ; done
> cp -f xslt/debian.css /<<PKGBUILDDIR>>/tmp/debian.css
> echo "<!ENTITY docisodate \"2022-10-08 03:52:48 UTC\">" > version.ent
> echo "<!ENTITY docversion \"1.2.53\">" >> version.ent
> echo "AddCharset UTF-8 .txt" > /<<PKGBUILDDIR>>/tmp/.htaccess
> cd png ; cp caution.png home.png important.png next.png note.png prev.png 
> tip.png warning.png /<<PKGBUILDDIR>>/tmp/images
> mkdir -p /<<PKGBUILDDIR>>/tmp
> xsltproc --novalid --nonet --xinclude   --stringparam base.dir 
> /<<PKGBUILDDIR>>/tmp/ \
>                 --stringparam html.ext .ca.html \
>                 xslt/style-html.xsl maint-guide.ca.xml
> mkdir -p /<<PKGBUILDDIR>>/tmp
> mkdir -p /<<PKGBUILDDIR>>/tmp
> mkdir -p /<<PKGBUILDDIR>>/tmp
> mkdir -p /<<PKGBUILDDIR>>/tmp
> xsltproc --novalid --nonet --xinclude   --stringparam base.dir 
> /<<PKGBUILDDIR>>/tmp/ \
>                 --stringparam html.ext .de.html \
>                 xslt/style-html.xsl maint-guide.de.xml
> xsltproc --novalid --nonet --xinclude   --stringparam base.dir 
> /<<PKGBUILDDIR>>/tmp/ \
>                 --stringparam html.ext .es.html \
>                 xslt/style-html.xsl maint-guide.es.xml
> xsltproc --novalid --nonet --xinclude   --stringparam base.dir 
> /<<PKGBUILDDIR>>/tmp/ \
>                 --stringparam html.ext .fr.html \
>                 xslt/style-html.xsl maint-guide.fr.xml
> xsltproc --novalid --nonet --xinclude   --stringparam base.dir 
> /<<PKGBUILDDIR>>/tmp/ \
>                 --stringparam html.ext .it.html \
>                 xslt/style-html.xsl maint-guide.it.xml
> mkdir -p /<<PKGBUILDDIR>>/tmp
> xsltproc --novalid --nonet --xinclude   --stringparam base.dir 
> /<<PKGBUILDDIR>>/tmp/ \
>                 --stringparam html.ext .ja.html \
>                 xslt/style-html.xsl maint-guide.ja.xml
> mkdir -p /<<PKGBUILDDIR>>/tmp
> mkdir -p /<<PKGBUILDDIR>>/tmp
> xsltproc --novalid --nonet --xinclude   --stringparam base.dir 
> /<<PKGBUILDDIR>>/tmp/ \
>                 --stringparam html.ext .vi.html \
>                 xslt/style-html.xsl maint-guide.vi.xml
> xsltproc --novalid --nonet --xinclude   --stringparam base.dir 
> /<<PKGBUILDDIR>>/tmp/ \
>                 --stringparam html.ext .ru.html \
>                 xslt/style-html.xsl maint-guide.ru.xml
> warning: failed to load external entity "maint-guide.ca.xml"
> unable to parse maint-guide.ca.xml
> warning: failed to load external entity "maint-guide.de.xml"
> unable to parse maint-guide.de.xml
> make[2]: *** [Makefile:202: /<<PKGBUILDDIR>>/tmp/index.ca.html] Error 6
> make[2]: *** Waiting for unfinished jobs....
> warning: failed to load external entity "maint-guide.es.xml"
> unable to parse maint-guide.es.xml
> warning: failed to load external entity "maint-guide.it.xml"
> unable to parse maint-guide.it.xml
> warning: failed to load external entity "maint-guide.fr.xml"
> unable to parse maint-guide.fr.xml
> make[2]: *** [Makefile:202: /<<PKGBUILDDIR>>/tmp/index.it.html] Error 6
> make[2]: *** [Makefile:202: /<<PKGBUILDDIR>>/tmp/index.de.html] Error 6
> warning: failed to load external entity "maint-guide.ja.xml"
> unable to parse maint-guide.ja.xml
> make[2]: *** [Makefile:202: /<<PKGBUILDDIR>>/tmp/index.es.html] Error 6
> warning: failed to load external entity "maint-guide.vi.xml"
> unable to parse maint-guide.vi.xml
> make[2]: *** [Makefile:202: /<<PKGBUILDDIR>>/tmp/index.fr.html] Error 6
> warning: failed to load external entity "maint-guide.ru.xml"
> unable to parse maint-guide.ru.xml
> make[2]: *** [Makefile:202: /<<PKGBUILDDIR>>/tmp/index.vi.html] Error 6
> make[2]: *** [Makefile:202: /<<PKGBUILDDIR>>/tmp/index.ja.html] Error 6
> make[2]: *** [Makefile:202: /<<PKGBUILDDIR>>/tmp/index.ru.html] Error 6
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" 
> MANUAL=maint-guide VERSION=1.2.53 "LANGPO=ca de es fr it ja ru vi zh-cn 
> zh-tw" LANGNOPDF= all returned exit code 2
> make[1]: *** [debian/rules:39: override_dh_auto_build] Error 25
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:35: build] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -b' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/16/maint-guide_1.2.53_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