Source: systemtap
Version: 4.9-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: [email protected]
Usertags: qa-doublebuild

Hi,

This package fails to do build a binary-only build (not source) after a
successful build (dpkg-buildpackage ; dpkg-buildpackage -b).

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/DoubleBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -b
> -----------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package systemtap
> dpkg-buildpackage: info: source version 4.9-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Emanuele Rocca <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  fakeroot debian/rules clean
> dh clean --with autoreconf
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in testsuite
> make[2]: Entering directory '/<<PKGBUILDDIR>>/testsuite'
> rm -f ./stap site.exp systemtap.sum systemtap.log
> rm -f site.exp site.bak
> test -z "" || rm -f 
> rm -f systemtap.temp*
> test . = "." || test -z "" || rm -f 
> rm -rf .systemtap* .cache_test* 2>/dev/null
> l='systemtap'; for tool in $l; do \
>   rm -f $tool.sum $tool.log; \
> done
> rm -f ./stap_*.ko
> rm -f flightrec*
> rm -f *.so
> rm -f uprobe_*
> rm -rf artifacts
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/testsuite'
> Making distclean in .
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "stap " || rm -f stap 
> test -z "git_version.h stap-sign-module stap-authorize-cert stap-serverd 
> stap-gen-cert" || rm -f git_version.h stap-sign-module stap-authorize-cert 
> stap-serverd stap-gen-cert
> rm -rf systemtap-*.tar.gz
> test -z "stap-sign-module stap-authorize-cert stap-serverd stap-gen-cert" || 
> rm -f stap-sign-module stap-authorize-cert stap-serverd stap-gen-cert
> rm -f *.o
> rm -f *.tab.c
> test -z "includes/sys/sdt-config.h initscript/config.systemtap 
> initscript/config.stap-server initscript/systemtap initscript/stap-server 
> initscript/99stap/module-setup.sh initscript/99stap/install 
> initscript/99stap/check run-stap dtrace 
> java/org/systemtap/byteman/helper/HelperSDT.java staprun/guest/stapshd 
> staprun/guest/stapsh-daemon staprun/guest/[email protected] 
> stap-profile-annotate" || rm -f includes/sys/sdt-config.h 
> initscript/config.systemtap initscript/config.stap-server 
> initscript/systemtap initscript/stap-server initscript/99stap/module-setup.sh 
> initscript/99stap/install initscript/99stap/check run-stap dtrace 
> java/org/systemtap/byteman/helper/HelperSDT.java staprun/guest/stapshd 
> staprun/guest/stapsh-daemon staprun/guest/[email protected] 
> stap-profile-annotate
> rm -rf systemtap-4.9
> rm -f config.h stamp-h1
> rm -f doc/beginners/en-US doc/beginners/build/en-US/testsuite
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -rf coverage
> rm -f language-server/.deps/.dirstamp
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> rm -f language-server/.dirstamp
> rm -rf stap.info
> rm -rf staplog.so
> rm -f language-server/*.o
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> Making distclean in java
> make[2]: Entering directory '/<<PKGBUILDDIR>>/java'
> test -z "" || rm -f 
> test -z "" || rm -f 
> test -z "" || rm -f 
> rm -f *.o
> rm -f *.tab.c
> test -z "stapbm" || rm -f stapbm
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/HelperSDT.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/java'
> Making distclean in python
> make[2]: Entering directory '/<<PKGBUILDDIR>>/python'
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/python'
> Making distclean in stapdyn
> make[2]: Entering directory '/<<PKGBUILDDIR>>/stapdyn'
> test -z "" || rm -f 
> test -z "" || rm -f 
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ../*.o
> rm -f ../.deps/.dirstamp
> rm -f ../.dirstamp
> rm -f ../.deps/dynsdt-util.Po
> rm -f ../.deps/stapdyn-util.Po
> rm -f ./.deps/dynsdt-dynsdt.Po
> rm -f ./.deps/dynsdt-dynutil.Po
> rm -f ./.deps/stapdyn-dynprobe.Po
> rm -f ./.deps/stapdyn-dynutil.Po
> rm -f ./.deps/stapdyn-mutatee.Po
> rm -f ./.deps/stapdyn-mutator.Po
> rm -f ./.deps/stapdyn-stapdyn.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/stapdyn'
> Making distclean in staprun
> make[2]: Entering directory '/<<PKGBUILDDIR>>/staprun'
> test -z "staprun stap-merge stapsh" || rm -f staprun stap-merge stapsh
> test -z "" || rm -f 
> test -z "libstrfloctime.a" || rm -f libstrfloctime.a
> test -z "stapio" || rm -f stapio
> rm -f *.o
> rm -f *.tab.c
> test -z "run-staprun" || rm -f run-staprun
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ../*.o
> rm -f ../.deps/.dirstamp
> rm -f ../.dirstamp
> rm -f ../.deps/staprun-nsscommon.Po
> rm -f ../.deps/staprun-privilege.Po
> rm -f ../.deps/staprun-util.Po
> rm -f ./.deps/common.Po
> rm -f ./.deps/ctl.Po
> rm -f ./.deps/libstrfloctime_a-strfloctime.Po
> rm -f ./.deps/mainloop.Po
> rm -f ./.deps/monitor.Po
> rm -f ./.deps/relay.Po
> rm -f ./.deps/stap_merge-stap_merge.Po
> rm -f ./.deps/stapio.Po
> rm -f ./.deps/staprun-common.Po
> rm -f ./.deps/staprun-ctl.Po
> rm -f ./.deps/staprun-modverify.Po
> rm -f ./.deps/staprun-staprun.Po
> rm -f ./.deps/staprun-staprun_funcs.Po
> rm -f ./.deps/staprun-start_cmd.Po
> rm -f ./.deps/stapsh-stapsh.Po
> rm -f ./.deps/start_cmd.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/staprun'
> Making distclean in stapbpf
> make[2]: Entering directory '/<<PKGBUILDDIR>>/stapbpf'
> test -z "stapbpf" || rm -f stapbpf
> test -z "" || rm -f 
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ../.deps/.dirstamp
> rm -f ../*.o
> rm -f ../.dirstamp
> rm -f ../staprun/*.o
> rm -f ../staprun/.deps/.dirstamp
> rm -f ../staprun/.dirstamp
> rm -f ../.deps/stapbpf-util.Po
> rm -f ../staprun/.deps/stapbpf-start_cmd.Po
> rm -f ./.deps/stapbpf-bpfinterp.Po
> rm -f ./.deps/stapbpf-libbpf.Po
> rm -f ./.deps/stapbpf-stapbpf.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/stapbpf'
> Making distclean in doc
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> Making distclean in SystemTap_Tapset_Reference
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc/SystemTap_Tapset_Reference'
> test -z "stamp-* tapsets.pdf tapsets.xml" || rm -f stamp-* tapsets.pdf 
> tapsets.xml
> rm -rf tapsets
> test -z "docproc" || rm -f docproc
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/docproc.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc/SystemTap_Tapset_Reference'
> Making distclean in beginners
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc/beginners'
> rm -rf build/en-US/xml
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -rf build/en-US/xsl
> rm -f SystemTap_Beginners_Guide.pdf
> rm -rf SystemTap_Beginners_Guide
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc/beginners'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
> rm -f *.pdf *.out *.log *.aux *.toc *.lot *.idx *.glo *.dvi
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> Making distclean in man
> make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
> Making distclean in cs
> make[3]: Entering directory '/<<PKGBUILDDIR>>/man/cs'
> test -z "stap.1 stappaths.7 systemtap.8" || rm -f stap.1 stappaths.7 
> systemtap.8
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/man/cs'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
> test -z "stap.1 stappaths.7 systemtap-service.8" || rm -f stap.1 stappaths.7 
> systemtap-service.8
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/man'
> Making distclean in po
> make[2]: Entering directory '/<<PKGBUILDDIR>>/po'
> rm -f *.insert-header
> rm -f remove-potcdate.sed
> rm -f stamp-poT
> rm -f core core.* systemtap.po systemtap.1po systemtap.2po *.new.po
> rm -fr *.o
> rm -f Makefile Makefile.in POTFILES *.mo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/po'
> Making distclean in httpd
> make[2]: Entering directory '/<<PKGBUILDDIR>>/httpd'
> Making distclean in docker
> make[3]: Entering directory '/<<PKGBUILDDIR>>/httpd/docker'
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/httpd/docker'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/httpd'
> test -z "" || rm -f 
> test -z "" || rm -f 
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ../*.o
> rm -f ../.deps/.dirstamp
> rm -f ../.dirstamp
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/httpd'
> rm -f ../.deps/stap_httpd-cmdline.Po
> rm -f ../.deps/stap_httpd-cscommon.Po
> rm -f ../.deps/stap_httpd-mdfour.Po
> rm -f ../.deps/stap_httpd-nsscommon.Po
> rm -f ../.deps/stap_httpd-privilege.Po
> rm -f ../.deps/stap_httpd-util.Po
> rm -f ./.deps/stap_httpd-api.Po
> rm -f ./.deps/stap_httpd-backends.Po
> rm -f ./.deps/stap_httpd-main.Po
> rm -f ./.deps/stap_httpd-nss_funcs.Po
> rm -f ./.deps/stap_httpd-server.Po
> rm -f ./.deps/stap_httpd-utils.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/httpd'
> Making distclean in stap-exporter
> make[2]: Entering directory '/<<PKGBUILDDIR>>/stap-exporter'
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/stap-exporter'
> Making distclean in interactive-notebook
> make[2]: Entering directory '/<<PKGBUILDDIR>>/interactive-notebook'
> rm constants.py stap-jupyter-container stap-jupyter-install
> test -z "stap-jupyter-container stap-jupyter-install" || rm -f 
> stap-jupyter-container stap-jupyter-install
> test . = "." || test -z "" || rm -f 
> rm: cannot remove 'stap-jupyter-container': No such file or directory
> rm: cannot remove 'stap-jupyter-install': No such file or directory
> make[2]: *** [Makefile:522: clean-local] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/interactive-notebook'
> make[1]: *** [Makefile:2212: distclean-recursive] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_clean: error: make -j8 distclean returned exit code 2
> make: *** [debian/rules:30: clean] Error 25
> dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned 
> exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -b' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/16/systemtap_4.9-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