Source: calcium
Version: 0.4.1-3
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
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 calcium
> dpkg-buildpackage: info: source version 0.4.1-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Julien Puydt <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/calcium'
> rm -rf ../build/calcium ../build/calcium/../calcium.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/calcium'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/utils_flint'
> rm -rf ../build/utils_flint ../build/utils_flint/../utils_flint.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/utils_flint'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/fmpz_mpoly_q'
> rm -rf ../build/fmpz_mpoly_q ../build/fmpz_mpoly_q/../fmpz_mpoly_q.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/fmpz_mpoly_q'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/fexpr'
> rm -rf ../build/fexpr ../build/fexpr/../fexpr.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/fexpr'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/fexpr_builtin'
> rm -rf ../build/fexpr_builtin ../build/fexpr_builtin/../fexpr_builtin.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/fexpr_builtin'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/qqbar'
> rm -rf ../build/qqbar ../build/qqbar/../qqbar.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/qqbar'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/ca'
> rm -rf ../build/ca ../build/ca/../ca.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/ca'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/ca_ext'
> rm -rf ../build/ca_ext ../build/ca_ext/../ca_ext.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/ca_ext'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/ca_field'
> rm -rf ../build/ca_field ../build/ca_field/../ca_field.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/ca_field'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/ca_vec'
> rm -rf ../build/ca_vec ../build/ca_vec/../ca_vec.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/ca_vec'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/ca_poly'
> rm -rf ../build/ca_poly ../build/ca_poly/../ca_poly.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/ca_poly'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/ca_mat'
> rm -rf ../build/ca_mat ../build/ca_mat/../ca_mat.lo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/ca_mat'
> rm -f      examples/binet  examples/dft  examples/elementary  
> examples/hilbert_matrix  examples/huge_expr  examples/machin  
> examples/swinnerton_dyer_poly libcalcium.so libcalcium.so.0 
> libcalcium.so.0.4.1 libcalcium.a
> rm -rf build
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: error: unwanted binary file: debian/doctrees/fexpr.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/ca_mat.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/setup.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/examples.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/pycalcium.doctree
> dpkg-source: error: unwanted binary file: 
> debian/doctrees/fexpr_builtin.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/ca_vec.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/history.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/introduction.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/bibliography.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/utils_flint.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/ca_ext.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/environment.pickle
> dpkg-source: error: unwanted binary file: debian/doctrees/ca_field.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/ca_poly.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/fmpz_mpoly_q.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/index.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/calcium.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/ca.doctree
> dpkg-source: error: unwanted binary file: debian/doctrees/qqbar.doctree
> dpkg-source: error: detected 20 unwanted binary files (add them in 
> debian/source/include-binaries to allow their inclusion).
> dpkg-source: info: using source format '3.0 (quilt)'
> 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/calcium_0.4.1-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.

Reply via email to