Source: xemacs21
Version: 21.4.24-11
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
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 xemacs21
> dpkg-buildpackage: info: source version 21.4.24-11
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Mark Brown <[email protected]>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh_testdir
> dh_testroot
> rm -f build-stamp install-stamp pre-build-stamp
> mv install.old install
> mv: cannot stat 'install.old': No such file or directory
> make: [debian/rules:57: clean] Error 1 (ignored)
> rm -f install
> rm -f debian/substvars
> rm -f debian/files
> rm -rf debian/tmp # `find debian/* -type d`
> rm -f lisp/custom-load.el
> rm -f configure
> [ ! -f Makefile ] || /usr/bin/make distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> for d in lib-src lwlib src man   modules/sample modules/ldap modules/zlib 
> modules/base64; do (cd ./$d && /usr/bin/make  distclean); done
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lib-src'
> rm -f *.o *.i core
> rm -f gnuclient ellcc etags ctags b2m ootags gnuserv fakemail wakeup profile 
> make-docfile digest-doc sorted-doc movemail cvtmail yow hexl mmencode 
> make-path make-dump-id *.exe
> rm -f DOC *.tab.c *.tab.h TAGS ellcc.h
> rm -f GNUmakefile Makefile Makefile.in blessmail config.values
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib-src'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lwlib'
> rm -f liblw.a liblw_pure_*.a *.o *.i core
> rm -f GNUmakefile Makefile Makefile.in config.h TAGS
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lwlib'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f temacs puremacs quantmacs *.o *.i  \
>   core temacs.exe sheap-adjust.h
> rm -f xemacs xemacs.dmp ../lib-src/DOC
> rm -f libextcli* update-elc.stamp
> rm -f config.h paths.h Emacs.ad.h \
>   GNUmakefile Makefile Makefile.in TAGS xemacs.*
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
> rm -f *.toc *.aux *.log *.op *.cp *.cps *.fn *.fns
> rm -f *.ky *.kys *.pg *.pgs *.tp *.tps *.vr *.vrs
> rm -f core *.dvi
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/man'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/modules/sample'
> rm -f sample.ell sample.o sample_i.o sample_i.c
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/modules/sample'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/modules/ldap'
> rm -f ldap.ell eldap.o eldap_i.o eldap_i.c
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/modules/ldap'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/modules/zlib'
> rm -f zlib.ell zlib.o zlib_i.o zlib_i.c
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/modules/zlib'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/modules/base64'
> rm -f base64.ell base64.o base64_i.o base64_i.c
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/modules/base64'
> rm -f config.status config.log confdefs.h config-tmp-* build-install 
> Installation ; rm -f core .sbinit lock/* GNUmakefile Makefile Makefile.in ; 
> rm -f lisp/finder-inf.el* Installation.el Installation.elc ; rm -f -r 
> site-packages xemacs-packages mule-packages site-lisp
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> if [ -f debian/PackagesMakefile ] ; then \
>   /usr/bin/make -f debian/PackagesMakefile clean ; \
> fi
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf /<<PKGBUILDDIR>>/debian/build
> rm -f html-build-stamp
> rm -f canna-wnn-build-stamp mule-build-stamp nomule-build-stamp
> rm -f general-build-stamp
> rm -f debian/xemacs21.info.gz
> # this makes sure we don't get a HUGE (meg size) .diff.gz and
> # causes no harm since we have to run autoconf at the begining
> #-rm -f configure
> rm -f config.sub config.guess
> for i in mule nomule mule-canna-wnn ; do \
>   rm -f lib-src/DOC-21.4.24-$i ; \
>   rm -f src/xemacs-21.4.24-$i ; \
>   rm -f src/xemacs-21.4.24-dmp-$i ; \
>   rm -f src/xemacs-21.4.24-$i-config.values ; \
> done
> rm -f `find . -name '*.elc' -print`
> rm -f debian/xemacs21.texi
> rm -f debian/*-info
> rm -f info/*info*
> rm -f lwlib/*.o
> rm -f lwlib/*.a
> rm -f src/NEEDTODUMP src/dump-id.c
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f `find . -name "*~"`
> rm -f `find . -name '*.orig'`
> dh_clean
> # must be done last because it removes some utility scripts
> set -e ; cd debian ; \
> /usr/bin/make -f ConfigMakefile \
>   VAR_FILE=var_file.pl \
>   XEMACS_TYPES="nomule mule mule-canna-wnn" \
>   clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>/debian'
> for i in PackagesMakefile.in README.debian.in b2m.xemacs@[email protected] 
> convert-texi-files.in ctags.xemacs@[email protected] 
> ellcc.xemacs@[email protected] get_menu_part.in 
> gnuattach.xemacs@[email protected] gnuclient.xemacs@[email protected] 
> gnudoit.xemacs@[email protected] ootags.xemacs@[email protected] 
> rcs-checkin.xemacs@[email protected] site-start.el.in 
> xemacs-@[email protected] xemacs-@[email protected] 
> xemacs-@[email protected] xemacs@[email protected] 
> xemacs@[email protected] xemacs@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] 
> xemacs@MAJVERSION@@[email protected] ; do \
>   if [ "$i" = "control.in" ] ; then \
>     perl convert-in-file var_file.pl $i ; \
>   else  \
>     perl convert-in-file var_file.pl CLEAN $i ; \
>   fi \
> done
> Removing file PackagesMakefile
> Removing file README.debian
> Removing file b2m.xemacs21.1
> Removing file convert-texi-files
> Removing file ctags.xemacs21.1
> Removing file ellcc.xemacs21.1
> Removing file get_menu_part
> Removing file gnuattach.xemacs21.1
> Removing file gnuclient.xemacs21.1
> Removing file gnudoit.xemacs21.1
> Removing file ootags.xemacs21.1
> Removing file rcs-checkin.xemacs21.1
> Removing file site-start.el
> Removing file xemacs-21.4.24-mule-canna-wnn.1
> Removing file xemacs-21.4.24-mule.1
> Removing file xemacs-21.4.24-nomule.1
> Removing file xemacs21-mule-canna-wnn.1
> Removing file xemacs21-mule.1
> Removing file xemacs21-nomule.1
> Removing file xemacs21-bin.dirs
> Removing file xemacs21-bin.files
> Removing file xemacs21-bin.menu
> Removing file xemacs21-bin.postinst
> Removing file xemacs21-bin.prerm
> Removing file xemacs21-mule-canna-wnn.menu
> Removing file xemacs21-mule-canna-wnn.postinst
> Removing file xemacs21-mule-canna-wnn.preinst
> Removing file xemacs21-mule-canna-wnn.prerm
> Removing file xemacs21-mule.menu
> Removing file xemacs21-mule.postinst
> Removing file xemacs21-mule.preinst
> Removing file xemacs21-mule.prerm
> Removing file xemacs21-nomule.menu
> Removing file xemacs21-nomule.postinst
> Removing file xemacs21-nomule.preinst
> Removing file xemacs21-nomule.prerm
> Removing file xemacs21-support.dirs
> Removing file xemacs21-support.docs
> Removing file xemacs21-support.files
> Removing file xemacs21-support.postinst
> Removing file xemacs21-support.postrm
> Removing file xemacs21-support.prerm
> Removing file xemacs21-supportel.postinst
> Removing file xemacs21-supportel.prerm
> Removing file xemacs21.postinst
> sh ./generate-menus CLEAN nomule mule mule-canna-wnn
> sh ./generate-prerm CLEAN nomule mule mule-canna-wnn
> sh ./generate-postinst CLEAN nomule mule mule-canna-wnn
> sh ./generate-preinst CLEAN nomule mule mule-canna-wnn
> rm -f convert_files.stamp
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian'
> rm -f debian/var_file.pl
>  dpkg-source -b .
> dpkg-source: warning: upstream signing key but no upstream tarball signature
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building xemacs21 using existing 
> ./xemacs21_21.4.24.orig.tar.bz2
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file config.sub, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.guess, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file configure, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file lisp/custom-load.el, use 
> --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  xemacs21-21.4.24/lisp/auto-autoloads.el
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/xemacs21_21.4.24-11.diff.ZL9vRW
> 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/xemacs21_21.4.24-11_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.

Reply via email to