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

Bug#1048958: tcm: Fails to build source after successful build



Source: tcm
Version: 2.20+TSQD-7
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 tcm
> dpkg-buildpackage: info: source version 2.20+TSQD-7
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Andreas Beckmann <anbe@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh_testdir
> dh_testroot
> rm -f build-stamp configure-stamp
> /usr/bin/make clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> making clean...
> for dir in bin lib src doc; do \
>                 (cd ${dir}; /usr/bin/make TCM_HOME='/<<PKGBUILDDIR>>' clean); done
> make[2]: Entering directory '/<<PKGBUILDDIR>>/bin'
> /bin/rm -f -r t* c*
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/bin'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lib'
> /bin/rm -f -r lib*.so
> /bin/rm -f -r lib*.a
> /bin/rm -f -r help/CHANGELOG
> /bin/rm -f -r help/COPYING
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> for dir in gl ui ed dg tb sd st; do \
>                 (cd ${dir}; /usr/bin/make clean); done
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/gl'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> echo > instances.h
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/gl'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/ui'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/ui'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/ed'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/ed'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/dg'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/dg'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/tb'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/tb'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/sd'
> Makefile:31: warning: overriding recipe for target 'tsqd'
> Makefile:19: warning: ignoring old recipe for target 'tsqd'
> for dir in bv dv fv gd pv tr; do \
>                 (cd ${dir}; /usr/bin/make clean); done
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/sd/bv'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> /bin/rm -f -r adsedgelabel.c adsedgelabel.tab.*
> /bin/rm -f -r adsedgelabelevaluation.c adsedgelabelevaluation.tab.*
> /bin/rm -f -r adsmcoutput.c adsmcoutput.tab.*
> /bin/rm -f -r adsltlformula.c adsltlformula.tab.*
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sd/bv'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/sd/dv'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> /bin/rm -f -r cardconstraint.c cardconstraint.tab.*
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sd/dv'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/sd/fv'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> /bin/rm -f -r cardconstraint.c cardconstraint.tab.*
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sd/fv'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/sd/gd'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sd/gd'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/sd/pv'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sd/pv'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/sd/tr'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sd/tr'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/sd'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/st'
> /bin/rm -f -r *.o core /<<PKGBUILDDIR>>/src/ptrepository/* /<<PKGBUILDDIR>>/src/Templates.DB/*
> /bin/rm -f -r SunWS_cache
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/st'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> if test -d docsrc; then\
>                 for dir in docxx userdoc techdoc classdoc; do \
>                         (cd docsrc/${dir}; \
>                         /usr/bin/make clean); done; \
>                 rm -f usersguide/*; \
>                 rm -f developersguide/*; \
>                 rm -f sourcecode/*; \
>                 rm -f *.pdf *.ps.gz; fi \
>  
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> done making clean...
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> (cd src; rm Makefile -f; ln -s Makefile.gcc Makefile) #fix the diff
> rm -f src/Config.tmpl_linux src/gl/instances.h
> dh_clean
> dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building tcm using existing ./tcm_2.20+TSQD.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to src/Config.tmpl:
> dpkg-source: error:   new version is plain file
> dpkg-source: error:   old version is symlink to Config.tmpl_linux
> dpkg-source: warning: ignoring deletion of file src/Config.tmpl_linux, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/gl/instances.h, use --include-removal to override
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
> 
> 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/tcm_2.20+TSQD-7_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: