[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1049188: qdbm: Fails to build source after successful build



Source: qdbm
Version: 1.8.78-12
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@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 qdbm
> dpkg-buildpackage: info: source version 1.8.78-12
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jelmer Vernooij <jelmer@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh_testdir
> dh_testroot
> # Add here commands to clean up after the build process.
> cd java && /usr/bin/make distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>/java'
> rm -rf qdbm *.class libjqdbm.so.1.0.0 libjqdbm.so.1 libjqdbm.so *.jar *.o *.a *.so \
>   *.exe *.dll.a *.dll *.dylib *.jnilib *.sl a.out casket *~
> rm -rf Makefile config.cache config.log config.status autom4te.cache
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/java'
> cd ruby && /usr/bin/make distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>/ruby'
> make[1]: *** No rule to make target 'distclean'.  Stop.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/ruby'
> make: [debian/rules:106: clean] Error 2 (ignored)
> cd perl && /usr/bin/make distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>/perl'
> cd depot && if [ -f Makefile ] ; then LD_LIBRARY_PATH=.:..:../..:/usr/local/lib:/nonexistent/lib make -i clean ; fi || true
> make[2]: Entering directory '/<<PKGBUILDDIR>>/perl/depot'
> rm -f \
>   Depot.bso Depot.def \
>   Depot.exp Depot.x \
>   Depot.bs blib/arch/auto/Depot/extralibs.all \
>   blib/arch/auto/Depot/extralibs.ld Makefile.aperl \
>   *.a *.o \
>   *perl.core Depot.base \
>   Depot.bs Depot.bso \
>   Depot.c Depot.def \
>   Depot.exp Depot.o \
>   Depot_def.old MYMETA.json \
>   MYMETA.yml 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] libDepot.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
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/perl/depot'
> cd depot && rm -rf Makefile blib pm_to_blib *.c *.o *.bs *.old casket *~
> cd curia && if [ -f Makefile ] ; then LD_LIBRARY_PATH=.:..:../..:/usr/local/lib:/nonexistent/lib make -i clean ; fi || true
> make[2]: Entering directory '/<<PKGBUILDDIR>>/perl/curia'
> rm -f \
>   Curia.bso Curia.def \
>   Curia.exp Curia.x \
>   Curia.bs blib/arch/auto/Curia/extralibs.all \
>   blib/arch/auto/Curia/extralibs.ld Makefile.aperl \
>   *.a *.o \
>   *perl.core Curia.base \
>   Curia.bs Curia.bso \
>   Curia.c Curia.def \
>   Curia.exp Curia.o \
>   Curia_def.old MYMETA.json \
>   MYMETA.yml 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] libCuria.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
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/perl/curia'
> cd curia && rm -rf Makefile blib pm_to_blib *.c *.o *.bs *.old casket *~
> cd villa && if [ -f Makefile ] ; then LD_LIBRARY_PATH=.:..:../..:/usr/local/lib:/nonexistent/lib make -i clean ; fi || true
> make[2]: Entering directory '/<<PKGBUILDDIR>>/perl/villa'
> rm -f \
>   Villa.bso Villa.def \
>   Villa.exp Villa.x \
>   Villa.bs blib/arch/auto/Villa/extralibs.all \
>   blib/arch/auto/Villa/extralibs.ld Makefile.aperl \
>   *.a *.o \
>   *perl.core MYMETA.json \
>   MYMETA.yml Villa.base \
>   Villa.bs Villa.bso \
>   Villa.c Villa.def \
>   Villa.exp Villa.o \
>   Villa_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] libVilla.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
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/perl/villa'
> cd villa && rm -rf Makefile blib pm_to_blib *.c *.o *.bs *.old casket *~
> rm -rf casket *~
> rm -rf Makefile config.cache config.log config.status autom4te.cache
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/perl'
> cd plus && /usr/bin/make distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>/plus'
> rm -rf libxqdbm.a libxqdbm.so.3.0.0 libxqdbm.so.3 libxqdbm.so xdptest xcrtest xvltest *.o *.a *.so \
>   *.exe *.dll.a *.dll *.dylib *.sl a.out TAGS gmon.out leak.log casket *~
> rm -rf Makefile config.cache config.log config.status autom4te.cache
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/plus'
> cd cgi && /usr/bin/make distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>/cgi'
> rm -rf qadm.cgi qupl.cgi qfts.cgi *.o leak.log *~
> rm -rf Makefile config.cache config.log config.status autom4te.cache \
>   qadmdir/* qupldir/* casket
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/cgi'
> [ ! -f Makefile ] || /usr/bin/make distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf libqdbm.a libqdbm.so.14.14.0 libqdbm.so.14 libqdbm.so dpmgr dptest dptsv crmgr crtest crtsv rlmgr rltest cbtest cbcodec vlmgr vltest vltsv odmgr odtest odidx qmttest *.o *.a *.so *.lo *.la a.out .libs \
>   *.exe *.dll.a *.dll *.dylib *.sl TAGS srcdoc gmon.out leak.log \
>   casket casket.* casket-* *~
> for dir in plus java perl ruby cgi lab bros ; \
>   do \
>     if [ -d $dir ] ; \
>     then \
>       echo Making distclean in $dir ; \
>       ( cd $dir && if [ -f Makefile ] ; then make distclean ; fi ) ; \
>     fi ; \
>   done
> Making distclean in plus
> Making distclean in java
> Making distclean in perl
> Making distclean in ruby
> Making distclean in cgi
> Making distclean in lab
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lab'
> rm -rf hashtest sorttest fmtcnv031127 *.o *.exe a.out gmon.out leak.log *~
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lab'
> Making distclean in bros
> make[2]: Entering directory '/<<PKGBUILDDIR>>/bros'
> rm -rf qdbmtest ndbmtest sdbmtest gdbmtest tdbtest cdbtest bdbtest *.o *.exe a.out casket* *~
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/bros'
> rm -rf Makefile LTmakefile qdbm.spec qdbm.pc config.cache config.log config.status \
>   autom4te.cache rpm-tmp *-win32
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -rf ruby19 config.sub config.guess *-stamp with-gdbm debian/tmp-gdbm
> dh_clean
> 	rm -f debian/debhelper-build-stamp
> 	rm -rf debian/.debhelper/
> 	rm -f -- debian/libqdbm14.substvars debian/qdbm-doc.substvars debian/libqdbm-dev.substvars debian/qdbm-util.substvars debian/qdbm-cgi.substvars debian/libxqdbm3c2.substvars debian/libxqdbm-dev.substvars debian/libqdbm3\+\+c2.substvars debian/libqdbm\+\+-dev.substvars debian/libqdbm-perl.substvars debian/ruby-qdbm.substvars debian/libqdbm-java.substvars debian/files
> 	rm -fr -- debian/libqdbm14/ debian/tmp/ debian/qdbm-doc/ debian/libqdbm-dev/ debian/qdbm-util/ debian/qdbm-cgi/ debian/libxqdbm3c2/ debian/libxqdbm-dev/ debian/libqdbm3\+\+c2/ debian/libqdbm\+\+-dev/ debian/libqdbm-perl/ debian/ruby-qdbm/ debian/libqdbm-java/
> 	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 source format '3.0 (quilt)'
> dpkg-source: info: building qdbm using existing ./qdbm_1.8.78.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: newly created empty file 'ruby/curia/.sitearchdir.time' will not be represented in diff
> dpkg-source: warning: newly created empty file 'ruby/curia/.sitelibdir.time' will not be represented in diff
> dpkg-source: error: cannot represent change to ruby/curia/mod_curia.o: binary file contents changed
> dpkg-source: error: add ruby/curia/mod_curia.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to ruby/curia/mod_curia.so: binary file contents changed
> dpkg-source: error: add ruby/curia/mod_curia.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 'ruby/curia/mod_curia.so' will not be represented in diff
> dpkg-source: warning: newly created empty file 'ruby/depot/.sitearchdir.time' will not be represented in diff
> dpkg-source: warning: newly created empty file 'ruby/depot/.sitelibdir.time' will not be represented in diff
> dpkg-source: error: cannot represent change to ruby/depot/mod_depot.o: binary file contents changed
> dpkg-source: error: add ruby/depot/mod_depot.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to ruby/depot/mod_depot.so: binary file contents changed
> dpkg-source: error: add ruby/depot/mod_depot.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 'ruby/depot/mod_depot.so' will not be represented in diff
> dpkg-source: warning: newly created empty file 'ruby/villa/.sitearchdir.time' will not be represented in diff
> dpkg-source: warning: newly created empty file 'ruby/villa/.sitelibdir.time' will not be represented in diff
> dpkg-source: error: cannot represent change to ruby/villa/mod_villa.o: binary file contents changed
> dpkg-source: error: add ruby/villa/mod_villa.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to ruby/villa/mod_villa.so: binary file contents changed
> dpkg-source: error: add ruby/villa/mod_villa.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 'ruby/villa/mod_villa.so' 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/qdbm_1.8.78-12_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 to: