Bug#1049716: debian-edu-doc: Fails to build binary packages again after successful build
Source: debian-edu-doc
Version: 2.12.17
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: debian-qa@lists.debian.org
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 debian-edu-doc
> dpkg-buildpackage: info: source version 2.12.17
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Holger Levsen <holger@debian.org>
> dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
> debian/rules clean
> dh clean
> dh_auto_clean
> make -j8 clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make -C /<<PKGBUILDDIR>>/documentation/debian-edu-bookworm clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/documentation/debian-edu-bookworm'
> rm -f *.pdf
> rm -f *.html
> rm -f debian-edu-bookworm-manual.*.xml
> rm -f *.epub
> rm -f *.pdf
> rm -f *.po~
> rm -rf images-tmp
> rm -f .collapsed.debian-edu-bookworm-manual.*.xml
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/documentation/debian-edu-bookworm'
> make -C /<<PKGBUILDDIR>>/documentation/debian-edu-bullseye clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/documentation/debian-edu-bullseye'
> rm -f *.pdf
> rm -f *.html
> rm -f debian-edu-bullseye-manual.*.xml
> rm -f *.epub
> rm -f *.pdf
> rm -f *.po~
> rm -rf images-tmp
> rm -f .collapsed.debian-edu-bullseye-manual.*.xml
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/documentation/debian-edu-bullseye'
> make -C /<<PKGBUILDDIR>>/documentation/rosegarden clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/documentation/rosegarden'
> rm -f *.pdf
> rm -f *.html
> rm -f rosegarden-manual.*.xml
> rm -f *.epub
> rm -f *.pdf
> rm -f *.po~
> rm -rf images-tmp
> rm -f .collapsed.rosegarden-manual.*.xml
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/documentation/rosegarden'
> make -C /<<PKGBUILDDIR>>/documentation/audacity clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/documentation/audacity'
> rm -f *.pdf
> rm -f *.html
> rm -f audacity-manual.*.xml
> rm -f *.epub
> rm -f *.pdf
> rm -f *.po~
> rm -rf images-tmp
> rm -f .collapsed.audacity-manual.*.xml
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/documentation/audacity'
> make -C /<<PKGBUILDDIR>>/documentation/debian-edu-itil clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/documentation/debian-edu-itil'
> rm -f *.pdf
> rm -f *.html
> rm -f debian-edu-itil-manual.*.xml
> rm -f *.epub
> rm -f *.pdf
> rm -f *.po~
> rm -rf images-tmp
> rm -f .collapsed.debian-edu-itil-manual.*.xml
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/documentation/debian-edu-itil'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_clean
> debian/rules binary
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure
> dh_auto_test
> create-stamp debian/debhelper-build-stamp
> dh_prep
> debian/rules override_dh_install
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/make install DESTDIR="/<<PKGBUILDDIR>>/debian"
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/make -C /<<PKGBUILDDIR>>/documentation/debian-edu-bookworm install
> make[3]: Entering directory '/<<PKGBUILDDIR>>/documentation/debian-edu-bookworm'
> # create localized XML files
> po4a --msgmerge-opt --no-location po4a.cfg
> No candidate position for the addendum /<<PKGBUILDDIR>>/documentation/debian-edu-bookworm/debian-edu-bookworm-manual.da.add.
> Addendum ./debian-edu-bookworm-manual.da.add does NOT apply to debian-edu-bookworm-manual.da.xml (translation discarded).
> make[3]: *** [../common/Makefile.common:67: build-xml] Error 255
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/documentation/debian-edu-bookworm'
> make[2]: *** [Makefile:23: install] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [debian/rules:18: override_dh_install] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:11: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary 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/debian-edu-doc_2.12.17_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 to: