[Debian-astro-maintainers] Bug#1046506: scamp: Fails to build source after successful build

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


Source: scamp
Version: 2.10.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 scamp
> dpkg-buildpackage: info: source version 2.10.0-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Ole Streicher <olebole at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean  --with autoreconf
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> Making distclean in fits
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/fits'
> rm -rf .libs _libs
> test -z "libfits.a" || rm -f libfits.a
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/fitsbody.Po
> rm -f ./.deps/fitscat.Po
> rm -f ./.deps/fitscheck.Po
> rm -f ./.deps/fitscleanup.Po
> rm -f ./.deps/fitsconv.Po
> rm -f ./.deps/fitshead.Po
> rm -f ./.deps/fitskey.Po
> rm -f ./.deps/fitsmisc.Po
> rm -f ./.deps/fitsread.Po
> rm -f ./.deps/fitstab.Po
> rm -f ./.deps/fitsutil.Po
> rm -f ./.deps/fitswrite.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/fits'
> Making distclean in wcs
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/wcs'
> rm -rf .libs _libs
> test -z "libwcs_c.a" || rm -f libwcs_c.a
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/cel.Po
> rm -f ./.deps/lin.Po
> rm -f ./.deps/poly.Po
> rm -f ./.deps/proj.Po
> rm -f ./.deps/sph.Po
> rm -f ./.deps/tnx.Po
> rm -f ./.deps/wcs.Po
> rm -f ./.deps/wcstrig.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/wcs'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
>  rm -f scamp
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> rm -f ./.deps/astrcplot.Po
> rm -f ./.deps/astrefcat.Po
> rm -f ./.deps/astrsolve.Po
> rm -f ./.deps/astrstats.Po
> rm -f ./.deps/catout.Po
> rm -f ./.deps/chealpix.Po
> rm -f ./.deps/chealpixstore.Po
> rm -f ./.deps/check.Po
> rm -f ./.deps/colour.Po
> rm -f ./.deps/cplot.Po
> rm -f ./.deps/crossid.Po
> rm -f ./.deps/dgeomap.Po
> rm -f ./.deps/fft.Po
> rm -f ./.deps/fgroup.Po
> rm -f ./.deps/field.Po
> rm -f ./.deps/fitswcs.Po
> rm -f ./.deps/header.Po
> rm -f ./.deps/main.Po
> rm -f ./.deps/makeit.Po
> rm -f ./.deps/match.Po
> rm -f ./.deps/merge.Po
> rm -f ./.deps/misc.Po
> rm -f ./.deps/mosaic.Po
> rm -f ./.deps/photcplot.Po
> rm -f ./.deps/photsolve.Po
> rm -f ./.deps/pqueue.Po
> rm -f ./.deps/prefs.Po
> rm -f ./.deps/proper.Po
> rm -f ./.deps/quadtree.Po
> rm -f ./.deps/samples.Po
> rm -f ./.deps/threads.Po
> rm -f ./.deps/url.Po
> rm -f ./.deps/xml.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in tests
> make[2]: Entering directory '/<<PKGBUILDDIR>>/tests'
> rm -rf .libs _libs
> rm -f *.o
> test -z "test_chealpix.log test_chealpixstore.log test_crossid_single_catalog.log test_crossid_single_catalog_moving.log test_integration01.py.log" || rm -f test_chealpix.log test_chealpixstore.log test_crossid_single_catalog.log test_crossid_single_catalog_moving.log test_integration01.py.log
> rm -f *.lo
>  rm -f test_chealpix test_chealpixstore test_crossid_single_catalog test_crossid_single_catalog_moving
> rm -f *.tab.c
> test -z "" || rm -f 
> rm *.head *.png *.xml
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "test_chealpix.trs test_chealpixstore.trs test_crossid_single_catalog.trs test_crossid_single_catalog_moving.trs test_integration01.py.trs" || rm -f test_chealpix.trs test_chealpixstore.trs test_crossid_single_catalog.trs test_crossid_single_catalog_moving.trs test_integration01.py.trs
> rm: cannot remove '*.head': No such file or directory
> rm: cannot remove '*.png': No such file or directory
> make[2]: [Makefile:1128: distclean-local] Error 1 (ignored)
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f ./.deps/test_chealpix.Po
> rm -f ./.deps/test_chealpixstore.Po
> rm -f ./.deps/test_crossid_single_catalog.Po
> rm -f ./.deps/test_crossid_single_catalog_moving.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> Making distclean in man
> make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "scamp.1" || rm -f scamp.1
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/man'
> Making distclean in doc
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "scamp.spec doc/src/conf.py" || rm -f scamp.spec doc/src/conf.py
> rm -f config.h stamp-h1
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building scamp using existing ./scamp_2.10.0.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file doc/src/conf.py, use --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  scamp-2.10.0/tests/extra/744331p.head
>  scamp-2.10.0/tests/extra/744332p.head
>  scamp-2.10.0/tests/extra/744333p.head
>  scamp-2.10.0/tests/extra/744334p.head
>  scamp-2.10.0/tests/extra/744335p.head
>  scamp-2.10.0/tests/extra/744336p.head
>  scamp-2.10.0/tests/extra/744337p.head
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/scamp_2.10.0-2.diff.5ugPDF
> 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/scamp_2.10.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 Debian-astro-maintainers mailing list