[Pkg-kde-extras] Bug#1044342: ctemplate: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 17:56:52 BST 2023


Source: ctemplate
Version: 2.4-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 ctemplate
> dpkg-buildpackage: info: source version 2.4-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Pino Toscano <pino at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "statemachine.c libctemplate.pc libctemplate_nothreads.pc" || rm -f statemachine.c libctemplate.pc libctemplate_nothreads.pc
> test -z "libctemplate.la libctemplate_nothreads.la" || rm -f libctemplate.la libctemplate_nothreads.la
> rm -rf .libs _libs
> test -z "libctemplate_debug.la libctemplate_nothreads_debug.la libctemplate_testing.la libctemplate_testing_nothreads.la" || rm -f libctemplate_debug.la libctemplate_nothreads_debug.la libctemplate_testing.la libctemplate_testing_nothreads.la
> rm -f *.o
>  rm -f make_tpl_varnames_h diff_tpl_auto_escape
>  rm -f compile_test compile_nothreads_test template_test_util_test template_test_util_nothreads_test template_dictionary_unittest template_dictionary_nothreads_unittest template_modifiers_unittest template_modifiers_nothreads_unittest template_setglobals_unittest template_setglobals_nothreads_unittest template_cache_test template_cache_nothreads_test template_unittest template_nothreads_unittest template_regtest template_nothreads_regtest htmlparser_test htmlparser_nothreads_test statemachine_test generate_fsm_c_test
> test -z "compile_test.log compile_nothreads_test.log template_test_util_test.log template_test_util_nothreads_test.log template_dictionary_unittest.log template_dictionary_nothreads_unittest.log template_modifiers_unittest.log template_modifiers_nothreads_unittest.log template_setglobals_unittest.log template_setglobals_nothreads_unittest.log template_cache_test.log template_cache_nothreads_test.log template_unittest.log template_nothreads_unittest.log template_regtest.log template_nothreads_regtest.log htmlparser_test.log htmlparser_nothreads_test.log statemachine_test.log generate_fsm_c_test.log" || rm -f compile_test.log compile_nothreads_test.log template_test_util_test.log template_test_util_nothreads_test.log template_dictionary_unittest.log template_dictionary_nothreads_unittest.log 
> template_modifiers_unittest.log template_modifiers_nothreads_unittest.log template_setglobals_unittest.log template_setglobals_nothreads_unittest.log template_cache_test.log template_cache_nothreads_test.log template_unittest.log template_nothreads_unittest.log template_regtest.log template_nothreads_regtest.log htmlparser_test.log htmlparser_nothreads_test.log statemachine_test.log generate_fsm_c_test.log
> rm -f *.lo
> rm -f src/*.o
> rm -f *.tab.c
> test -z "compile_test.trs compile_nothreads_test.trs template_test_util_test.trs template_test_util_nothreads_test.trs template_dictionary_unittest.trs template_dictionary_nothreads_unittest.trs template_modifiers_unittest.trs template_modifiers_nothreads_unittest.trs template_setglobals_unittest.trs template_setglobals_nothreads_unittest.trs template_cache_test.trs template_cache_nothreads_test.trs template_unittest.trs template_nothreads_unittest.trs template_regtest.trs template_nothreads_regtest.trs htmlparser_test.trs htmlparser_nothreads_test.trs statemachine_test.trs generate_fsm_c_test.trs" || rm -f compile_test.trs compile_nothreads_test.trs template_test_util_test.trs template_test_util_nothreads_test.trs template_dictionary_unittest.trs template_dictionary_nothreads_unittest.trs 
> template_modifiers_unittest.trs template_modifiers_nothreads_unittest.trs template_setglobals_unittest.trs template_setglobals_nothreads_unittest.trs template_cache_test.trs template_cache_nothreads_test.trs template_unittest.trs template_nothreads_unittest.trs template_regtest.trs template_nothreads_regtest.trs htmlparser_test.trs htmlparser_nothreads_test.trs statemachine_test.trs generate_fsm_c_test.trs
> test -z "src/ctemplate/template_string.h src/ctemplate/template_enums.h src/ctemplate/template.h src/ctemplate/template_cache.h src/ctemplate/template_modifiers.h src/ctemplate/template_emitter.h src/ctemplate/template_annotator.h src/ctemplate/template_dictionary.h src/ctemplate/template_pathops.h src/ctemplate/template_namelist.h src/ctemplate/find_ptr.h src/ctemplate/per_expand_data.h src/ctemplate/str_ref.h src/ctemplate/template_dictionary_interface.h" || rm -f src/ctemplate/template_string.h src/ctemplate/template_enums.h src/ctemplate/template.h src/ctemplate/template_cache.h src/ctemplate/template_modifiers.h src/ctemplate/template_emitter.h src/ctemplate/template_annotator.h src/ctemplate/template_dictionary.h src/ctemplate/template_pathops.h src/ctemplate/template_namelist.h src/ctemplate/find_ptr.h 
> src/ctemplate/per_expand_data.h src/ctemplate/str_ref.h src/ctemplate/template_dictionary_interface.h
> rm -f src/config.h src/stamp-h1
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f libtool config.lt
> test . = "." || test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -rf src/.libs src/_libs
> rm -f src/.deps/.dirstamp
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> rm -f ./so_locations
> rm -f ./so_locations
> rm -f src/.dirstamp
> rm -f src/*.lo
> rm -f src/base/.deps/.dirstamp
> rm -f src/base/*.o
> rm -f src/base/.dirstamp
> rm -f src/base/*.lo
> rm -f src/htmlparser/.deps/.dirstamp
> rm -f src/htmlparser/.dirstamp
> rm -f src/htmlparser/*.o
> rm -rf src/base/.libs src/base/_libs
> rm -f src/tests/.deps/.dirstamp
> rm -rf src/htmlparser/.libs src/htmlparser/_libs
> rm -f src/tests/.dirstamp
> rm -f src/htmlparser/*.lo
> rm -rf src/tests/.libs src/tests/_libs
> rm -f src/windows/.deps/.dirstamp
> rm -f src/tests/*.o
> rm -rf src/windows/.libs src/windows/_libs
> rm -f src/windows/.dirstamp
> rm -f src/tests/*.lo
> rm -f src/windows/*.o
> rm -f src/windows/*.lo
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f ./.deps/statemachine_test-statemachine.Po
> rm -f src/.deps/diff_tpl_auto_escape.Po
> rm -f src/.deps/libctemplate_debug_la-per_expand_data.Plo
> rm -f src/.deps/libctemplate_debug_la-template.Plo
> rm -f src/.deps/libctemplate_debug_la-template_annotator.Plo
> rm -f src/.deps/libctemplate_debug_la-template_cache.Plo
> rm -f src/.deps/libctemplate_debug_la-template_dictionary.Plo
> rm -f src/.deps/libctemplate_debug_la-template_modifiers.Plo
> rm -f src/.deps/libctemplate_debug_la-template_namelist.Plo
> rm -f src/.deps/libctemplate_debug_la-template_pathops.Plo
> rm -f src/.deps/libctemplate_debug_la-template_string.Plo
> rm -f src/.deps/libctemplate_la-per_expand_data.Plo
> rm -f src/.deps/libctemplate_la-template.Plo
> rm -f src/.deps/libctemplate_la-template_annotator.Plo
> rm -f src/.deps/libctemplate_la-template_cache.Plo
> rm -f src/.deps/libctemplate_la-template_dictionary.Plo
> rm -f src/.deps/libctemplate_la-template_modifiers.Plo
> rm -f src/.deps/libctemplate_la-template_namelist.Plo
> rm -f src/.deps/libctemplate_la-template_pathops.Plo
> rm -f src/.deps/libctemplate_la-template_string.Plo
> rm -f src/.deps/libctemplate_nothreads_debug_la-per_expand_data.Plo
> rm -f src/.deps/libctemplate_nothreads_debug_la-template.Plo
> rm -f src/.deps/libctemplate_nothreads_debug_la-template_annotator.Plo
> rm -f src/.deps/libctemplate_nothreads_debug_la-template_cache.Plo
> rm -f src/.deps/libctemplate_nothreads_debug_la-template_dictionary.Plo
> rm -f src/.deps/libctemplate_nothreads_debug_la-template_modifiers.Plo
> rm -f src/.deps/libctemplate_nothreads_debug_la-template_namelist.Plo
> rm -f src/.deps/libctemplate_nothreads_debug_la-template_pathops.Plo
> rm -f src/.deps/libctemplate_nothreads_debug_la-template_string.Plo
> rm -f src/.deps/libctemplate_nothreads_la-per_expand_data.Plo
> rm -f src/.deps/libctemplate_nothreads_la-template.Plo
> rm -f src/.deps/libctemplate_nothreads_la-template_annotator.Plo
> rm -f src/.deps/libctemplate_nothreads_la-template_cache.Plo
> rm -f src/.deps/libctemplate_nothreads_la-template_dictionary.Plo
> rm -f src/.deps/libctemplate_nothreads_la-template_modifiers.Plo
> rm -f src/.deps/libctemplate_nothreads_la-template_namelist.Plo
> rm -f src/.deps/libctemplate_nothreads_la-template_pathops.Plo
> rm -f src/.deps/libctemplate_nothreads_la-template_string.Plo
> rm -f src/.deps/make_tpl_varnames_h.Po
> rm -f src/.deps/template_test_util_nothreads_test-template_dictionary.Po
> rm -f src/.deps/template_test_util_test-template_dictionary.Po
> rm -f src/base/.deps/libctemplate_debug_la-arena.Plo
> rm -f src/base/.deps/libctemplate_la-arena.Plo
> rm -f src/base/.deps/libctemplate_nothreads_debug_la-arena.Plo
> rm -f src/base/.deps/libctemplate_nothreads_la-arena.Plo
> rm -f src/htmlparser/.deps/libctemplate_debug_la-htmlparser.Plo
> rm -f src/htmlparser/.deps/libctemplate_debug_la-jsparser.Plo
> rm -f src/htmlparser/.deps/libctemplate_debug_la-statemachine.Plo
> rm -f src/htmlparser/.deps/libctemplate_la-htmlparser.Plo
> rm -f src/htmlparser/.deps/libctemplate_la-jsparser.Plo
> rm -f src/htmlparser/.deps/libctemplate_la-statemachine.Plo
> rm -f src/htmlparser/.deps/libctemplate_nothreads_debug_la-htmlparser.Plo
> rm -f src/htmlparser/.deps/libctemplate_nothreads_debug_la-jsparser.Plo
> rm -f src/htmlparser/.deps/libctemplate_nothreads_debug_la-statemachine.Plo
> rm -f src/htmlparser/.deps/libctemplate_nothreads_la-htmlparser.Plo
> rm -f src/htmlparser/.deps/libctemplate_nothreads_la-jsparser.Plo
> rm -f src/htmlparser/.deps/libctemplate_nothreads_la-statemachine.Plo
> rm -f src/tests/.deps/compile_nothreads_test-compile_test.Po
> rm -f src/tests/.deps/compile_test-compile_test.Po
> rm -f src/tests/.deps/generate_fsm_c_test.Po
> rm -f src/tests/.deps/htmlparser_nothreads_test-htmlparser_cpp_test.Po
> rm -f src/tests/.deps/htmlparser_test-htmlparser_cpp_test.Po
> rm -f src/tests/.deps/libctemplate_testing_la-template_test_util.Plo
> rm -f src/tests/.deps/libctemplate_testing_nothreads_la-template_test_util.Plo
> rm -f src/tests/.deps/statemachine_test-statemachine_test.Po
> rm -f src/tests/.deps/template_cache_nothreads_test-template_cache_test.Po
> rm -f src/tests/.deps/template_cache_test-template_cache_test.Po
> rm -f src/tests/.deps/template_dictionary_nothreads_unittest-template_dictionary_unittest.Po
> rm -f src/tests/.deps/template_dictionary_unittest-template_dictionary_unittest.Po
> rm -f src/tests/.deps/template_modifiers_nothreads_unittest-template_modifiers_unittest.Po
> rm -f src/tests/.deps/template_modifiers_unittest-template_modifiers_unittest.Po
> rm -f src/tests/.deps/template_nothreads_regtest-template_regtest.Po
> rm -f src/tests/.deps/template_nothreads_unittest-template_unittest.Po
> rm -f src/tests/.deps/template_regtest-template_regtest.Po
> rm -f src/tests/.deps/template_setglobals_nothreads_unittest-template_setglobals_unittest.Po
> rm -f src/tests/.deps/template_setglobals_unittest-template_setglobals_unittest.Po
> rm -f src/tests/.deps/template_test_util_nothreads_test-template_test_util_test.Po
> rm -f src/tests/.deps/template_test_util_test-template_test_util_test.Po
> rm -f src/tests/.deps/template_unittest-template_unittest.Po
> rm -f src/windows/.deps/libctemplate_debug_la-port.Plo
> rm -f src/windows/.deps/libctemplate_la-port.Plo
> rm -f src/windows/.deps/libctemplate_nothreads_debug_la-port.Plo
> rm -f src/windows/.deps/libctemplate_nothreads_la-port.Plo
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building ctemplate using existing ./ctemplate_2.4.orig.tar.gz
> dpkg-source: error: cannot represent change to src/htmlparser/__pycache__/fsm_config.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add src/htmlparser/__pycache__/fsm_config.cpython-311.pyc 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/ctemplate_2.4-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 pkg-kde-extras mailing list