[Debichem-devel] Bug#1046821: libint2: Fails to build source after successful build

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


Source: libint2
Version: 2.7.2-1
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 libint2
> dpkg-buildpackage: info: source version 2.7.2-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Michael Banck <mbanck at debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --sourcedir=sourcedir
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean --sourcedir=/<<PKGBUILDDIR>>
> 	make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> for dir in src tests/eri tests/unit tests/hartree-fock doc tests/eri tests/unit tests/hartree-fock; \
>   do \
>     (cd ${dir} && make "DODEPEND=no" distclean) || exit 1; \
>   done
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> for dir in bin lib; \
>   do \
>     (cd ${dir} && make  distclean) || exit 1; \
>   done
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/bin'
> for dir in libint test_eri profile; \
>   do \
>     (cd ${dir} && make  distclean) || exit 1; \
>   done
> make[5]: Entering directory '/<<PKGBUILDDIR>>/src/bin/libint'
> rm -f *.o
> rm -f libINT.a test build_libint
> rm -f *.d
> rm -f *.dot
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/bin/libint'
> make[5]: Entering directory '/<<PKGBUILDDIR>>/src/bin/test_eri'
> rm -rf generate_eri_code test_eri time_eri test_eri_rys *.o *.d *.dot *.log
> rm -rf Make.compute_eri libint2_init.cc libint2_static_init.cc libint2_static_cleanup.cc  libint2_init.o libint2_static_init.o libint2_static_cleanup.o test_eri_conf.h libint2_types.h libint2_params.h libint2_iface.h libint2_iface_internal.h libint2_init.h libint2_static_init.h libint2_static_cleanup.h 
> rm -rf run_time_eri.pl run_timing_suite.pl stdtests.pl test_eri.pl time_eri.pl
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/bin/test_eri'
> make[5]: Entering directory '/<<PKGBUILDDIR>>/src/bin/profile'
> rm -rf generate_t0g12_code profile *.o *.d
> rm -rf *.dot *.log
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/bin/profile'
> rm -rf MakeVars
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/bin'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/lib'
> for dir in libint; \
>   do \
>     (cd ${dir} && make  distclean) || exit 1; \
>   done
> make[5]: Entering directory '/<<PKGBUILDDIR>>/src/lib/libint'
> if test -f source; then \
> cd src; make TO_TOPDIR=../../.. TOPDIR=/<<PKGBUILDDIR>>/src/lib/libint/../../.. SRCDIR=/<<PKGBUILDDIR>>/src/lib/libint distclean; \
> fi
> make[6]: Entering directory '/<<PKGBUILDDIR>>/src/lib/libint/tmp/libint'
> rm -rf *.lo
> rm -f /<<PKGBUILDDIR>>/src/lib/libint/../../../lib/libint2.la
> make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/lib/libint/tmp/libint'
> make realclean
> make[6]: Entering directory '/<<PKGBUILDDIR>>/src/lib/libint'
> rm -rf tmp/libint
> rm -f src
> rm -f source
> rm -f make_libsrcdir
> make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/lib/libint'
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/lib/libint'
> rm -rf MakeRules MakeVars
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/lib'
> rm -rf libintdirlist.h
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests/eri'
> rm -rf test *.o *.d
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/eri'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests/unit'
> rm -rf test *.o *.d
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/unit'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests/hartree-fock'
> rm -rf hartree-fock hartree-fock++ *.o *.d
> rm -rf ../../include/libint2/boost hf++.molden
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/hartree-fock'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
> for dir in classdoc progman; \
>   do \
>     (cd ${dir} && make  distclean) || exit 1; \
>   done
> make[4]: Entering directory '/<<PKGBUILDDIR>>/doc/classdoc'
> rm -rf 
> rm -rf html
> rm -rf doxygen.cfg
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc/classdoc'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/doc/progman'
> rm -rf progman.
> rm -f macros.tex
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc/progman'
> rm -f MakeRules MakeVars
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests/eri'
> rm -rf test *.o *.d
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/eri'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests/unit'
> rm -rf test *.o *.d
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/unit'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests/hartree-fock'
> rm -rf hartree-fock hartree-fock++ *.o *.d
> rm -rf ../../include/libint2/boost hf++.molden
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/hartree-fock'
> rm -rf autom4te.cache config.status config.log conf*.file conf*.dir *.dSYM depcheck* libtool \
> Makedirlist libint2.pc
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f include/libint2/basis.h include/libint2/config.h src/lib/libint/MakeVars.features tests/MakeVars
> rm -rf sourcedir libint-$(dpkg-parsechangelog -S Version | sed -e s/^[0-9]*:// -e 's/-[^-]*$//').tgz
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean -O--sourcedir=sourcedir
>    dh_clean -O--sourcedir=sourcedir
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building libint2 using existing ./libint2_2.7.2.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/libint2.so:
> dpkg-source: error:   new version is symlink to libint2.so.2
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/libint2.so.2:
> dpkg-source: error:   new version is symlink to libint2.so.2.0.4
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/CMakeFiles/3.27.2/CMakeDetermineCompilerABI_C.bin: binary file contents changed
> dpkg-source: error: add obj-x86_64-linux-gnu/CMakeFiles/3.27.2/CMakeDetermineCompilerABI_C.bin in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'obj-x86_64-linux-gnu/CMakeFiles/3.27.2/CMakeDetermineCompilerABI_C.bin' will not be represented in diff
> dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/CMakeFiles/3.27.2/CMakeDetermineCompilerABI_CXX.bin: binary file contents changed
> [...]
> dpkg-source: error: add obj-x86_64-linux-gnu/hf-libint2 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'obj-x86_64-linux-gnu/hf-libint2' will not be represented in diff
> dpkg-source: warning: file libint2-2.7.2/obj-x86_64-linux-gnu/install_manifest.txt has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/libint2.a: binary file contents changed
> dpkg-source: error: add obj-x86_64-linux-gnu/libint2.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/libint2.so.2.0.4: binary file contents changed
> dpkg-source: error: add obj-x86_64-linux-gnu/libint2.so.2.0.4 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'obj-x86_64-linux-gnu/libint2.so.2.0.4' 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/libint2_2.7.2-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.



More information about the Debichem-devel mailing list