Bug#1043719: coinor-cbc: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 14:17:57 BST 2023


Source: coinor-cbc
Version: 2.10.10+really2.10.10+ds1-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 coinor-cbc
> dpkg-buildpackage: info: source version 2.10.10+really2.10.10+ds1-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Pierre Gruet <pgt at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --without autoreconf
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in Cbc
> make[2]: Entering directory '/<<PKGBUILDDIR>>/Cbc'
> Making distclean in test
> make[3]: Entering directory '/<<PKGBUILDDIR>>/Cbc/test'
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f libtool
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test -z "yy.mps xx.mps continuous.mps integer.mps test2.lp test2.out test.lp test.mps test.out x1.mps.mps x2.mps.mps x3.mps.mps" || rm -f yy.mps xx.mps continuous.mps integer.mps test2.lp test2.out test.lp test.mps test.out x1.mps.mps x2.mps.mps x3.mps.mps
>  rm -f gamsTest gamsTest
>  rm -f osiUnitTest osiUnitTest
>  rm -f CInterfaceTest CInterfaceTest
> rm -rf ./.deps
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/Cbc/test'
> Making distclean in src/OsiCbc
> make[3]: Entering directory '/<<PKGBUILDDIR>>/Cbc/src/OsiCbc'
> test -z "libOsiCbc.la" || rm -f libOsiCbc.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f libtool
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f "./so_locations"
> rm -rf ./.deps
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/Cbc/src/OsiCbc'
> Making distclean in src
> make[3]: Entering directory '/<<PKGBUILDDIR>>/Cbc/src'
> test -z "libCbc.la libCbcSolver.la" || rm -f libCbc.la libCbcSolver.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f config.h stamp-h1 config_cbc.h stamp-h2
> rm -f libtool
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
>  rm -f cbc cbc
> rm -f "./so_locations"
> rm -f "./so_locations"
> rm -rf ./.deps
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/Cbc/src'
> Making distclean in .
> make[3]: Entering directory '/<<PKGBUILDDIR>>/Cbc'
> test -z "" || rm -f 
> rm -rf .libs _libs
> ( cd doxydoc ; rm -rf html *.log *.tag )
> rm -f *.lo
> test -z "examples/Makefile cbc.pc cbc-uninstalled.pc osi-cbc.pc osi-cbc-uninstalled.pc doxydoc/doxygen.conf" || rm -f examples/Makefile cbc.pc cbc-uninstalled.pc osi-cbc.pc osi-cbc-uninstalled.pc doxydoc/doxygen.conf
> rm -f libtool
> if test -r test/Makefile; then cd test; make distclean; fi
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> if test -r test/Makefile; then cd test; make clean; fi
> test -z " " || rm -f  
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/Cbc'
> rm -f config.status config.cache config.log configure.lineno configure.status.lineno
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/Cbc'
> Making distclean in .
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> ( cd doxydoc ; rm -rf html *.log *.tag )
> rm -f *.lo
> test -z "doxydoc/doxygen.conf" || rm -f doxydoc/doxygen.conf
> rm -f libtool
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test -z "coin_subdirs.txt  " || rm -f coin_subdirs.txt  
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno configure.status.lineno
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building coinor-cbc using existing ./coinor-cbc_2.10.10+really2.10.10+ds1.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to Cbc/test/continuous.mps.gz: binary file contents changed
> dpkg-source: error: add Cbc/test/continuous.mps.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 Cbc/test/integer.mps.gz: binary file contents changed
> dpkg-source: error: add Cbc/test/integer.mps.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 Cbc/test/test.mps.gz: binary file contents changed
> dpkg-source: error: add Cbc/test/test.mps.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 Cbc/test/test.out.gz: binary file contents changed
> dpkg-source: error: add Cbc/test/test.out.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 Cbc/test/test2.out.gz: binary file contents changed
> dpkg-source: error: add Cbc/test/test2.out.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 Cbc/test/x1.mps.mps.gz: binary file contents changed
> dpkg-source: error: add Cbc/test/x1.mps.mps.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 Cbc/test/x2.mps.mps.gz: binary file contents changed
> dpkg-source: error: add Cbc/test/x2.mps.mps.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 Cbc/test/x3.mps.mps.gz: binary file contents changed
> dpkg-source: error: add Cbc/test/x3.mps.mps.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/coinor-cbc_2.10.10+really2.10.10+ds1-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 debian-science-maintainers mailing list