Bug#1045613: libmediascan: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:20:53 BST 2023


Source: libmediascan
Version: 0~20220401.git.34fc2d-3
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 libmediascan
> dpkg-buildpackage: info: source version 0~20220401.git.34fc2d-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Paul Gevers <elbrus at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
> 	rm -f debian/libmedia-scan-perl.debhelper.log debian/libmediascan-dev.debhelper.log debian/libmediascan0.debhelper.log
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> 	make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in include
> make[3]: Entering directory '/<<PKGBUILDDIR>>/include'
> 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 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/include'
> Making distclean in src
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "libmediascan.la" || rm -f libmediascan.la
> rm -rf .libs _libs
> 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 -rf jenkins/.libs jenkins/_libs
> rm -f jenkins/.deps/.dirstamp
> rm -f jenkins/*.o
> rm -f ./so_locations
> rm -rf libdlna/.libs libdlna/_libs
> rm -f jenkins/.dirstamp
> rm -f jenkins/*.lo
> rm -f libdlna/.deps/.dirstamp
> rm -f libdlna/*.o
> rm -f libdlna/.dirstamp
> rm -f libdlna/*.lo
> rm -f ./.deps/libmediascan_la-NSString+SymlinksAndAliases.Plo
> rm -f ./.deps/libmediascan_la-audio.Plo
> rm -f ./.deps/libmediascan_la-buffer.Plo
> rm -f ./.deps/libmediascan_la-database.Plo
> rm -f ./.deps/libmediascan_la-error.Plo
> rm -f ./.deps/libmediascan_la-image.Plo
> rm -f ./.deps/libmediascan_la-image_bmp.Plo
> rm -f ./.deps/libmediascan_la-image_gif.Plo
> rm -f ./.deps/libmediascan_la-image_jpeg.Plo
> rm -f ./.deps/libmediascan_la-image_png.Plo
> rm -f ./.deps/libmediascan_la-mediascan.Plo
> rm -f ./.deps/libmediascan_la-mediascan_linux.Plo
> rm -f ./.deps/libmediascan_la-mediascan_macos.Plo
> rm -f ./.deps/libmediascan_la-mediascan_sun.Plo
> rm -f ./.deps/libmediascan_la-mediascan_unix.Plo
> rm -f ./.deps/libmediascan_la-progress.Plo
> rm -f ./.deps/libmediascan_la-result.Plo
> rm -f ./.deps/libmediascan_la-tag.Plo
> rm -f ./.deps/libmediascan_la-tag_item.Plo
> rm -f ./.deps/libmediascan_la-thread.Plo
> rm -f ./.deps/libmediascan_la-thumb.Plo
> rm -f ./.deps/libmediascan_la-util.Plo
> rm -f ./.deps/libmediascan_la-video.Plo
> rm -f jenkins/.deps/libmediascan_la-lookup3.Plo
> rm -f libdlna/.deps/libmediascan_la-audio_aac.Plo
> rm -f libdlna/.deps/libmediascan_la-audio_ac3.Plo
> rm -f libdlna/.deps/libmediascan_la-audio_amr.Plo
> rm -f libdlna/.deps/libmediascan_la-audio_atrac3.Plo
> rm -f libdlna/.deps/libmediascan_la-audio_g726.Plo
> rm -f libdlna/.deps/libmediascan_la-audio_lpcm.Plo
> rm -f libdlna/.deps/libmediascan_la-audio_mp1.Plo
> rm -f libdlna/.deps/libmediascan_la-audio_mp2.Plo
> rm -f libdlna/.deps/libmediascan_la-audio_mp3.Plo
> rm -f libdlna/.deps/libmediascan_la-audio_wma.Plo
> rm -f libdlna/.deps/libmediascan_la-av_mpeg1.Plo
> rm -f libdlna/.deps/libmediascan_la-av_mpeg2.Plo
> rm -f libdlna/.deps/libmediascan_la-av_mpeg4_part10.Plo
> rm -f libdlna/.deps/libmediascan_la-av_mpeg4_part2.Plo
> rm -f libdlna/.deps/libmediascan_la-av_wmv9.Plo
> rm -f libdlna/.deps/libmediascan_la-containers.Plo
> rm -f libdlna/.deps/libmediascan_la-profiles.Plo
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in test
> make[3]: Entering directory '/<<PKGBUILDDIR>>/test'
> rm -rf .libs _libs
> rm -f *.o
> test -z "api_test.log image_test.log" || rm -f api_test.log image_test.log
> rm -f *.lo
>  rm -f api_test image_test
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test -z "api_test.trs image_test.trs" || rm -f api_test.trs image_test.trs
> test . = "." || test -z "" || rm -f 
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f ./.deps/api_test-api_test.Po
> rm -f ./.deps/api_test-tap.Po
> rm -f ./.deps/api_test-test.Po
> rm -f ./.deps/api_test-test_background.Po
> rm -f ./.deps/api_test-test_images.Po
> rm -f ./.deps/image_test-image_test.Po
> rm -f ./.deps/image_test-tap.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/test'
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> 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[3]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_clean --sourcedir=/<<PKGBUILDDIR>>/bindings/perl
> 	cd bindings/perl && make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/bindings/perl'
> "/usr/bin/perl" "-MExtUtils::Manifest=fullcheck" -e fullcheck
> rm -f \
>   Scan.bso Scan.def \
>   Scan.exp Scan.x \
>   Scan.bs blib/arch/auto/Media/Scan/extralibs.all \
>   blib/arch/auto/Media/Scan/extralibs.ld Makefile.aperl \
>   *.a *.o \
>   *perl.core MYMETA.json \
>   MYMETA.yml Scan.base \
>   Scan.bs Scan.bso \
>   Scan.c Scan.def \
>   Scan.exp Scan.o \
>   Scan_def.old blibdirs.ts \
>   core core.*perl.*.? \
>   core.[0-9] core.[0-9][0-9] \
>   core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] \
>   core.[0-9][0-9][0-9][0-9][0-9] libScan.def \
>   mon.out perl \
>   perl perl.exe \
>   perlmain.c pm_to_blib \
>   pm_to_blib.ts so_locations \
>   tmon.out 
> rm -rf \
>   blib 
> mv Makefile Makefile.old > /dev/null 2>&1
> rm -f \
>   Makefile Makefile.old \
>   Scan.o 
> rm -rf \
>   Media-Scan-0.02 
> No such file: README
> Not in MANIFEST: __db.001
> Not in MANIFEST: __db.002
> Not in MANIFEST: __db.003
> Not in MANIFEST: libmediascan.db
> Not in MANIFEST: t/async.t
> Not in MANIFEST: winbuild.bat
> Not in MANIFEST: xs/Image.xs
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/bindings/perl'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
> 	rm -f -- ./ar-lib ./install-sh ./test/Makefile.in ./m4/ltsugar.m4 ./m4/lt\~obsolete.m4 ./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 ./include/Makefile.in ./Makefile.in ./compile ./ltmain.sh ./configure ./src/Makefile.in ./config.h.in ./depcomp ./configure\~ ./test-driver ./config.h.in\~ ./missing
> 	rm -f debian/autoreconf.before debian/autoreconf.after
>    dh_clean
> 	rm -f debian/debhelper-build-stamp
> 	cp -an --reflink=auto debian/.debhelper/bucket/files/f71db9d796b6f173a6fdb4ddd08424e02085b24156018cd02063d159c9d17bb2 debian/.debhelper/bucket/files/f71db9d796b6f173a6fdb4ddd08424e02085b24156018cd02063d159c9d17bb2.tmp
> 	mv debian/.debhelper/bucket/files/f71db9d796b6f173a6fdb4ddd08424e02085b24156018cd02063d159c9d17bb2.tmp config.guess
> 	cp -an --reflink=auto debian/.debhelper/bucket/files/52d7418817df4a0bd139446cf014f9dfd5bb3406a95c3109ca6fd578068be472 debian/.debhelper/bucket/files/52d7418817df4a0bd139446cf014f9dfd5bb3406a95c3109ca6fd578068be472.tmp
> 	mv debian/.debhelper/bucket/files/52d7418817df4a0bd139446cf014f9dfd5bb3406a95c3109ca6fd578068be472.tmp config.sub
> 	rm -f debian/.debhelper/bucket/index
> 	rm -rf debian/.debhelper/
> 	rm -f -- debian/libmedia-scan-perl.substvars debian/libmediascan0.substvars debian/libmediascan-dev.substvars debian/files
> 	rm -fr -- debian/libmedia-scan-perl/ debian/tmp/ debian/libmediascan0/ debian/libmediascan-dev/
> 	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 {} + \) \)
> 	rm -f c-build-stamp c-configure-stamp c-test-stamp perl-build-stamp perl-configure-stamp perl-test-stamp
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building libmediascan using existing ./libmediascan_0~20220401.git.34fc2d.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file ar-lib, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file install-sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file libtool, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file INSTALL, 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 config.h.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file depcomp, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file test-driver, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file missing, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file test/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file include/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/Makefile.in, use --include-removal to override
> dpkg-source: error: cannot represent change to bindings/perl/__db.001: binary file contents changed
> dpkg-source: error: add bindings/perl/__db.001 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to bindings/perl/__db.002: binary file contents changed
> dpkg-source: error: add bindings/perl/__db.002 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to bindings/perl/__db.003: binary file contents changed
> dpkg-source: error: add bindings/perl/__db.003 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to bindings/perl/libmediascan.db: binary file contents changed
> dpkg-source: error: add bindings/perl/libmediascan.db in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test/__db.001: binary file contents changed
> dpkg-source: error: add test/__db.001 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test/__db.002: binary file contents changed
> dpkg-source: error: add test/__db.002 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test/__db.003: binary file contents changed
> dpkg-source: error: add test/__db.003 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test/libmediascan.db: binary file contents changed
> dpkg-source: error: add test/libmediascan.db 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/libmediascan_0~20220401.git.34fc2d-3_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 pkg-perl-maintainers mailing list