Bug#1048470: openafs: Fails to build source after successful build

2023-08-14 Thread Benjamin Kaduk
On Sun, Aug 13, 2023 at 09:21:04PM +0200, Lucas Nussbaum wrote:
> Source: openafs
> Version: 1.8.10-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).

I missed that part on first read and went straight to the build log, oops.
I do think I have seen this myself (but will retest locally to be sure);
my recollection is that there is just an empty .pc directory left over.
Is that something you've seen in other packages, with a known/best-practice
solution?

Thanks,

Ben



Bug#1048470: openafs: Fails to build source after successful build

2023-08-13 Thread Lucas Nussbaum
Source: openafs
Version: 1.8.10-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 /<> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> --
> 
> dpkg-buildpackage: info: source package openafs
> dpkg-buildpackage: info: source version 1.8.10-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Benjamin Kaduk 
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --without-autoreconf
>debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<>'
> [ ! -f doc/man-pages/pod1/afs-up.pod ] \
> || mv doc/man-pages/pod1/afs-up.pod doc/man-pages/pod1/up.pod
> set -e; for d in AdminGuide QuickStartUnix UserGuide; do  \
> [ ! -f doc/xml/$d/Makefile ] || FORCE_SOURCE_DATE=1 make -C doc/xml/$d 
> clean ; \
> done
> make[2]: Entering directory '/<>/doc/xml/AdminGuide'
> rm -f *.aux *.epub *.fo *.html *.log *.mobi *.out *.pdf
> make[2]: Leaving directory '/<>/doc/xml/AdminGuide'
> make[2]: Entering directory '/<>/doc/xml/QuickStartUnix'
> rm -f *.aux *.epub *.fo *.html *.log *.mobi *.out *.pdf
> make[2]: Leaving directory '/<>/doc/xml/QuickStartUnix'
> make[2]: Entering directory '/<>/doc/xml/UserGuide'
> rm -f *.aux *.epub *.fo *.html *.log *.mobi *.out *.pdf
> make[2]: Leaving directory '/<>/doc/xml/UserGuide'
> [ ! -f debian/changelog.in ] \
> || cp debian/changelog debian/changelog.save
> dh_auto_clean -- maintainer-clean
>   make -j8 distclean maintainer-clean
> make[2]: Entering directory '/<>'
> make clean2
> make[3]: Entering directory '/<>'
> cd src && cd config && make clean
> make[4]: Entering directory '/<>/src/config'
> make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
> rule.
> rm -f -f *.o config mkvers core xprt AFS_component_version_number.c 
> param.h.new Makefile.version.in
> make[4]: Leaving directory '/<>/src/config'
> cd src && cd procmgmt && make clean
> make[4]: Entering directory '/<>/src/procmgmt'
> make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
> rule.
> rm -f -f *.a *.o core AFS_component_version_number.c
> make[4]: Leaving directory '/<>/src/procmgmt'
> cd src && cd util && make clean
> make[4]: Entering directory '/<>/src/util'
> make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
> rule.
> rm -f -rf .lwp .libs *.la *.lo
> rm -f -f sys dirpath.h
> rm -f -f util.a *.o core AFS_component_version_number.c
> make[4]: Leaving directory '/<>/src/util'
> cd src && cd opr && make clean
> make[4]: Entering directory '/<>/src/opr'
> make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
> rule.
> rm -f -rf .lwp .libs *.la *.lo
> rm -f libopr.a *.o
> make[4]: Leaving directory '/<>/src/opr'
> cd src && cd libafscp && make clean
> make[4]: Entering directory '/<>/src/libafscp'
> make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
> rule.
> rm -f -f *.o *.a *.gch libafscp* core AFS_component_version_number.c
> make[4]: Leaving directory '/<>/src/libafscp'
> cd src && cd audit && make clean
> make[4]: Entering directory '/<>/src/audit'
> make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
> rule.
> rm -f -rf .lwp .libs *.la *.lo
> rm -f -f *.a *.o core AFS_component_version_number.c
> make[4]: Leaving directory '/<>/src/audit'
> cd src && cd comerr && make clean
> make[4]: Entering directory '/<>/src/comerr'
> make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
> rule.
> rm -f -rf .lwp .libs *.la *.lo
> rm -f -f *~ \#* *.bak *.otl *.aux *.toc *.PS *.dvi *.x9700 *.ps \
>   *.cp *.fn *.ky *.log *.pg *.tp *.vr *.o libafscom_err.a \
>   com_err.o compile_et et.ar TAGS y.tab.c lex.yy.c error_table.c \
>   et_lex.lex.c test1.h test1.c test2.h test2.c \
>   eddep makedep core AFS_component_version_number.c
> make[4]: Leaving directory '/<>/src/comerr'
> cd src && cd cmd && make clean
> make[4]: Entering directory '/<>/src/cmd'
> make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
> rule.
> rm -f -rf .lwp .libs *.la *.lo
> rm -f -f  *.a *.o ctest dtest cmd.h