[Debian-med-packaging] Bug#1046809: libgtextutils: Fails to build source after successful build
Lucas Nussbaum
lucas at debian.org
Sun Aug 13 20:20:52 BST 2023
Source: libgtextutils
Version: 0.7-8
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 libgtextutils
> dpkg-buildpackage: info: source version 0.7-8
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Pierre Gruet <pgt at debian.org>
> dpkg-source --before-build .
> dpkg-source: info: using options from libgtextutils-0.7/debian/source/options: --single-debian-patch
> debian/rules clean
> dh clean
> dh_auto_clean
> make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in m4
> make[2]: Entering directory '/<<PKGBUILDDIR>>/m4'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f
> test . = "." || test -z "" || rm -f
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/m4'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> Making distclean in gtextutils
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/gtextutils'
> test -z "libgtextutils.la" || rm -f libgtextutils.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f ./so_locations
> rm -f *.tab.c
> test -z "" || rm -f
> test . = "." || test -z "" || rm -f
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f ./.deps/pipe_fitter.Plo
> rm -f ./.deps/stream_wrapper.Plo
> rm -f ./.deps/strnatcmp.Plo
> rm -f ./.deps/text_line_reader.Plo
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/gtextutils'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f
> test . = "." || test -z "" || rm -f
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in doc
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f
> test . = "." || test -z "" || rm -f
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> Making distclean in tests
> make[2]: Entering directory '/<<PKGBUILDDIR>>/tests'
> rm -f test_container_join test_natural_sort test_input_stream_wrapper test_text_reader test_text_reader_unget test_fd_outbuf test_fd_inbuf test_in_out_buf test_pipe_fitter test_string_tokenize
> test -z "test.txt" || rm -f test.txt
> rm -rf .libs _libs
> rm -f *.o
> test -z "test_container_join.log test_natural_sort.log test_input_stream_wrapper.log test_text_reader.log test_text_reader_unget.log test_fd_outbuf.log test_fd_inbuf.log test_in_out_buf.log test_pipe_fitter.log test_string_tokenize.log" || rm -f test_container_join.log test_natural_sort.log test_input_stream_wrapper.log test_text_reader.log test_text_reader_unget.log test_fd_outbuf.log test_fd_inbuf.log test_in_out_buf.log test_pipe_fitter.log test_string_tokenize.log
> rm -f *.lo
> test -z "test_container_join.trs test_natural_sort.trs test_input_stream_wrapper.trs test_text_reader.trs test_text_reader_unget.trs test_fd_outbuf.trs test_fd_inbuf.trs test_in_out_buf.trs test_pipe_fitter.trs test_string_tokenize.trs" || rm -f test_container_join.trs test_natural_sort.trs test_input_stream_wrapper.trs test_text_reader.trs test_text_reader_unget.trs test_fd_outbuf.trs test_fd_inbuf.trs test_in_out_buf.trs test_pipe_fitter.trs test_string_tokenize.trs
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f *.tab.c
> test -z "" || rm -f
> test . = "." || test -z "" || rm -f
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f ./.deps/test_container_join.Po
> rm -f ./.deps/test_fd_inbuf.Po
> rm -f ./.deps/test_fd_outbuf.Po
> rm -f ./.deps/test_in_out_buf.Po
> rm -f ./.deps/test_input_stream_wrapper.Po
> rm -f ./.deps/test_natural_sort.Po
> rm -f ./.deps/test_pipe_fitter.Po
> rm -f ./.deps/test_string_tokenize.Po
> rm -f ./.deps/test_text_reader.Po
> rm -f ./.deps/test_text_reader_unget.Po
> rm -f ./.deps/test_tuple_parser.Po
> rm -f ./.deps/test_tuple_parser_file.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "gtextutils.pc" || rm -f gtextutils.pc
> rm -f config.h stamp-h1
> test . = "." || test -z "" || rm -f
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> 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
> rm -f -- ./m4/ltsugar.m4 ./m4/lt\~obsolete.m4 ./m4/Makefile.in ./m4/ltversion.m4 ./m4/libtool.m4 ./m4/ltoptions.m4 ./aclocal.m4 ./INSTALL ./autom4te.cache/requests ./autom4te.cache/traces.2 ./autom4te.cache/output.2 ./autom4te.cache/output.3 ./autom4te.cache/output.1 ./autom4te.cache/traces.1 ./autom4te.cache/traces.3 ./autom4te.cache/output.0 ./autom4te.cache/traces.0 ./tests/Makefile.in ./Makefile.in ./configure ./src/gtextutils/Makefile.in ./src/Makefile.in ./config.h.in ./doc/Makefile.in ./config/config.sub ./config/install-sh ./config/config.guess ./config/compile ./config/ltmain.sh ./config/depcomp ./config/test-driver ./config/missing
> rm -f debian/autoreconf.before debian/autoreconf.after
> dh_clean
> rm -f debian/debhelper-build-stamp
> rm -rf debian/.debhelper/
> rm -f debian/libgtextutils-dev.debhelper.log debian/libgtextutils0v5.debhelper.log
> rm -f -- debian/libgtextutils-dev.substvars debian/libgtextutils0v5.substvars debian/files
> rm -fr -- debian/libgtextutils-dev/ debian/tmp/ debian/libgtextutils0v5/
> find . \( \( \
> \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
> \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
> -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
> -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
> -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
> \) -exec rm -f {} + \) -o \
> \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
> dpkg-source -b .
> dpkg-source: info: using options from libgtextutils-0.7/debian/source/options: --single-debian-patch
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building libgtextutils using existing ./libgtextutils_0.7.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to tests/fdout.txt.gz: binary file contents changed
> dpkg-source: error: add tests/fdout.txt.gz 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/pipe_out.txt.gz: binary file contents changed
> dpkg-source: error: add tests/pipe_out.txt.gz 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/libgtextutils_0.7-8_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-med-packaging
mailing list