Bug#1048512: ntl: Fails to build source after successful build

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


Source: ntl
Version: 11.5.1-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 ntl
> dpkg-buildpackage: info: source version 11.5.1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Julien Puydt <jpuydt at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean -D src
> 	cd src && make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> sh RemoveProg QuickTest ZZTest SSMulTest ZZ_pXTest lzz_pXTest BerlekampTest CanZassTest ZZXFacTest MoreFacTest LLLTest BitMatTest MatrixTest mat_lzz_pTest CharPolyTest RRTest QuadTest GF2XTest GF2EXTest GF2EXGCDTest subset ZZ_pEXTest ZZ_pEXGCDTest lzz_pEXTest lzz_pEXGCDTest Timing ThreadTest MakeDesc TestGetTime TestGetPID CheckFeatures CheckCompile GenConfigInfo CheckContract CheckThreads gen_gmp_aux gf2x_version_1_2_or_later_required
> rm -f *.o 
> rm -rf small
> ./libtool-build/libtool --mode=clean rm -f libntl.la *.lo #LSHAR
> libtool: clean: rm -f libntl.la .libs/libntl.so.44.0.1 .libs/libntl.so.44 .libs/libntl.so .libs/libntl.a .libs/libntl.la .libs/libntl.lai
> libtool: clean: rm -f BasicThreadPool.lo ./.libs/BasicThreadPool.o ./BasicThreadPool.o
> libtool: clean: rm -f FFT.lo ./.libs/FFT.o ./FFT.o
> libtool: clean: rm -f FacVec.lo ./.libs/FacVec.o ./FacVec.o
> libtool: clean: rm -f GF2.lo ./.libs/GF2.o ./GF2.o
> libtool: clean: rm -f GF2E.lo ./.libs/GF2E.o ./GF2E.o
> libtool: clean: rm -f GF2EX.lo ./.libs/GF2EX.o ./GF2EX.o
> libtool: clean: rm -f GF2EXFactoring.lo ./.libs/GF2EXFactoring.o ./GF2EXFactoring.o
> libtool: clean: rm -f GF2X.lo ./.libs/GF2X.o ./GF2X.o
> libtool: clean: rm -f GF2X1.lo ./.libs/GF2X1.o ./GF2X1.o
> libtool: clean: rm -f GF2XFactoring.lo ./.libs/GF2XFactoring.o ./GF2XFactoring.o
> libtool: clean: rm -f GF2XVec.lo ./.libs/GF2XVec.o ./GF2XVec.o
> libtool: clean: rm -f G_LLL_FP.lo ./.libs/G_LLL_FP.o ./G_LLL_FP.o
> libtool: clean: rm -f G_LLL_QP.lo ./.libs/G_LLL_QP.o ./G_LLL_QP.o
> libtool: clean: rm -f G_LLL_RR.lo ./.libs/G_LLL_RR.o ./G_LLL_RR.o
> libtool: clean: rm -f G_LLL_XD.lo ./.libs/G_LLL_XD.o ./G_LLL_XD.o
> libtool: clean: rm -f GetPID.lo ./.libs/GetPID.o ./GetPID.o
> libtool: clean: rm -f GetTime.lo ./.libs/GetTime.o ./GetTime.o
> libtool: clean: rm -f HNF.lo ./.libs/HNF.o ./HNF.o
> libtool: clean: rm -f LLL.lo ./.libs/LLL.o ./LLL.o
> libtool: clean: rm -f LLL_FP.lo ./.libs/LLL_FP.o ./LLL_FP.o
> libtool: clean: rm -f LLL_QP.lo ./.libs/LLL_QP.o ./LLL_QP.o
> libtool: clean: rm -f LLL_RR.lo ./.libs/LLL_RR.o ./LLL_RR.o
> libtool: clean: rm -f LLL_XD.lo ./.libs/LLL_XD.o ./LLL_XD.o
> libtool: clean: rm -f MatPrime.lo ./.libs/MatPrime.o ./MatPrime.o
> libtool: clean: rm -f RR.lo ./.libs/RR.o ./RR.o
> libtool: clean: rm -f WordVector.lo ./.libs/WordVector.o ./WordVector.o
> libtool: clean: rm -f ZZ.lo ./.libs/ZZ.o ./ZZ.o
> libtool: clean: rm -f ZZVec.lo ./.libs/ZZVec.o ./ZZVec.o
> libtool: clean: rm -f ZZX.lo ./.libs/ZZX.o ./ZZX.o
> libtool: clean: rm -f ZZX1.lo ./.libs/ZZX1.o ./ZZX1.o
> libtool: clean: rm -f ZZXCharPoly.lo ./.libs/ZZXCharPoly.o ./ZZXCharPoly.o
> libtool: clean: rm -f ZZXFactoring.lo ./.libs/ZZXFactoring.o ./ZZXFactoring.o
> libtool: clean: rm -f ZZ_p.lo ./.libs/ZZ_p.o ./ZZ_p.o
> libtool: clean: rm -f ZZ_pE.lo ./.libs/ZZ_pE.o ./ZZ_pE.o
> libtool: clean: rm -f ZZ_pEX.lo ./.libs/ZZ_pEX.o ./ZZ_pEX.o
> libtool: clean: rm -f ZZ_pEXFactoring.lo ./.libs/ZZ_pEXFactoring.o ./ZZ_pEXFactoring.o
> libtool: clean: rm -f ZZ_pX.lo ./.libs/ZZ_pX.o ./ZZ_pX.o
> libtool: clean: rm -f ZZ_pX1.lo ./.libs/ZZ_pX1.o ./ZZ_pX1.o
> libtool: clean: rm -f ZZ_pXCharPoly.lo ./.libs/ZZ_pXCharPoly.o ./ZZ_pXCharPoly.o
> libtool: clean: rm -f ZZ_pXFactoring.lo ./.libs/ZZ_pXFactoring.o ./ZZ_pXFactoring.o
> libtool: clean: rm -f ctools.lo ./.libs/ctools.o ./ctools.o
> libtool: clean: rm -f fileio.lo ./.libs/fileio.o ./fileio.o
> libtool: clean: rm -f lip.lo ./.libs/lip.o ./lip.o
> libtool: clean: rm -f lzz_p.lo ./.libs/lzz_p.o ./lzz_p.o
> libtool: clean: rm -f lzz_pE.lo ./.libs/lzz_pE.o ./lzz_pE.o
> libtool: clean: rm -f lzz_pEX.lo ./.libs/lzz_pEX.o ./lzz_pEX.o
> libtool: clean: rm -f lzz_pEXFactoring.lo ./.libs/lzz_pEXFactoring.o ./lzz_pEXFactoring.o
> libtool: clean: rm -f lzz_pX.lo ./.libs/lzz_pX.o ./lzz_pX.o
> libtool: clean: rm -f lzz_pX1.lo ./.libs/lzz_pX1.o ./lzz_pX1.o
> libtool: clean: rm -f lzz_pXCharPoly.lo ./.libs/lzz_pXCharPoly.o ./lzz_pXCharPoly.o
> libtool: clean: rm -f lzz_pXFactoring.lo ./.libs/lzz_pXFactoring.o ./lzz_pXFactoring.o
> libtool: clean: rm -f mat_GF2.lo ./.libs/mat_GF2.o ./mat_GF2.o
> libtool: clean: rm -f mat_GF2E.lo ./.libs/mat_GF2E.o ./mat_GF2E.o
> libtool: clean: rm -f mat_RR.lo ./.libs/mat_RR.o ./mat_RR.o
> libtool: clean: rm -f mat_ZZ.lo ./.libs/mat_ZZ.o ./mat_ZZ.o
> libtool: clean: rm -f mat_ZZ_p.lo ./.libs/mat_ZZ_p.o ./mat_ZZ_p.o
> libtool: clean: rm -f mat_ZZ_pE.lo ./.libs/mat_ZZ_pE.o ./mat_ZZ_pE.o
> libtool: clean: rm -f mat_lzz_p.lo ./.libs/mat_lzz_p.o ./mat_lzz_p.o
> libtool: clean: rm -f mat_lzz_pE.lo ./.libs/mat_lzz_pE.o ./mat_lzz_pE.o
> libtool: clean: rm -f mat_poly_ZZ.lo ./.libs/mat_poly_ZZ.o ./mat_poly_ZZ.o
> libtool: clean: rm -f mat_poly_ZZ_p.lo ./.libs/mat_poly_ZZ_p.o ./mat_poly_ZZ_p.o
> libtool: clean: rm -f mat_poly_lzz_p.lo ./.libs/mat_poly_lzz_p.o ./mat_poly_lzz_p.o
> libtool: clean: rm -f pd_FFT.lo ./.libs/pd_FFT.o ./pd_FFT.o
> libtool: clean: rm -f quad_float.lo ./.libs/quad_float.o ./quad_float.o
> libtool: clean: rm -f quad_float1.lo ./.libs/quad_float1.o ./quad_float1.o
> libtool: clean: rm -f thread.lo ./.libs/thread.o ./thread.o
> libtool: clean: rm -f tools.lo ./.libs/tools.o ./tools.o
> libtool: clean: rm -f vec_GF2.lo ./.libs/vec_GF2.o ./vec_GF2.o
> libtool: clean: rm -f vec_GF2E.lo ./.libs/vec_GF2E.o ./vec_GF2E.o
> libtool: clean: rm -f vec_RR.lo ./.libs/vec_RR.o ./vec_RR.o
> libtool: clean: rm -f vec_ZZ.lo ./.libs/vec_ZZ.o ./vec_ZZ.o
> libtool: clean: rm -f vec_ZZ_p.lo ./.libs/vec_ZZ_p.o ./vec_ZZ_p.o
> libtool: clean: rm -f vec_ZZ_pE.lo ./.libs/vec_ZZ_pE.o ./vec_ZZ_pE.o
> libtool: clean: rm -f vec_lzz_p.lo ./.libs/vec_lzz_p.o ./vec_lzz_p.o
> libtool: clean: rm -f vec_lzz_pE.lo ./.libs/vec_lzz_pE.o ./vec_lzz_pE.o
> libtool: clean: rm -f xdouble.lo ./.libs/xdouble.o ./xdouble.o
> libtool: clean: rmdir .libs >/dev/null 2>&1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> rm -f src/makefile include/NTL/config.h
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building ntl using existing ./ntl_11.5.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file include/NTL/config.h, use --include-removal to override
> dpkg-source: warning: newly created empty file 'src/libtool-build/Makefile.am' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'src/libtool-build/config.guess' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'src/libtool-build/config.status' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'src/libtool-build/config.sub' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'src/libtool-build/configure' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'src/libtool-build/install-sh' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'src/libtool-build/libtool' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'src/libtool-build/missing' will not be represented in diff
> dpkg-source: warning: newly created empty file 'src/need-to-run-configure' will not be represented in diff
> dpkg-source: warning: newly created empty file 'src/setup-phase' will not be represented in diff
> dpkg-source: info: local changes detected, the modified files are:
>  ntl-11.5.1/include/NTL/ConfigLog.h
>  ntl-11.5.1/include/NTL/HAVE_ALIGNED_ARRAY.h
>  ntl-11.5.1/include/NTL/HAVE_BUILTIN_CLZL.h
>  ntl-11.5.1/include/NTL/HAVE_CHRONO_TIME.h
>  ntl-11.5.1/include/NTL/HAVE_COPY_TRAITS1.h
>  ntl-11.5.1/include/NTL/HAVE_COPY_TRAITS2.h
>  ntl-11.5.1/include/NTL/HAVE_LL_TYPE.h
>  ntl-11.5.1/include/NTL/HAVE_POSIX_TIME.h
>  ntl-11.5.1/include/NTL/gmp_aux.h
>  ntl-11.5.1/include/NTL/mach_desc.h
>  ntl-11.5.1/src/CheckFeatures.log
>  ntl-11.5.1/src/CompilerOutput.log
>  ntl-11.5.1/src/GetPID.cpp
>  ntl-11.5.1/src/GetTime.cpp
>  ntl-11.5.1/src/OneCompilerOutput.log
>  ntl-11.5.1/src/hfileout
>  ntl-11.5.1/src/libtool-build/Makefile
>  ntl-11.5.1/src/libtool-build/Makefile.in
>  ntl-11.5.1/src/libtool-build/aclocal.m4
>  ntl-11.5.1/src/libtool-build/config.guess
>  ntl-11.5.1/src/libtool-build/config.log
>  ntl-11.5.1/src/libtool-build/config.status
>  ntl-11.5.1/src/libtool-build/config.sub
>  ntl-11.5.1/src/libtool-build/configure
>  ntl-11.5.1/src/libtool-build/configure.ac
>  ntl-11.5.1/src/libtool-build/install-sh
>  ntl-11.5.1/src/libtool-build/libtool
>  ntl-11.5.1/src/libtool-build/ltmain.sh
>  ntl-11.5.1/src/libtool-build/missing
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/ntl_11.5.1-1.diff.HMVgNO
> 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/ntl_11.5.1-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 debian-science-maintainers mailing list