Source: chafa
Version: 1.12.5-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: [email protected]
Usertags: qa-doublebuild

Hi,

This package fails to do build a binary-only build (not source) after a
successful build (dpkg-buildpackage ; dpkg-buildpackage -b).

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/DoubleBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -b
> ------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package chafa
> dpkg-buildpackage: info: source version 1.12.5-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Mo Zhou <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in chafa
> make[2]: Entering directory '/<<PKGBUILDDIR>>/chafa'
> Making distclean in internal
> make[3]: Entering directory '/<<PKGBUILDDIR>>/chafa/internal'
> Making distclean in smolscale
> make[4]: Entering directory '/<<PKGBUILDDIR>>/chafa/internal/smolscale'
> rm -rf .libs _libs
> test -z "libsmolscale.la libsmolscale-avx2.la" || rm -f libsmolscale.la 
> libsmolscale-avx2.la
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> 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/libsmolscale_avx2_la-smolscale-avx2.Plo
> rm -f ./.deps/libsmolscale_la-smolscale.Plo
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/chafa/internal/smolscale'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/chafa/internal'
> rm -rf .libs _libs
> test -z "libchafa-internal.la libchafa-mmx.la libchafa-sse41.la 
> libchafa-popcnt.la" || rm -f libchafa-internal.la libchafa-mmx.la 
> libchafa-sse41.la libchafa-popcnt.la
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./so_locations
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/chafa/internal'
> rm -f ./.deps/libchafa_internal_la-chafa-base64.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-batch.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-canvas-printer.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-color-hash.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-color-table.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-color.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-dither.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-indexed-image.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-iterm2-canvas.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-kitty-canvas.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-palette.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-pca.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-pixops.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-sixel-canvas.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-string-util.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-symbols.Plo
> rm -f ./.deps/libchafa_internal_la-chafa-work-cell.Plo
> rm -f ./.deps/libchafa_mmx_la-chafa-mmx.Plo
> rm -f ./.deps/libchafa_popcnt_la-chafa-popcnt.Plo
> rm -f ./.deps/libchafa_sse41_la-chafa-sse41.Plo
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/chafa/internal'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/chafa'
> test -z "libchafa.la" || rm -f libchafa.la
> rm -rf .libs _libs
> test -z "" || rm -f 
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "chafaconfig.h" || rm -f chafaconfig.h
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "chafa-term-seq-doc.h chafaconfig-stamp chafaconfig.h" || rm -f 
> chafa-term-seq-doc.h chafaconfig-stamp chafaconfig.h
> rm -f ./so_locations
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/chafa'
> rm -f ./.deps/libchafa_la-chafa-canvas-config.Plo
> rm -f ./.deps/libchafa_la-chafa-canvas.Plo
> rm -f ./.deps/libchafa_la-chafa-features.Plo
> rm -f ./.deps/libchafa_la-chafa-symbol-map.Plo
> rm -f ./.deps/libchafa_la-chafa-term-db.Plo
> rm -f ./.deps/libchafa_la-chafa-term-info.Plo
> rm -f ./.deps/libchafa_la-chafa-util.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/chafa'
> Making distclean in docs
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> test -z "chafa.actions chafa.args chafa.hierarchy chafa.interfaces 
> chafa.prerequisites chafa.signals chafa-undocumented.txt chafa-undeclared.txt 
> chafa-unused.txt setup-build.stamp scan-build.stamp sgml-build.stamp 
> html-build.stamp pdf-build.stamp sgml.stamp html.stamp pdf.stamp 
> gtkdoc-check.test chafa.1 chafa.html" || rm -f chafa.actions chafa.args 
> chafa.hierarchy chafa.interfaces chafa.prerequisites chafa.signals 
> chafa-undocumented.txt chafa-undeclared.txt chafa-unused.txt 
> setup-build.stamp scan-build.stamp sgml-build.stamp html-build.stamp 
> pdf-build.stamp sgml.stamp html.stamp pdf.stamp gtkdoc-check.test chafa.1 
> chafa.html
> rm -rf .libs _libs
> rm -f *.lo
> test -z "version.xml" || rm -f version.xml
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
> Making distclean in libnsgif
> make[2]: Entering directory '/<<PKGBUILDDIR>>/libnsgif'
> rm -rf .libs _libs
> test -z "libnsgif.la" || rm -f libnsgif.la
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> 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/libnsgif_la-libnsgif.Plo
> rm -f ./.deps/libnsgif_la-lzw.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/libnsgif'
> Making distclean in lodepng
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lodepng'
> rm -rf .libs _libs
> test -z "liblodepng.la" || rm -f liblodepng.la
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> 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/liblodepng_la-lodepng.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lodepng'
> Making distclean in tools
> make[2]: Entering directory '/<<PKGBUILDDIR>>/tools'
> Making distclean in chafa
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tools/chafa'
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
>  rm -f chafa
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/chafa-chafa.Po
> rm -f ./.deps/chafa-file-mapping.Po
> rm -f ./.deps/chafa-font-loader.Po
> rm -f ./.deps/chafa-gif-loader.Po
> rm -f ./.deps/chafa-im-loader.Po
> rm -f ./.deps/chafa-jpeg-loader.Po
> rm -f ./.deps/chafa-media-loader.Po
> rm -f ./.deps/chafa-named-colors.Po
> rm -f ./.deps/chafa-png-loader.Po
> rm -f ./.deps/chafa-svg-loader.Po
> rm -f ./.deps/chafa-tiff-loader.Po
> rm -f ./.deps/chafa-webp-loader.Po
> rm -f ./.deps/chafa-xwd-loader.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tools/chafa'
> Making distclean in fontgen
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tools/fontgen'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tools/fontgen'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tools'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tools'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/tools'
> Making distclean in tests
> make[2]: Entering directory '/<<PKGBUILDDIR>>/tests'
> Making distclean in data
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests/data'
> Making distclean in bad
> make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/data/bad'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/data/bad'
> Making distclean in good
> make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/data/good'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/data/good'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/data'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/data'
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/data'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
> rm -rf .libs _libs
> rm -f *.o
> test -z "term-info-test.log chafa-tool-bad-test.sh.log 
> chafa-tool-cmode-test.sh.log chafa-tool-format-test.sh.log 
> chafa-tool-loader-test.sh.log chafa-tool-options-test.sh.log 
> chafa-tool-pipe-test.sh.log" || rm -f term-info-test.log 
> chafa-tool-bad-test.sh.log chafa-tool-cmode-test.sh.log 
> chafa-tool-format-test.sh.log chafa-tool-loader-test.sh.log 
> chafa-tool-options-test.sh.log chafa-tool-pipe-test.sh.log
> rm -f *.lo
> rm -f *.tab.c
>  rm -f term-info-test
> test -z "" || rm -f 
> test -z "term-info-test.trs chafa-tool-bad-test.sh.trs 
> chafa-tool-cmode-test.sh.trs chafa-tool-format-test.sh.trs 
> chafa-tool-loader-test.sh.trs chafa-tool-options-test.sh.trs 
> chafa-tool-pipe-test.sh.trs" || rm -f term-info-test.trs 
> chafa-tool-bad-test.sh.trs chafa-tool-cmode-test.sh.trs 
> chafa-tool-format-test.sh.trs chafa-tool-loader-test.sh.trs 
> chafa-tool-options-test.sh.trs chafa-tool-pipe-test.sh.trs
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "test-suite.log" || rm -f test-suite.log
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> rm -f ./.deps/term-info-test.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "chafa.pc" || rm -f chafa.pc
> rm -f config.h stamp-h1
> 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
> rm: cannot remove './m4': Is a directory
> dh_clean: error: rm -f -- debian/chafa.substvars debian/libchafa0.substvars 
> debian/libchafa-dev.substvars ./m4 debian/files returned exit code 1
> make: *** [debian/rules:6: clean] Error 25
> dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -b' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/16/chafa_1.12.5-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