Source: lttoolbox
Version: 3.7.1-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 lttoolbox
> dpkg-buildpackage: info: source version 3.7.1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Tino Didriksen <t...@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 lttoolbox
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lttoolbox'
> test -z "*~" || rm -f *~
> test -z "liblttoolbox.la" || rm -f liblttoolbox.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
>  rm -f lt-comp lt-proc lt-expand lt-paradigm lt-tmxcomp lt-tmxproc lt-print 
> lt-trim lt-compose lt-append lsx-comp lt-invert lt-restrict lt-apply-acx
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./so_locations
> rm -f ./.deps/acx.Plo
> rm -f ./.deps/alphabet.Plo
> rm -f ./.deps/att_compiler.Plo
> rm -f ./.deps/cli.Plo
> rm -f ./.deps/compiler.Plo
> rm -f ./.deps/compression.Plo
> rm -f ./.deps/entry_token.Plo
> rm -f ./.deps/expander.Plo
> rm -f ./.deps/file_utils.Plo
> rm -f ./.deps/fst_processor.Plo
> rm -f ./.deps/input_file.Plo
> rm -f ./.deps/lt_append.Po
> rm -f ./.deps/lt_apply_acx.Po
> rm -f ./.deps/lt_comp.Po
> rm -f ./.deps/lt_compose.Po
> rm -f ./.deps/lt_expand.Po
> rm -f ./.deps/lt_invert.Po
> rm -f ./.deps/lt_locale.Plo
> rm -f ./.deps/lt_paradigm.Po
> rm -f ./.deps/lt_print.Po
> rm -f ./.deps/lt_proc.Po
> rm -f ./.deps/lt_restrict.Po
> rm -f ./.deps/lt_tmxcomp.Po
> rm -f ./.deps/lt_tmxproc.Po
> rm -f ./.deps/lt_trim.Po
> rm -f ./.deps/match_exe.Plo
> rm -f ./.deps/match_node.Plo
> rm -f ./.deps/match_state.Plo
> rm -f ./.deps/node.Plo
> rm -f ./.deps/pattern_list.Plo
> rm -f ./.deps/regexp_compiler.Plo
> rm -f ./.deps/sorted_vector.Plo
> rm -f ./.deps/state.Plo
> rm -f ./.deps/string_utils.Plo
> rm -f ./.deps/tmx_compiler.Plo
> rm -f ./.deps/trans_exe.Plo
> rm -f ./.deps/transducer.Plo
> rm -f ./.deps/ustring.Plo
> rm -f ./.deps/xml_parse_util.Plo
> rm -f ./.deps/xml_walk_util.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lttoolbox'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "lttoolbox.pc" || rm -f lttoolbox.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 lttoolbox using existing 
> ./lttoolbox_3.7.1.orig.tar.bz2
> dpkg-source: error: cannot represent change to 
> python/build/lib.linux-x86_64-cpython-311/_lttoolbox.cpython-311-x86_64-linux-gnu.so:
>  binary file contents changed
> dpkg-source: error: add 
> python/build/lib.linux-x86_64-cpython-311/_lttoolbox.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/_lttoolbox.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/lttoolbox_wrap.o: binary file 
> contents changed
> dpkg-source: error: add 
> python/build/temp.linux-x86_64-cpython-311/lttoolbox_wrap.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file 
> lttoolbox-3.7.1/python/lttoolbox.egg-info/SOURCES.txt has no final newline 
> (either original or modified version)
> 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/lttoolbox_3.7.1-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.

Reply via email to