[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1047409: libsieve: Fails to build source after successful build



Source: libsieve
Version: 2.2.6-5
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@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 libsieve
> dpkg-buildpackage: info: source version 2.2.6-5
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jelmer Vernooij <jelmer@debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --sourcedirectory=src
>    dh_auto_clean -O--sourcedirectory=src
> 	cd src && make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
> Making distclean in sv_parser
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/sv_parser'
> rm -rf .libs _libs
> test -z "libparser.la" || rm -f libparser.la
> 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 ./so_locations
> rm -f ./.deps/addr-lex.Plo
> rm -f ./.deps/addr.Plo
> rm -f ./.deps/comparator.Plo
> rm -f ./.deps/header-lex.Plo
> rm -f ./.deps/header.Plo
> rm -f ./.deps/sieve-lex.Plo
> rm -f ./.deps/sieve.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/sv_parser'
> Making distclean in sv_regex
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/sv_regex'
> rm -rf .libs _libs
> test -z "libregex.la" || rm -f libregex.la
> 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 ./so_locations
> rm -f ./.deps/regex.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/sv_regex'
> Making distclean in sv_interface
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/sv_interface'
> rm -rf .libs _libs
> test -z "libinterface.la" || rm -f libinterface.la
> 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 ./so_locations
> rm -f ./.deps/callbacks2.Plo
> rm -f ./.deps/context2.Plo
> rm -f ./.deps/message.Plo
> rm -f ./.deps/message2.Plo
> rm -f ./.deps/script.Plo
> rm -f ./.deps/script2.Plo
> rm -f ./.deps/tree.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/sv_interface'
> Making distclean in sv_util
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/sv_util'
> rm -rf .libs _libs
> test -z "libutil.la" || rm -f libutil.la
> 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 ./so_locations
> rm -f ./.deps/exception.Plo
> rm -f ./.deps/md5.Plo
> rm -f ./.deps/util.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/sv_util'
> Making distclean in .
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "libsieve.la" || rm -f libsieve.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> 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
> rm -f ./so_locations
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in sv_test
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/sv_test'
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
>  rm -f example testcomp
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/example.Po
> rm -f ./.deps/testcomp.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/sv_test'
> Making distclean in sv_include
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/sv_include'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/sv_include'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f ./.deps/sv_empty.Plo
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
>    dh_autoreconf_clean -O--sourcedirectory=src
> 	rm -f -- ./src/sv_util/Makefile.in ./src/sv_regex/Makefile.in ./src/install-sh ./src/sv_interface/Makefile.in ./src/sv_test/Makefile.in ./src/aclocal.m4 ./src/autom4te.cache/requests ./src/autom4te.cache/traces.2 ./src/autom4te.cache/output.2 ./src/autom4te.cache/output.1 ./src/autom4te.cache/traces.1 ./src/autom4te.cache/output.0 ./src/autom4te.cache/traces.0 ./src/Makefile.in ./src/sv_parser/Makefile.in ./src/compile ./src/ltmain.sh ./src/configure ./src/config.h.in ./src/sv_include/Makefile.in ./src/depcomp ./src/configure\~ ./src/config.h.in\~ ./src/ylwrap ./src/missing
> 	rm -f debian/autoreconf.before debian/autoreconf.after
>    dh_clean -O--sourcedirectory=src
> 	rm -f debian/debhelper-build-stamp
> 	cp -an --reflink=auto debian/.debhelper/bucket/files/93859ec3b8c5d796cf162209427ed28c944d726e832e45610de6a9aaeb50cc01 debian/.debhelper/bucket/files/93859ec3b8c5d796cf162209427ed28c944d726e832e45610de6a9aaeb50cc01.tmp
> 	mv debian/.debhelper/bucket/files/93859ec3b8c5d796cf162209427ed28c944d726e832e45610de6a9aaeb50cc01.tmp src/config.guess
> 	cp -an --reflink=auto debian/.debhelper/bucket/files/4d49e064a2e34d7762a094e1e00554ad05a6d4de8abf96fad2f68092f4116a2a debian/.debhelper/bucket/files/4d49e064a2e34d7762a094e1e00554ad05a6d4de8abf96fad2f68092f4116a2a.tmp
> 	mv debian/.debhelper/bucket/files/4d49e064a2e34d7762a094e1e00554ad05a6d4de8abf96fad2f68092f4116a2a.tmp src/config.sub
> 	rm -f debian/.debhelper/bucket/index
> 	rm -rf debian/.debhelper/
> 	rm -f -- debian/libsieve2-dev.substvars debian/libsieve2-1.substvars debian/files
> 	rm -fr -- debian/libsieve2-dev/ debian/tmp/ debian/libsieve2-1/
> 	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 libsieve using existing ./libsieve_2.2.6.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file src/install-sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/aclocal.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/ltmain.sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/config.h.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/depcomp, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/ylwrap, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/missing, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/sv_util/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/sv_regex/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/sv_interface/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/sv_test/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/sv_parser/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/sv_include/Makefile.in, use --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  libsieve-2.2.6/src/sv_parser/header.c
>  libsieve-2.2.6/src/sv_parser/header.h
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/libsieve_2.2.6-5.diff.C628p3
> 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/libsieve_2.2.6-5_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 to: