Source: modules
Version: 5.3.1-1
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 modules
> dpkg-buildpackage: info: source version 5.3.1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Alastair McKinstry 
> <[email protected]>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean 
>       rm -f debian/environment-modules.debhelper.log
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/make clean || echo "Make clean skipped"
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f *.log *.sum
> rm -f tcl/*.tcl_i tcl/*.tcl_log tcl/*.tcl_m
> rm -rf coverage
> rm -f README
> rm -f modulecmd.tcl
> rm -f modulecmd-test.tcl modulecmd-test.tcl_i
> rm -f tcl/cache.tcl
> rm -f tcl/coll.tcl
> rm -f tcl/envmngt.tcl
> rm -f tcl/init.tcl
> rm -f tcl/main.tcl
> rm -f tcl/mfinterp.tcl
> rm -f tcl/modfind.tcl
> rm -f tcl/report.tcl
> rm -f tcl/subcmd.tcl
> rm -f script/add.modules
> rm -f script/gitlog2changelog.py
> rm -f script/modulecmd
> rm -f testsuite/example/.modulespath testsuite/example/modulespath-wild 
> testsuite/example/modulerc testsuite/example/initrc-1 testsuite/example/initrc
> rm -f modules-*.tar modules-*.tar.gz modules-*.tar.bz2
> rm -rf modules-*-win/
> rm -f modules-*-win.zip
> rm -f environment-modules-*.srpm environment-modules-*.rpm
> /usr/bin/make -C init clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/init'
> rm -f sh ksh bash zsh profile.sh csh tcsh tcsh_completion profile.csh perl.pm 
> python.py ruby.rb lisp tcl fish cmake r.R initrc bash_completion 
> zsh-functions/_module modulespath ../contrib/modulefiles/modules
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/init'
> /usr/bin/make -C doc clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
> rm -f build/module.1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> rm -f version.inc
> rm -f contrib/rpm/environment-modules.spec
> /usr/bin/make -C lib clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
> rm -f envmodules.o
> rm -f libtclenvmodules.so
> rm -f libtestutil-closedir.so
> rm -f libtestutil-getpwuid.so
> rm -f libtestutil-getgroups.so
> rm -f libtestutil-0getgroups.so
> rm -f libtestutil-dupgetgroups.so
> rm -f libtestutil-getgrgid.so
> rm -f libtestutil-time.so
> rm -f libtestutil-mktime.so
> rm -f libtestutil-sysconf.so
> rm -f envmodules.c.gcov envmodules.gcda envmodules.gcno
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f stamp-h
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>       rm -f debian/debhelper-build-stamp
>       cp -an --reflink=auto 
> debian/.debhelper/bucket/files/b77f1c2590a134d80400c4a93ef4fe634686a2b6b91b7bb2c607dcbf92cbedff
>  
> debian/.debhelper/bucket/files/b77f1c2590a134d80400c4a93ef4fe634686a2b6b91b7bb2c607dcbf92cbedff.tmp
>       mv 
> debian/.debhelper/bucket/files/b77f1c2590a134d80400c4a93ef4fe634686a2b6b91b7bb2c607dcbf92cbedff.tmp
>  lib/config.guess
>       cp -an --reflink=auto 
> debian/.debhelper/bucket/files/d610c87d79f710594108811421be52ecda60cfd2e2c8b82c94665d9d38858e6d
>  
> debian/.debhelper/bucket/files/d610c87d79f710594108811421be52ecda60cfd2e2c8b82c94665d9d38858e6d.tmp
>       mv 
> debian/.debhelper/bucket/files/d610c87d79f710594108811421be52ecda60cfd2e2c8b82c94665d9d38858e6d.tmp
>  lib/config.sub
>       rm -f debian/.debhelper/bucket/index
>       rm -rf debian/.debhelper/
>       rm -f -- debian/environment-modules.substvars debian/files
>       rm -fr -- debian/environment-modules/ debian/tmp/
>       find .  \( \( \
>               \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
> .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
> -type f -a \
>               \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
>                -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
>                -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
>                -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
>               \) -exec rm -f {} + \) -o \
>               \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) 
> \)
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building modules using existing ./modules_5.3.1.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file 
> contrib/rpm/environment-modules.spec, use --include-removal to override
> dpkg-source: warning: executable mode 0755 of 'lib/config.status' will not be 
> represented in diff
> dpkg-source: info: local changes detected, the modified files are:
>  modules-5.3.1/Makefile.inc
>  modules-5.3.1/lib/Makefile
>  modules-5.3.1/lib/config.h
>  modules-5.3.1/lib/config.log
>  modules-5.3.1/lib/config.status
>  modules-5.3.1/site.exp
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/modules_5.3.1-1.diff.jTncEL
> 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/modules_5.3.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.

Reply via email to