[Debichem-devel] Bug#1044973: devicexlib: Fails to build source after successful build

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


Source: devicexlib
Version: 0.1.0-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 devicexlib
> dpkg-buildpackage: info: source version 0.1.0-2
> 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
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> if test -d extlibs ;   then ( cd extlibs;   make clean ) ; fi
> make[2]: Entering directory '/<<PKGBUILDDIR>>/extlibs'
> if test -d blas ;    then ( cd blas;    make clean ) ; fi
> make[3]: Entering directory '/<<PKGBUILDDIR>>/extlibs/blas'
> if test -d BLAS ; then ( cd BLAS;  make clean ) ; fi
> rm -rf ./lib package-ready-stamp configure-stamp
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/extlibs/blas'
> if test -d lapack ;  then ( cd lapack;  make clean ) ; fi
> make[3]: Entering directory '/<<PKGBUILDDIR>>/extlibs/lapack'
> if test -d lapack-3.2 ; then ( cd lapack-3.2;  make clean ) ; fi
> rm -rf ./lib package-ready-stamp configure-stamp 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/extlibs/lapack'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/extlibs'
> if test -d src ;       then ( cd src;       make clean ) ; fi
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> /bin/rm -rf *.o *.a *core *.F90 work.pc work.pcl *.mod *.x
> cd FortCuda && /bin/rm -rf *.o *.a *core work.pc work.pcl *.mod *.x
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> /bin/rm -rf *.dat *.mod
> /bin/rm -rf ./bin/*x
> if test -d extlibs ;   then ( cd extlibs;   make distclean ) ; fi
> make[2]: Entering directory '/<<PKGBUILDDIR>>/extlibs'
> if test -d blas ;    then ( cd blas;    make distclean ) ; fi
> make[3]: Entering directory '/<<PKGBUILDDIR>>/extlibs/blas'
> if test -d BLAS ; then ( cd BLAS;  make clean ) ; fi
> rm -rf ./lib package-ready-stamp configure-stamp
> if test -d BLAS ; then ( rm -rf BLAS ) ; fi 
> rm uncompress-stamp package-ready-stamp
> rm: cannot remove 'uncompress-stamp': No such file or directory
> rm: cannot remove 'package-ready-stamp': No such file or directory
> make[3]: [Makefile:64: distclean] Error 1 (ignored)
> rm ../install/make_blas.inc
> rm: cannot remove '../install/make_blas.inc': No such file or directory
> make[3]: [Makefile:65: distclean] Error 1 (ignored)
> rm -rf /<<PKGBUILDDIR>>//extlibs/blas/tmp
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/extlibs/blas'
> if test -d lapack ;  then ( cd lapack;  make distclean ) ; fi
> make[3]: Entering directory '/<<PKGBUILDDIR>>/extlibs/lapack'
> if test -d lapack-3.2 ; then ( cd lapack-3.2;  make clean ) ; fi
> rm -rf ./lib package-ready-stamp configure-stamp 
> if test -d lapack-3.2 ; then ( rm -rf lapack-3.2 ) ; fi 
> rm uncompress-stamp package-ready-stamp
> rm: cannot remove 'uncompress-stamp': No such file or directory
> rm: cannot remove 'package-ready-stamp': No such file or directory
> make[3]: [Makefile:67: distclean] Error 1 (ignored)
> rm ../install/make_lapack.inc
> rm: cannot remove '../install/make_lapack.inc': No such file or directory
> make[3]: [Makefile:68: distclean] Error 1 (ignored)
> rm -rf /<<PKGBUILDDIR>>//extlibs/lapack/tmp
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/extlibs/lapack'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/extlibs'
> /bin/rm -rf make.inc config.log ./config/configure.msg \
> 	./config/config.log ./config/config.status \
> 	./config/*.lineno \
> 	./include/configure.h ./include/fft_defs.h \
>         ./include/c_defs.h    ./include/f_defs.h\
> 	*/dum1 */dum2 
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building devicexlib using existing ./devicexlib_0.1.0.orig.tar.bz2
> dpkg-source: info: local changes detected, the modified files are:
>  devicexlib-0.1.0/install/make_blas.inc
>  devicexlib-0.1.0/install/make_lapack.inc
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/devicexlib_0.1.0-2.diff.JBt8k7
> 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/devicexlib_0.1.0-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 Debichem-devel mailing list