Source: rsnapshot
Version: 1.4.5-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 rsnapshot
> dpkg-buildpackage: info: source version 1.4.5-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Mark Hindley <lee...@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "rsnapshot rsnapshot-diff rsnapshot.conf.default 
> t/ssh_args/ssh_args.t t/ssh_args/conf/ssh_args_inline.conf 
> t/ssh_args/conf/ssh_args.conf t/native_cp_al/conf/native_cp_al.conf 
> t/native_cp_al/native_cp_al.t t/rsnapshot_meta/rsnapshot_meta.t 
> t/long_and_short_args/conf/long_and_short_args_inline.conf 
> t/long_and_short_args/conf/long_and_short_args.conf 
> t/long_and_short_args/long_and_short_args.t t/rsync/conf/rsync.conf 
> t/rsync/rsync.t t/snapshot_root_with_space/conf/snapshot_root_with_space.conf 
> t/snapshot_root_with_space/snapshot_root_with_space.t 
> t/cmd-post_pre-exec/cmd-post_pre-exec.t 
> t/cmd-post_pre-exec/conf/pre-false-post-true.conf 
> t/cmd-post_pre-exec/conf/pre-true-post-false.conf 
> t/cmd-post_pre-exec/conf/pre-false-post-false.conf 
> t/cmd-post_pre-exec/conf/pre-true-post-true.conf 
> t/relative_delete_bugfix/relative_delete_bugfix.t 
> t/relative_delete_bugfix/conf/relative_delete_bugfix.conf 
> t/backup_script/backup_script.t 
> t/backup_script/conf/backup_script_duplicate_dest_2.conf 
> t/backup_script/conf/backup_script_duplicate_dest_1.conf 
> t/backup_script/conf/backup_script.conf t/backup_exec/conf/backup_exec.conf 
> t/backup_exec/conf/backup_exec_fail.conf t/backup_exec/backup_exec.t 
> t/link-dest_-t_when_only_one_snapshot/link-dest_-t_when_only_one_snapshot.t 
> t/link-dest_-t_when_only_one_snapshot/conf/link-dest_-t_when_only_one_snapshot.conf
>  t/rsync-exitcode/conf/rsync-exitcode-good.conf 
> t/rsync-exitcode/conf/rsync-exitcode-bad.conf 
> t/rsync-exitcode/rsync-exitcode.t t/configtest/conf/configtest.conf 
> t/configtest/configtest.t t/gnu_cp/conf/gnu_cp.conf t/gnu_cp/gnu_cp.t 
> t/SysWrap.pm" || rm -f rsnapshot rsnapshot-diff rsnapshot.conf.default 
> t/ssh_args/ssh_args.t t/ssh_args/conf/ssh_args_inline.conf 
> t/ssh_args/conf/ssh_args.conf t/native_cp_al/conf/native_cp_al.conf 
> t/native_cp_al/native_cp_al.t t/rsnapshot_meta/rsnapshot_meta.t 
> t/long_and_short_args/conf/long_and_short_args_inline.conf 
> t/long_and_short_args/conf/long_and_short_args.conf 
> t/long_and_short_args/long_and_short_args.t t/rsync/conf/rsync.conf 
> t/rsync/rsync.t t/snapshot_root_with_space/conf/snapshot_root_with_space.conf 
> t/snapshot_root_with_space/snapshot_root_with_space.t 
> t/cmd-post_pre-exec/cmd-post_pre-exec.t 
> t/cmd-post_pre-exec/conf/pre-false-post-true.conf 
> t/cmd-post_pre-exec/conf/pre-true-post-false.conf 
> t/cmd-post_pre-exec/conf/pre-false-post-false.conf 
> t/cmd-post_pre-exec/conf/pre-true-post-true.conf 
> t/relative_delete_bugfix/relative_delete_bugfix.t 
> t/relative_delete_bugfix/conf/relative_delete_bugfix.conf 
> t/backup_script/backup_script.t 
> t/backup_script/conf/backup_script_duplicate_dest_2.conf 
> t/backup_script/conf/backup_script_duplicate_dest_1.conf 
> t/backup_script/conf/backup_script.conf t/backup_exec/conf/backup_exec.conf 
> t/backup_exec/conf/backup_exec_fail.conf t/backup_exec/backup_exec.t 
> t/link-dest_-t_when_only_one_snapshot/link-dest_-t_when_only_one_snapshot.t 
> t/link-dest_-t_when_only_one_snapshot/conf/link-dest_-t_when_only_one_snapshot.conf
>  t/rsync-exitcode/conf/rsync-exitcode-good.conf 
> t/rsync-exitcode/conf/rsync-exitcode-bad.conf 
> t/rsync-exitcode/rsync-exitcode.t t/configtest/conf/configtest.conf 
> t/configtest/configtest.t t/gnu_cp/conf/gnu_cp.conf t/gnu_cp/gnu_cp.t 
> t/SysWrap.pm
> test . = "." || test -z "" || rm -f 
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>       rm -f -- ./autom4te.cache/requests ./configure\~
>       rm -f debian/autoreconf.before debian/autoreconf.after
>    dh_clean
>       rm -f debian/debhelper-build-stamp
>       rm -rf debian/.debhelper/
>       rm -f debian/rsnapshot.debhelper.log
>       rm -f -- debian/rsnapshot.substvars debian/rsnapshot.postinst.debhelper 
> debian/rsnapshot.postrm.debhelper debian/rsnapshot.preinst.debhelper 
> debian/rsnapshot.prerm.debhelper debian/files
>       rm -fr -- debian/rsnapshot/ 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 rsnapshot using existing 
> ./rsnapshot_1.4.5.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: executable mode 0755 of 'configure' will not be 
> represented in diff
> dpkg-source: warning: executable mode 0755 of 'install-sh' will not be 
> represented in diff
> dpkg-source: warning: executable mode 0755 of 'missing' will not be 
> represented in diff
> dpkg-source: info: local changes detected, the modified files are:
>  rsnapshot-1.4.5/Makefile.in
>  rsnapshot-1.4.5/aclocal.m4
>  rsnapshot-1.4.5/configure
>  rsnapshot-1.4.5/install-sh
>  rsnapshot-1.4.5/missing
>  rsnapshot-1.4.5/rsnapshot-diff.1
>  rsnapshot-1.4.5/rsnapshot.1
>  rsnapshot-1.4.5/t/include.ac
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/rsnapshot_1.4.5-1.diff.1o09H4
> 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/rsnapshot_1.4.5-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