Hi, This should be fixed by the attached patch or some equivalent in the rules file (delete the generated .qm files when cleaning).
recoll-Makefile-am-cleanqm.diff
Description: Binary data
Lucas Nussbaum writes: > Source: recoll > Version: 1.34.7-1 > Severity: minor > Tags: trixie sid ftbfs > User: lu...@debian.org > Usertags: ftbfs-sab-20230813 ftbfs-source-after-build > User: debian...@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 recoll > > dpkg-buildpackage: info: source version 1.34.7-1 > > dpkg-buildpackage: info: source distribution unstable > > dpkg-buildpackage: info: source changed by Kartik Mistry > > <kar...@debian.org> > > 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 . > > make[2]: Entering directory '/<<PKGBUILDDIR>>' > > rm -f recollindex recollq xadump > > test -z "librecoll.la" || rm -f librecoll.la > > rm -rf .libs _libs > > rm -f python/recoll/*.pyc > > rm -f *.o > > rm -rf python/pychm/build > > rm -f ./so_locations > > rm -f aspell/*.o > > rm -rf aspell/.libs aspell/_libs > > rm -rf python/pychm/recollchm.egg-info > > rm -f aspell/*.lo > > rm -rf bincimapmime/.libs bincimapmime/_libs > > rm -rf python/pychm/setup.py > > rm -f bincimapmime/*.o > > rm -rf common/.libs common/_libs > > rm -rf python/recoll/Recoll.egg-info > > rm -f bincimapmime/*.lo > > rm -f *.lo > > rm -rf python/recoll/__pycache__ > > rm -f common/*.o > > rm -rf index/.libs index/_libs > > rm -rf python/recoll/build > > rm -f common/*.lo > > rm -rf internfile/.libs internfile/_libs > > rm -f index/*.o > > rm -f *.tab.c > > test -z "python/recoll/setup.py python/pychm/setup.py > > python/pyaspell/setup.py" || rm -f python/recoll/setup.py > > python/pychm/setup.py python/pyaspell/setup.py > > rm -rf query/.libs query/_libs > > rm -f index/*.lo > > test . = "." || test -z "" || rm -f > > rm -f internfile/*.o > > rm -f aspell/.deps/.dirstamp > > rm -rf rcldb/.libs rcldb/_libs > > rm -f internfile/*.lo > > rm -f aspell/.dirstamp > > rm -f query/*.o > > rm -f bincimapmime/.deps/.dirstamp > > rm -rf unac/.libs unac/_libs > > rm -f query/*.lo > > rm -f bincimapmime/.dirstamp > > rm -rf utils/.libs utils/_libs > > rm -f rcldb/*.o > > rm -f common/.deps/.dirstamp > > rm -f common/autoconfig.h common/stamp-h1 > > rm -f rcldb/*.lo > > rm -f common/.dirstamp > > rm -f unac/*.o > > rm -f index/.deps/.dirstamp > > rm -f unac/*.lo > > rm -f index/.dirstamp > > rm -f utils/*.o > > rm -f internfile/.deps/.dirstamp > > rm -f libtool config.lt > > rm -f utils/*.lo > > rm -f internfile/.dirstamp > > rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags > > rm -f query/.deps/.dirstamp > > rm -f cscope.out cscope.in.out cscope.po.out cscope.files > > rm -f query/.dirstamp > > rm -rf python/pychm/build > > rm -f rcldb/.deps/.dirstamp > > rm -rf python/pychm/dist/* > > rm -f rcldb/.dirstamp > > rm -rf python/pyaspell/build > > rm -f unac/.deps/.dirstamp > > rm -rf python/pyaspell/dist/* > > rm -f unac/.dirstamp > > make -C qtgui clean > > rm -f utils/.deps/.dirstamp > > rm -f utils/.dirstamp > > make[3]: Entering directory '/<<PKGBUILDDIR>>/qtgui' > > rm -f qrc_recoll.cpp > > rm -f .moc/moc_predefs.h > > rm -f .moc/moc_actsearch_w.cpp .moc/moc_advsearch_w.cpp > > .moc/moc_confgui.cpp .moc/moc_confguiindex.cpp .moc/moc_firstidx.cpp > > .moc/moc_fragbuts.cpp .moc/moc_idxmodel.cpp .moc/moc_idxsched.cpp > > .moc/moc_preview_load.cpp .moc/moc_preview_plaintorich.cpp > > .moc/moc_preview_w.cpp .moc/moc_ptrans_w.cpp .moc/moc_rclhelp.cpp > > .moc/moc_rclmain_w.cpp .moc/moc_reslist.cpp .moc/moc_restable.cpp > > .moc/moc_scbase.cpp .moc/moc_searchclause_w.cpp .moc/moc_snippets_w.cpp > > .moc/moc_specialindex.cpp .moc/moc_spell_w.cpp .moc/moc_ssearch_w.cpp > > .moc/moc_systray.cpp .moc/moc_uiprefs_w.cpp .moc/moc_viewaction_w.cpp > > .moc/moc_webcache.cpp .moc/moc_editdialog.cpp .moc/moc_listdialog.cpp > > .moc/moc_qxtconfirmationmessage.cpp .moc/moc_crontool.cpp > > .moc/moc_rtitool.cpp > > rm -f .ui/ui_actsearch.h .ui/ui_advsearch.h .ui/ui_firstidx.h > > .ui/ui_idxsched.h .ui/ui_preview.h .ui/ui_ptrans.h .ui/ui_rclmain.h > > .ui/ui_restable.h .ui/ui_snippets.h .ui/ui_specialindex.h .ui/ui_spell.h > > .ui/ui_ssearchb.h .ui/ui_uiprefs.h .ui/ui_viewaction.h .ui/ui_webcache.h > > .ui/ui_editdialog.h .ui/ui_listdialog.h .ui/ui_crontool.h .ui/ui_rtitool.h > > rm -f .obj/actsearch_w.o .obj/advsearch_w.o .obj/advshist.o .obj/confgui.o > > .obj/confguiindex.o .obj/fragbuts.o .obj/guiutils.o .obj/idxmodel.o > > .obj/main.o .obj/multisave.o .obj/preview_load.o > > .obj/preview_plaintorich.o .obj/preview_w.o .obj/ptrans_w.o .obj/rclhelp.o > > .obj/rclm_idx.o .obj/rclm_menus.o .obj/rclm_preview.o .obj/rclm_saveload.o > > .obj/rclm_sidefilters.o .obj/rclm_view.o .obj/rclm_wins.o .obj/rclmain_w.o > > .obj/rclzg.o .obj/reslist.o .obj/respopup.o .obj/restable.o .obj/scbase.o > > .obj/searchclause_w.o .obj/snippets_w.o .obj/spell_w.o .obj/ssearch_w.o > > .obj/systray.o .obj/uiprefs_w.o .obj/viewaction_w.o .obj/webcache.o > > .obj/qxtconfirmationmessage.o .obj/xmltosd.o .obj/crontool.o > > .obj/rtitool.o .obj/qrc_recoll.o .obj/moc_actsearch_w.o > > .obj/moc_advsearch_w.o .obj/moc_confgui.o .obj/moc_confguiindex.o > > .obj/moc_firstidx.o .obj/moc_fragbuts.o .obj/moc_idxmodel.o > > .obj/moc_idxsched.o .obj/moc_preview_load.o .obj/moc_preview_plaintorich.o > > .obj/moc_preview_w.o .obj/moc_ptrans_w.o .obj/moc_rclhelp.o > > .obj/moc_restable.o .obj/moc_scbase.o .obj/moc_searchclause_w.o > > .obj/moc_snippets_w.o .obj/moc_specialindex.o .obj/moc_spell_w.o > > .obj/moc_ssearch_w.o .obj/moc_systray.o .obj/moc_uiprefs_w.o > > .obj/moc_viewaction_w.o .obj/moc_webcache.o .obj/moc_editdialog.o > > .obj/moc_listdialog.o .obj/moc_qxtconfirmationmessage.o > > .obj/moc_crontool.o .obj/moc_rtitool.o > > rm -f *~ core *.core > > make[3]: Leaving directory '/<<PKGBUILDDIR>>/qtgui' > > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > > rm -f config.status config.cache config.log configure.lineno > > config.status.lineno > > rm -f aspell/.deps/rclaspell.Plo > > rm -f bincimapmime/.deps/convert.Plo > > rm -f bincimapmime/.deps/mime-parsefull.Plo > > rm -f bincimapmime/.deps/mime-parseonlyheader.Plo > > rm -f bincimapmime/.deps/mime-printbody.Plo > > rm -f bincimapmime/.deps/mime.Plo > > rm -f common/.deps/cstr.Plo > > rm -f common/.deps/plaintorich.Plo > > rm -f common/.deps/rclconfig.Plo > > rm -f common/.deps/rclinit.Plo > > rm -f common/.deps/syngroups.Plo > > rm -f common/.deps/textsplit.Plo > > rm -f common/.deps/textsplitko.Plo > > rm -f common/.deps/unacpp.Plo > > rm -f common/.deps/utf8fn.Plo > > rm -f common/.deps/webstore.Plo > > rm -f index/.deps/checkindexed.Po > > rm -f index/.deps/checkretryfailed.Plo > > rm -f index/.deps/exefetcher.Plo > > rm -f index/.deps/fetcher.Plo > > rm -f index/.deps/fsfetcher.Plo > > rm -f index/.deps/fsindexer.Po > > rm -f index/.deps/idxdiags.Plo > > rm -f index/.deps/idxstatus.Plo > > rm -f index/.deps/indexer.Po > > rm -f index/.deps/mimetype.Plo > > rm -f index/.deps/rclmonprc.Po > > rm -f index/.deps/rclmonrcv.Po > > rm -f index/.deps/recollindex.Po > > rm -f index/.deps/subtreelist.Plo > > rm -f index/.deps/webqueue.Po > > rm -f index/.deps/webqueuefetcher.Plo > > rm -f internfile/.deps/extrameta.Plo > > rm -f internfile/.deps/htmlparse.Plo > > rm -f internfile/.deps/internfile.Plo > > rm -f internfile/.deps/mh_exec.Plo > > rm -f internfile/.deps/mh_execm.Plo > > rm -f internfile/.deps/mh_html.Plo > > rm -f internfile/.deps/mh_mail.Plo > > rm -f internfile/.deps/mh_mbox.Plo > > rm -f internfile/.deps/mh_text.Plo > > rm -f internfile/.deps/mh_xslt.Plo > > rm -f internfile/.deps/mimehandler.Plo > > rm -f internfile/.deps/myhtmlparse.Plo > > rm -f internfile/.deps/txtdcode.Plo > > rm -f internfile/.deps/uncomp.Plo > > rm -f query/.deps/docseq.Plo > > rm -f query/.deps/docseqdb.Plo > > rm -f query/.deps/docseqhist.Plo > > rm -f query/.deps/dynconf.Plo > > rm -f query/.deps/filtseq.Plo > > rm -f query/.deps/qresultstore.Plo > > rm -f query/.deps/recollq.Plo > > rm -f query/.deps/recollqmain.Po > > rm -f query/.deps/reslistpager.Plo > > rm -f query/.deps/sortseq.Plo > > rm -f query/.deps/wasaparse.Plo > > rm -f query/.deps/wasaparseaux.Plo > > rm -f query/.deps/xadump.Po > > rm -f rcldb/.deps/daterange.Plo > > rm -f rcldb/.deps/expansiondbs.Plo > > rm -f rcldb/.deps/rclabsfromtext.Plo > > rm -f rcldb/.deps/rclabstract.Plo > > rm -f rcldb/.deps/rcldb.Plo > > rm -f rcldb/.deps/rcldoc.Plo > > rm -f rcldb/.deps/rcldups.Plo > > rm -f rcldb/.deps/rclquery.Plo > > rm -f rcldb/.deps/rclterms.Plo > > rm -f rcldb/.deps/rclvalues.Plo > > rm -f rcldb/.deps/searchdata.Plo > > rm -f rcldb/.deps/searchdatatox.Plo > > rm -f rcldb/.deps/searchdataxml.Plo > > rm -f rcldb/.deps/stemdb.Plo > > rm -f rcldb/.deps/stoplist.Plo > > rm -f rcldb/.deps/synfamily.Plo > > rm -f unac/.deps/unac.Plo > > rm -f utils/.deps/appformime.Plo > > rm -f utils/.deps/base64.Plo > > rm -f utils/.deps/cancelcheck.Plo > > rm -f utils/.deps/chrono.Plo > > rm -f utils/.deps/circache.Plo > > rm -f utils/.deps/closefrom.Plo > > rm -f utils/.deps/cmdtalk.Plo > > rm -f utils/.deps/conftree.Plo > > rm -f utils/.deps/copyfile.Plo > > rm -f utils/.deps/cpuconf.Plo > > rm -f utils/.deps/dlib.Plo > > rm -f utils/.deps/ecrontab.Plo > > rm -f utils/.deps/execmd.Plo > > rm -f utils/.deps/fileudi.Plo > > rm -f utils/.deps/fstreewalk.Plo > > rm -f utils/.deps/hldata.Plo > > rm -f utils/.deps/idfile.Plo > > rm -f utils/.deps/listmem.Plo > > rm -f utils/.deps/log.Plo > > rm -f utils/.deps/md5.Plo > > rm -f utils/.deps/md5ut.Plo > > rm -f utils/.deps/mimeparse.Plo > > rm -f utils/.deps/miniz.Plo > > rm -f utils/.deps/netcon.Plo > > rm -f utils/.deps/pathut.Plo > > rm -f utils/.deps/pxattr.Plo > > rm -f utils/.deps/rclionice.Plo > > rm -f utils/.deps/rclutil.Plo > > rm -f utils/.deps/readfile.Plo > > rm -f utils/.deps/smallut.Plo > > rm -f utils/.deps/strmatcher.Plo > > rm -f utils/.deps/transcode.Plo > > rm -f utils/.deps/utf8iter.Plo > > rm -f utils/.deps/wipedir.Plo > > rm -f utils/.deps/x11mon.Plo > > rm -f utils/.deps/zlibut.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: verifying ./recoll_1.34.7.orig.tar.gz.asc > > dpkg-source: info: building recoll using existing > > ./recoll_1.34.7.orig.tar.gz > > dpkg-source: info: building recoll using existing > > ./recoll_1.34.7.orig.tar.gz.asc > > dpkg-source: info: using patch list from debian/patches/series > > dpkg-source: warning: ignoring deletion of file aclocal.m4, use > > --include-removal to override > > dpkg-source: warning: ignoring deletion of file Makefile.in, use > > --include-removal to override > > dpkg-source: warning: ignoring deletion of file ltmain.sh, use > > --include-removal to override > > dpkg-source: warning: ignoring deletion of file configure, use > > --include-removal to override > > dpkg-source: warning: ignoring deletion of file ylwrap, use > > --include-removal to override > > dpkg-source: warning: ignoring deletion of file m4/ltsugar.m4, use > > --include-removal to override > > dpkg-source: warning: ignoring deletion of file m4/lt~obsolete.m4, use > > --include-removal to override > > dpkg-source: warning: ignoring deletion of file m4/ltversion.m4, use > > --include-removal to override > > dpkg-source: warning: ignoring deletion of file m4/libtool.m4, use > > --include-removal to override > > dpkg-source: warning: ignoring deletion of file m4/ltoptions.m4, use > > --include-removal to override > > dpkg-source: warning: file > > recoll-1.34.7/python/pyaspell/recoll_aspell_python_py3.egg-info/SOURCES.txt > > has no final newline (either original or modified version) > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_cs.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_cs.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_da.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_da.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_de.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_de.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_el.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_el.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_es.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_es.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_fr.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_fr.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_hu.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_hu.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_it.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_it.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_ja.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_ja.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_ko.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_ko.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_lt.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_lt.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_nl.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_nl.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_pl.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_pl.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_ru.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_ru.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_sv.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_sv.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_tr.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_tr.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_uk.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_uk.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: warning: file recoll-1.34.7/qtgui/.qm/recoll_xx.qm has no > > final newline (either original or modified version) > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_zh.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_zh.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/.qm/recoll_zh_CN.qm: > > binary file contents changed > > dpkg-source: error: add qtgui/.qm/recoll_zh_CN.qm in > > debian/source/include-binaries if you want to store the modified binary in > > the debian tarball > > dpkg-source: error: cannot represent change to qtgui/recoll: binary file > > contents changed > > dpkg-source: error: add qtgui/recoll in debian/source/include-binaries if > > you want to store the modified binary in the debian tarball > > dpkg-source: warning: executable mode 0755 of 'qtgui/recoll' will not be > > represented in diff > > 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/recoll_1.34.7-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. >