Bug#1047170: toon: Fails to build source after successful build

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


Source: toon
Version: 0.0~git20220106104723.370dcd9-2
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 toon
> dpkg-buildpackage: info: source version 0.0~git20220106104723.370dcd9-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Roland Mas <lolando at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f tests/slice.testout tests/vector_resize.testout tests/gauss_jordan.testout tests/chol_toon.testout tests/fill.testout tests/so3.testout tests/complex.testout tests/gr_svd.testout tests/diagonal_matrix.testout tests/gaussian_elimination.testout tests/zeros.testout tests/swap.testout tests/initializer_list.testout tests/initializer_list_fail_1.testout tests/initializer_list_fail_2.testout tests/sim3.testout tests/eigen-sqrt.testout tests/chol_lapack.testout tests/sym_eigen.testout tests/qr.testout tests/lu.testout tests/determinant.testout tests/slice.test tests/vector_resize.test tests/gauss_jordan.test tests/chol_toon.test tests/fill.test tests/so3.test tests/complex.test tests/gr_svd.test tests/diagonal_matrix.test tests/gaussian_elimination.test tests/zeros.test tests/swap.test tests/initializer_list.test 
> tests/initializer_list_fail_1.test tests/initializer_list_fail_2.test tests/sim3.test tests/eigen-sqrt.test tests/chol_lapack.test tests/sym_eigen.test tests/qr.test tests/lu.test tests/determinant.test tests/slice.result tests/vector_resize.result tests/gauss_jordan.result tests/chol_toon.result tests/fill.result tests/so3.result tests/complex.result tests/gr_svd.result tests/diagonal_matrix.result tests/gaussian_elimination.result tests/zeros.result tests/swap.result tests/initializer_list.result tests/initializer_list_fail_1.result tests/initializer_list_fail_2.result tests/sim3.result tests/eigen-sqrt.result tests/chol_lapack.result tests/sym_eigen.result tests/qr.result tests/lu.result tests/determinant.result
> rm -rf html
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
> 	rm -f -- ./TooN/internal/config.hh.in\~ ./TooN/internal/config.hh.in ./autom4te.cache/requests ./autom4te.cache/traces.2 ./autom4te.cache/output.2 ./autom4te.cache/output.1 ./autom4te.cache/traces.1 ./autom4te.cache/output.0 ./autom4te.cache/traces.0 ./configure ./configure\~
> 	rm -f debian/autoreconf.before debian/autoreconf.after
>    dh_clean
> 	rm -f debian/debhelper-build-stamp
> 	rm -rf debian/.debhelper/
> 	rm -f debian/libtoon-dev.debhelper.log
> 	rm -f -- debian/libtoon-dev.substvars debian/files
> 	rm -fr -- debian/libtoon-dev/ debian/tmp/
> 	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 toon using existing ./toon_0.0~git20220106104723.370dcd9.orig.tar.xz
> dpkg-source: warning: ignoring deletion of file configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file TooN/internal/config.hh.in, use --include-removal to override
> dpkg-source: warning: executable mode 0755 of 'config.status' will not be represented in diff
> dpkg-source: info: local changes detected, the modified files are:
>  toon-0.0~git20220106104723.370dcd9/Makefile
>  toon-0.0~git20220106104723.370dcd9/TooN.pc
>  toon-0.0~git20220106104723.370dcd9/TooN/internal/config.hh
>  toon-0.0~git20220106104723.370dcd9/config.log
>  toon-0.0~git20220106104723.370dcd9/config.status
>  toon-0.0~git20220106104723.370dcd9/tests/results
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/toon_0.0~git20220106104723.370dcd9-2.diff._PR3m1
> dpkg-source: info: Hint: make sure the version in debian/changelog matches the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> 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/toon_0.0~git20220106104723.370dcd9-2_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