Bug#1044093: apertium: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 15:33:38 BST 2023


Source: apertium
Version: 3.8.3-1
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 apertium
> dpkg-buildpackage: info: source version 3.8.3-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Tino Didriksen <tino at didriksen.cc>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with python3
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in apertium
> make[2]: Entering directory '/<<PKGBUILDDIR>>/apertium'
> test -z "*~ apertium_destxt.cc apertium_retxt.cc apertium_deshtml.cc apertium_rehtml.cc apertium_desrtf.cc apertium_rertf.cc apertium_rehtml_noent.cc apertium_rehtml_alt.cc apertium_deshtml_alt.cc apertium_deshtml_noent.cc apertium_deswxml.cc apertium_rewxml.cc apertium_deslatex.cc apertium_relatex.cc apertium_desxlsx.cc apertium_rexlsx.cc apertium_despptx.cc apertium_repptx.cc apertium_desodt.cc apertium_reodt.cc apertium_desxpresstag.cc apertium_rexpresstag.cc apertium_desmediawiki.cc apertium_remediawiki.cc apertium_prelatex.cc apertium_postlatex.cc apertium-gen-deformat apertium-gen-reformat apertium-validate-tagger apertium-validate-transfer apertium-validate-dictionary apertium-validate-modes apertium-validate-interchunk apertium-validate-postchunk apertium apertium-unformat apertium-validate-acx 
> apertium-utils-fixlatex" || rm -f *~ apertium_destxt.cc apertium_retxt.cc apertium_deshtml.cc apertium_rehtml.cc apertium_desrtf.cc apertium_rertf.cc apertium_rehtml_noent.cc apertium_rehtml_alt.cc apertium_deshtml_alt.cc apertium_deshtml_noent.cc apertium_deswxml.cc apertium_rewxml.cc apertium_deslatex.cc apertium_relatex.cc apertium_desxlsx.cc apertium_rexlsx.cc apertium_despptx.cc apertium_repptx.cc apertium_desodt.cc apertium_reodt.cc apertium_desxpresstag.cc apertium_rexpresstag.cc apertium_desmediawiki.cc apertium_remediawiki.cc apertium_prelatex.cc apertium_postlatex.cc apertium-gen-deformat apertium-gen-reformat apertium-validate-tagger apertium-validate-transfer apertium-validate-dictionary apertium-validate-modes apertium-validate-interchunk apertium-validate-postchunk apertium apertium-unformat 
> apertium-validate-acx apertium-utils-fixlatex
> test -z "libapertium.la" || rm -f libapertium.la
> rm -rf .libs _libs
> rm -f *.o
>  rm -f apertium-cleanstream apertium-deshtml apertium-deshtml-alt apertium-deshtml-noent apertium-deslatex apertium-desmediawiki apertium-desodt apertium-despptx apertium-desrtf apertium-destxt apertium-deswxml apertium-desxlsx apertium-desxpresstag apertium-filter-ambiguity apertium-gen-modes apertium-interchunk apertium-multiple-translations apertium-perceptron-trace apertium-postchunk apertium-postlatex apertium-postlatex-raw apertium-prelatex apertium-preprocess-transfer apertium-pretransfer apertium-posttransfer apertium-rehtml apertium-rehtml-noent apertium-rehtml-alt apertium-relatex apertium-remediawiki apertium-reodt apertium-repptx apertium-rertf apertium-retxt apertium-rewxml apertium-rexlsx apertium-rexpresstag apertium-tagger apertium-tagger-apply-new-rules apertium-tagger-readwords 
> apertium-perceptron-trace apertium-tmxbuild apertium-transfer apertium-wblank-attach apertium-wblank-detach apertium-wblank-mode apertium-adapt-docx
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f apertium_config.h stamp-h1
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f win32/.deps/.dirstamp
> rm -f win32/.dirstamp
> rm -f ./so_locations
> rm -f win32/*.o
> rm -f win32/*.lo
> rm -rf win32/.libs win32/_libs
> rm -f ./.deps/a.Plo
> rm -f ./.deps/adapt_docx.Po
> rm -f ./.deps/align.Plo
> rm -f ./.deps/analysis.Plo
> rm -f ./.deps/apertium-multiple-translations.Po
> rm -f ./.deps/apertium_cleanstream.Po
> rm -f ./.deps/apertium_deshtml.Po
> rm -f ./.deps/apertium_deshtml_alt.Po
> rm -f ./.deps/apertium_deshtml_noent.Po
> rm -f ./.deps/apertium_deslatex.Po
> rm -f ./.deps/apertium_desmediawiki.Po
> rm -f ./.deps/apertium_desodt.Po
> rm -f ./.deps/apertium_despptx.Po
> rm -f ./.deps/apertium_desrtf.Po
> rm -f ./.deps/apertium_destxt.Po
> rm -f ./.deps/apertium_deswxml.Po
> rm -f ./.deps/apertium_desxlsx.Po
> rm -f ./.deps/apertium_desxpresstag.Po
> rm -f ./.deps/apertium_filter_ambiguity.Po
> rm -f ./.deps/apertium_interchunk.Po
> rm -f ./.deps/apertium_perceptron_trace.Po
> rm -f ./.deps/apertium_postchunk.Po
> rm -f ./.deps/apertium_postlatex.Po
> rm -f ./.deps/apertium_postlatex_raw.Po
> rm -f ./.deps/apertium_posttransfer.Po
> rm -f ./.deps/apertium_prelatex.Po
> rm -f ./.deps/apertium_pretransfer.Po
> rm -f ./.deps/apertium_re.Plo
> rm -f ./.deps/apertium_rehtml.Po
> rm -f ./.deps/apertium_rehtml_alt.Po
> rm -f ./.deps/apertium_rehtml_noent.Po
> rm -f ./.deps/apertium_relatex.Po
> rm -f ./.deps/apertium_remediawiki.Po
> rm -f ./.deps/apertium_reodt.Po
> rm -f ./.deps/apertium_repptx.Po
> rm -f ./.deps/apertium_rertf.Po
> rm -f ./.deps/apertium_retxt.Po
> rm -f ./.deps/apertium_rewxml.Po
> rm -f ./.deps/apertium_rexlsx.Po
> rm -f ./.deps/apertium_rexpresstag.Po
> rm -f ./.deps/apertium_tagger.Po
> rm -f ./.deps/apertium_tagger_apply_new_rules.Po
> rm -f ./.deps/apertium_tagger_readwords.Po
> rm -f ./.deps/apertium_tmxbuild.Po
> rm -f ./.deps/apertium_transfer.Po
> rm -f ./.deps/collection.Plo
> rm -f ./.deps/constant_manager.Plo
> rm -f ./.deps/endian_double_util.Plo
> rm -f ./.deps/exception_type.Plo
> rm -f ./.deps/feature_vec.Plo
> rm -f ./.deps/feature_vec_averager.Plo
> rm -f ./.deps/file_morpho_stream.Plo
> rm -f ./.deps/file_tagger.Plo
> rm -f ./.deps/gen_modes.Po
> rm -f ./.deps/hmm.Plo
> rm -f ./.deps/i.Plo
> rm -f ./.deps/interchunk.Plo
> rm -f ./.deps/interchunk_word.Plo
> rm -f ./.deps/latex_accentsmap.Plo
> rm -f ./.deps/lemma.Plo
> rm -f ./.deps/linebreak.Plo
> rm -f ./.deps/lswpost.Plo
> rm -f ./.deps/morpheme.Plo
> rm -f ./.deps/morpho_stream.Plo
> rm -f ./.deps/mtx_reader.Plo
> rm -f ./.deps/perceptron_spec.Plo
> rm -f ./.deps/perceptron_tagger.Plo
> rm -f ./.deps/postchunk.Plo
> rm -f ./.deps/pretransfer.Plo
> rm -f ./.deps/sentence_stream.Plo
> rm -f ./.deps/shell_utils.Plo
> rm -f ./.deps/stream.Plo
> rm -f ./.deps/stream_tagger.Plo
> rm -f ./.deps/tagger.Plo
> rm -f ./.deps/tagger_data.Plo
> rm -f ./.deps/tagger_data_hmm.Plo
> rm -f ./.deps/tagger_data_lsw.Plo
> rm -f ./.deps/tagger_data_percep_coarse_tags.Plo
> rm -f ./.deps/tagger_flags.Plo
> rm -f ./.deps/tagger_utils.Plo
> rm -f ./.deps/tagger_word.Plo
> rm -f ./.deps/tmx_aligner_tool.Plo
> rm -f ./.deps/tmx_alignment.Plo
> rm -f ./.deps/tmx_arguments_parser.Plo
> rm -f ./.deps/tmx_book_to_matrix.Plo
> rm -f ./.deps/tmx_builder.Plo
> rm -f ./.deps/tmx_dictionary.Plo
> rm -f ./.deps/tmx_strings_and_streams.Plo
> rm -f ./.deps/tmx_trail_postprocessors.Plo
> rm -f ./.deps/tmx_translate.Plo
> rm -f ./.deps/transfer.Plo
> rm -f ./.deps/transfer_base.Plo
> rm -f ./.deps/transfer_data.Plo
> rm -f ./.deps/transfer_instr.Plo
> rm -f ./.deps/transfer_mult.Plo
> rm -f ./.deps/transfer_regex.Plo
> rm -f ./.deps/transfer_token.Plo
> rm -f ./.deps/transfer_word.Plo
> rm -f ./.deps/transferpp.Po
> rm -f ./.deps/trx_reader.Plo
> rm -f ./.deps/tsx_reader.Plo
> rm -f ./.deps/unigram_tagger.Plo
> rm -f ./.deps/wblank-attach.Po
> rm -f ./.deps/wblank-detach.Po
> rm -f ./.deps/wblank-mode.Po
> rm -f ./.deps/xml_reader.Plo
> rm -f win32/.deps/regex.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/apertium'
> Making distclean in scripts
> make[2]: Entering directory '/<<PKGBUILDDIR>>/scripts'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/scripts'
> Making distclean in tests
> make[2]: Entering directory '/<<PKGBUILDDIR>>/tests'
> Making distclean in tagger
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests/tagger'
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
>  rm -f test-find-similar-ambiguity-class
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/test_find_similar_ambiguity_classes.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/tagger'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
> rm -rf .libs _libs
> test -z "./run_tests.py.log deshtml-alt/run.log deslatex/run.log sh/run.log odt/run.log" || rm -f ./run_tests.py.log deshtml-alt/run.log deslatex/run.log sh/run.log odt/run.log
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "./run_tests.py.trs deshtml-alt/run.trs deslatex/run.trs sh/run.trs odt/run.trs" || rm -f ./run_tests.py.trs deshtml-alt/run.trs deslatex/run.trs sh/run.trs odt/run.trs
> test -z "test-suite.log" || rm -f test-suite.log
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "apertium.pc" || rm -f apertium.pc
> 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
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building apertium using existing ./apertium_3.8.3.orig.tar.bz2
> dpkg-source: warning: file apertium-3.8.3/python/apertium.egg-info/SOURCES.txt has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to python/build/lib.linux-x86_64-cpython-311/_apertium_core.cpython-311-x86_64-linux-gnu.so: binary file contents changed
> dpkg-source: error: add python/build/lib.linux-x86_64-cpython-311/_apertium_core.cpython-311-x86_64-linux-gnu.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'python/build/lib.linux-x86_64-cpython-311/_apertium_core.cpython-311-x86_64-linux-gnu.so' will not be represented in diff
> dpkg-source: error: cannot represent change to python/build/temp.linux-x86_64-cpython-311/apertium_core_wrap.o: binary file contents changed
> dpkg-source: error: add python/build/temp.linux-x86_64-cpython-311/apertium_core_wrap.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'scripts/apertium-filter-dix' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'scripts/apertium-filter-rules' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'scripts/apertium-metalrx-to-lrx' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'scripts/apertium-translate-to-default-equivalent' will not be represented in diff
> dpkg-source: error: cannot represent change to tests/data/nno-nob.t1x.bin: binary file contents changed
> dpkg-source: error: add tests/data/nno-nob.t1x.bin in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to tests/data/nno-nob.t3x.bin: binary file contents changed
> dpkg-source: error: add tests/data/nno-nob.t3x.bin in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to tests/odt/out.odt: binary file contents changed
> dpkg-source: error: add tests/odt/out.odt 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/apertium_3.8.3-1_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