Bug#1047246: libticalcs: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:20:55 BST 2023


Source: libticalcs
Version: 1.1.10~git20221211.4646a7b+dfsg-2
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at lists.debian.org
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 libticalcs
> dpkg-buildpackage: info: source version 1.1.10~git20221211.4646a7b+dfsg-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Andreas B. Mundt <andi at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in build/mingw
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build/mingw'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/mingw'
> Making distclean in po
> make[2]: Entering directory '/<<PKGBUILDDIR>>/po'
> rm -f *.insert-header
> rm -f remove-potcdate.sed
> rm -f stamp-poT
> rm -f core core.* libticalcs2.po libticalcs2.1po libticalcs2.2po *.new.po
> rm -fr *.o
> rm -f Makefile Makefile.in POTFILES *.mo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/po'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> Making distclean in tf2hex
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/tf2hex'
> test -z "tf2hex" || rm -f tf2hex
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/tf2hex'
> Making distclean in romdump_8x
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/romdump_8x'
> test -z "*.bin *.lst *.73p *.82y *.83p *.8xp *.85s *.86p" || rm -f *.bin *.lst *.73p *.82y *.83p *.8xp *.85s *.86p
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/romdump_8x'
> Making distclean in romdump_84p_usb
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/romdump_84p_usb'
> test -z "*.bin *.lst *.8xp" || rm -f *.bin *.lst *.8xp
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/romdump_84p_usb'
> Making distclean in romdump_834pce_usb
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/romdump_834pce_usb'
> test -z "*.bin *.lst *.8xp" || rm -f *.bin *.lst *.8xp
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/romdump_834pce_usb'
> Making distclean in romdump_9x
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/romdump_9x'
> test -z "*.89z *.9xz *.v2z *.92p" || rm -f *.89z *.9xz *.v2z *.92p
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/romdump_9x'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "libticalcs2.la" || rm -f libticalcs2.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./so_locations
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> rm -f ./.deps/libticalcs2_la-backup.Plo
> rm -f ./.deps/libticalcs2_la-calc_00.Plo
> rm -f ./.deps/libticalcs2_la-calc_73.Plo
> rm -f ./.deps/libticalcs2_la-calc_84p.Plo
> rm -f ./.deps/libticalcs2_la-calc_89t.Plo
> rm -f ./.deps/libticalcs2_la-calc_8x.Plo
> rm -f ./.deps/libticalcs2_la-calc_9x.Plo
> rm -f ./.deps/libticalcs2_la-calc_nsp.Plo
> rm -f ./.deps/libticalcs2_la-calc_xx.Plo
> rm -f ./.deps/libticalcs2_la-clock.Plo
> rm -f ./.deps/libticalcs2_la-cmd68k.Plo
> rm -f ./.deps/libticalcs2_la-cmdz80.Plo
> rm -f ./.deps/libticalcs2_la-dbus_pkt.Plo
> rm -f ./.deps/libticalcs2_la-dirlist.Plo
> rm -f ./.deps/libticalcs2_la-dusb_cmd.Plo
> rm -f ./.deps/libticalcs2_la-dusb_rpkt.Plo
> rm -f ./.deps/libticalcs2_la-dusb_vpkt.Plo
> rm -f ./.deps/libticalcs2_la-error.Plo
> rm -f ./.deps/libticalcs2_la-keys73.Plo
> rm -f ./.deps/libticalcs2_la-keys83.Plo
> rm -f ./.deps/libticalcs2_la-keys83p.Plo
> rm -f ./.deps/libticalcs2_la-keys86.Plo
> rm -f ./.deps/libticalcs2_la-keys89.Plo
> rm -f ./.deps/libticalcs2_la-keys92p.Plo
> rm -f ./.deps/libticalcs2_la-nsp_cmd.Plo
> rm -f ./.deps/libticalcs2_la-nsp_rpkt.Plo
> rm -f ./.deps/libticalcs2_la-nsp_vpkt.Plo
> rm -f ./.deps/libticalcs2_la-probe.Plo
> rm -f ./.deps/libticalcs2_la-romdump.Plo
> rm -f ./.deps/libticalcs2_la-screen.Plo
> rm -f ./.deps/libticalcs2_la-ticalcs.Plo
> rm -f ./.deps/libticalcs2_la-tikeys.Plo
> rm -f ./.deps/libticalcs2_la-type2str.Plo
> rm -f ./.deps/libticalcs2_la-update.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in tests
> make[2]: Entering directory '/<<PKGBUILDDIR>>/tests'
> rm -rf .libs _libs
> rm -f *.o
> test -z "torture_ticalcs.log" || rm -f torture_ticalcs.log
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
>  rm -f test_ticalcs_2 torture_ticalcs
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "torture_ticalcs.trs" || rm -f torture_ticalcs.trs
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f ./.deps/test_ticalcs_2.Po
> rm -f ./.deps/torture_ticalcs.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> Making distclean in docs
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "ticalcs2.pc" || rm -f ticalcs2.pc
> rm -f config.h stamp-h1
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    debian/rules override_dh_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_clean --exclude=build/mingw/ticalcs2.rc~
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building libticalcs using existing ./libticalcs_1.1.10~git20221211.4646a7b+dfsg.orig.tar.bz2
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to po/de.gmo: binary file contents changed
> dpkg-source: error: add po/de.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/fr.gmo: binary file contents changed
> dpkg-source: error: add po/fr.gmo 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/libticalcs_1.1.10~git20221211.4646a7b+dfsg-2_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.



More information about the debian-science-maintainers mailing list