[Debian-astro-maintainers] Bug#1045894: wcslib: Fails to build source after successful build

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


Source: wcslib
Version: 8.1+ds-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 wcslib
> dpkg-buildpackage: info: source version 8.1+ds-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 --no-parallel
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> [ ! -e makedefs ] || dh_auto_clean
> 	make -j1 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> for DIR in C Fortran pgsbox utils doxygen ; do \
>      make -C $DIR distclean ; \
>    done
> make[3]: Entering directory '/<<PKGBUILDDIR>>/C'
> rm -f *.o lib.lock *.i a.out t*.out core *.dSYM
> rm -f -r 
> rm -f .gdb_history
> rm -f tlin tdis1 tdis2 tlog tprj1 tsph tsphdpa tspx ttab1 twcs twcssub tpih1 tbth1 tfitshdr tunits twcsfix twcscompare tdisiter tspcaips tspcspxe tspctrne twcs_locale tpthreads tsphdpa twcshdr
> rm -f tspc tprj2 tcel1 tcel2 ttab2 ttab3 twcsmix tdis3 tpih2 twcshdr twcslint twcstab
> rm -f bth.fits fitshdr.fits pih.fits wcslint.fits wcspcx.fits
> rm -f wcstab.fits SIP.fits SIPTPV.fits TPV3.fits TPV5.fits
> rm -f TPV7.fits DSS.fits TNX.fits ZPX.fits
> rm -f t*_cfitsio test_results
> rm -f ../wcsconfig.h ../wcsconfig_tests.h
> rm -f fitshdr.c wcsbth.c wcspih.c wcsulex.c wcsutrn.c
> rm -f libwcs-PIC.a libwcs-*.a libwcs.so.* libwcs.*.dylib
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/C'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/Fortran'
> rm -f *.o ../C/lib.lock *.i a.out t*.out core fort.* *.dSYM
> rm -f -r 
> rm -f .gdb_history
> rm -f tlin tdis1 tdis2 tlog tprj1 tsph tspx ttab1 twcs twcssub tpih1 tfitshdr tunits twcsfix
> rm -f tspc tprj2 tcel1 ttab2 ttab3 twcsmix tpih2 twcstab
> rm -f fitshdr.fits pih.fits TPV7.fits test_results
> rm -f ../C/libwcs-8.1.a ../C/libwcs-PIC.a ../C/libwcs.so.8.1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/Fortran'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/pgsbox'
> rm -f *.o lib.lock *.i a.out core *.dSYM
> rm -f -r 
> rm -f pgtest cpgtest
> rm -f libpgsbox-PIC.a libpgsbox-*.a libpgsbox.so.* libpgsbox.*.dylib
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/pgsbox'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/utils'
> rm -f -r *.o *.i a.out core *.dSYM 
> rm -f tofits fitshdr sundazel HPXcvt wcsware wcsgrid
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/utils'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doxygen'
> rm -f core
> rm -f *.log
> rm -f doxextr doxextr.c wcslib.h
> rm -f cel.dox dis.dox fitshdr.dox getwcstab.dox lin.dox log.dox prj.dox spc.dox sph.dox spx.dox tab.dox wcs.dox wcserr.dox wcsfix.dox wcshdr.dox wcslib.dox wcsmath.dox wcsprintf.dox wcstrig.dox wcsunits.dox wcsutil.dox wtbarr.dox
> rm -f wcslib.tag
> rm -f -r ./latex
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doxygen'
> rm -f *.log
> rm -f -r autom4te.cache autoscan.log
> rm -f -r api-sanity-check
> rm -f configure~ confdefs.h conftest.*
> rm -f config.log config.status configure.lineno
> rm -f makedefs wcslib.pc
> rm -f wcsconfig.h wcsconfig_*.h
> rm -f wcslib-*.tar.gz
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean -O--no-parallel
>    dh_clean -O--no-parallel
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building wcslib using existing ./wcslib_8.1+ds.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to C/libwcs.so:
> dpkg-source: error:   new version is symlink to libwcs.so.8
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to pgsbox/libpgsbox.so:
> dpkg-source: error:   new version is symlink to libpgsbox.so.8
> dpkg-source: error:   old version is nonexistent
> dpkg-source: warning: ignoring deletion of file config/install-sh, use --include-removal to override
> dpkg-source: error: cannot represent change to html/Bonne.gif: binary file contents changed
> dpkg-source: error: add html/Bonne.gif in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/bc_s.png: binary file contents changed
> dpkg-source: error: add html/bc_s.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/bdwn.png: binary file contents changed
> dpkg-source: error: add html/bdwn.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/closed.png: binary file contents changed
> dpkg-source: error: add html/closed.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/doc.png: binary file contents changed
> dpkg-source: error: add html/doc.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/folderclosed.png: binary file contents changed
> dpkg-source: error: add html/folderclosed.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/folderopen.png: binary file contents changed
> dpkg-source: error: add html/folderopen.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file wcslib-8.1+ds/html/jquery.js has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to html/nav_f.png: binary file contents changed
> dpkg-source: error: add html/nav_f.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/nav_g.png: binary file contents changed
> dpkg-source: error: add html/nav_g.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/nav_h.png: binary file contents changed
> dpkg-source: error: add html/nav_h.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/open.png: binary file contents changed
> dpkg-source: error: add html/open.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/splitbar.png: binary file contents changed
> dpkg-source: error: add html/splitbar.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/sync_off.png: binary file contents changed
> dpkg-source: error: add html/sync_off.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/sync_on.png: binary file contents changed
> dpkg-source: error: add html/sync_on.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/tab_a.png: binary file contents changed
> dpkg-source: error: add html/tab_a.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/tab_b.png: binary file contents changed
> dpkg-source: error: add html/tab_b.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/tab_h.png: binary file contents changed
> dpkg-source: error: add html/tab_h.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to html/tab_s.png: binary file contents changed
> dpkg-source: error: add html/tab_s.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> 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/wcslib_8.1+ds-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