Source: tsocks
Version: 1.8beta5+ds1-1
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian...@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 tsocks
> dpkg-buildpackage: info: source version 1.8beta5+ds1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by gustavo panizzo <g...@zumbi.com.ar>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --with=autotools-dev
> dh: warning: The autotools-dev sequence is deprecated and replaced by dh in 
> debhelper (>= 9.20160115)
> dh: warning: This feature will be removed in compat 12.
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f *.so *.so.* *.o *~ libtsocks.so.1.8  saveme inspectsocks validateconf
> rm -f config.cache config.log config.h Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>       rm -f -- ./install-sh ./autom4te.cache/requests 
> ./autom4te.cache/traces.2 ./autom4te.cache/output.2 ./autom4te.cache/output.1 
> ./autom4te.cache/traces.1 ./autom4te.cache/output.0 ./autom4te.cache/traces.0 
> ./configure ./config.h.in ./install-sh\~ ./configure\~ ./config.h.in\~
>       rm -f debian/autoreconf.before debian/autoreconf.after
>    dh_autotools-dev_restoreconfig
> dh_autotools-dev_restoreconfig: warning: dh_autotools-dev_restoreconfig is 
> deprecated; please see dh_autotools-dev_restoreconfig(1) for a replacement
> dh_autotools-dev_restoreconfig: warning: This feature will be removed in 
> compat 12.
>       for c_g in `find . -type f -name config.guess` ; do if test -e 
> "$c_g.dh-orig" ; then mv -f "$c_g.dh-orig" "$c_g" ; fi ; done
>       for c_s in `find . -type f -name config.sub`   ; do if test -e 
> "$c_s.dh-orig" ; then mv -f "$c_s.dh-orig" "$c_s" ; fi ; done
>       find . -type f \( -name config.guess.dh-orig -o -name 
> config.sub.dh-orig \) -delete
>    dh_clean
>       rm -f debian/debhelper-build-stamp
>       cp -an --reflink=auto 
> debian/.debhelper/bucket/files/06a07a95541950c804250a0d0249dcf9ac0bf805af2f0022dca2c4d6f13babea
>  
> debian/.debhelper/bucket/files/06a07a95541950c804250a0d0249dcf9ac0bf805af2f0022dca2c4d6f13babea.tmp
>       mv 
> debian/.debhelper/bucket/files/06a07a95541950c804250a0d0249dcf9ac0bf805af2f0022dca2c4d6f13babea.tmp
>  config.guess
>       cp -an --reflink=auto 
> debian/.debhelper/bucket/files/6256efe9320ee8690c8be56bb851415d90efe4d27a67fe374efd28a6c6733153
>  
> debian/.debhelper/bucket/files/6256efe9320ee8690c8be56bb851415d90efe4d27a67fe374efd28a6c6733153.tmp
>       mv 
> debian/.debhelper/bucket/files/6256efe9320ee8690c8be56bb851415d90efe4d27a67fe374efd28a6c6733153.tmp
>  config.sub
>       rm -f debian/.debhelper/bucket/index
>       rm -rf debian/.debhelper/
>       rm -f debian/tsocks.debhelper.log
>       rm -f -- debian/tsocks.substvars debian/files
>       rm -fr -- debian/tsocks/ 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 tsocks using existing 
> ./tsocks_1.8beta5+ds1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file install-sh, 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 config.h.in, use 
> --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  tsocks-1.8beta5+ds1/config.status
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/tsocks_1.8beta5+ds1-1.diff.WQL3Ig
> 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/tsocks_1.8beta5+ds1-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