[Pkg-nagios-devel] Bug#1046818: nsca-ng: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:21:03 BST 2023


Source: nsca-ng
Version: 1.6-6
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at 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 nsca-ng
> dpkg-buildpackage: info: source version 1.6-6
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Bas Couwenberg <sebastic at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm config.log
> dh_auto_clean
> 	make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in lib
> make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
> Making distclean in ev
> make[4]: Entering directory '/<<PKGBUILDDIR>>/lib/ev'
> test -z "libev.a" || rm -f libev.a
> 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/ev.Po
> rm -f ./.deps/ev_epoll.Po
> rm -f ./.deps/ev_kqueue.Po
> rm -f ./.deps/ev_poll.Po
> rm -f ./.deps/ev_port.Po
> rm -f ./.deps/ev_select.Po
> rm -f ./.deps/ev_win32.Po
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/ev'
> Making distclean in pidfile
> make[4]: Entering directory '/<<PKGBUILDDIR>>/lib/pidfile'
> test -z "libpidfile.a" || rm -f libpidfile.a
> 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/flock.Po
> rm -f ./.deps/flopen.Po
> rm -f ./.deps/pidfile.Po
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/pidfile'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/lib'
> test -z "libcompat.a" || rm -f libcompat.a
> 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 
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> rm -f .deps/daemon.Po
> rm -f .deps/progname.Po
> rm -f .deps/strcasecmp.Po
> rm -f .deps/strdup.Po
> rm -f .deps/strncasecmp.Po
> rm -f .deps/xprintf.Po
> rm -f ./.deps/wrappers.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> Making distclean in src
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> Making distclean in common
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/common'
> test -z "libcommon.a" || rm -f libcommon.a
> 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/buffer.Po
> rm -f ./.deps/log.Po
> rm -f ./.deps/tls.Po
> rm -f ./.deps/util.Po
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/common'
> Making distclean in client
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/client'
> test -z "send_nsca" || rm -f send_nsca
> 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/auth.Po
> rm -f ./.deps/client.Po
> rm -f ./.deps/conf.Po
> rm -f ./.deps/input.Po
> rm -f ./.deps/parse.Po
> rm -f ./.deps/send_nsca.Po
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/client'
> Making distclean in server
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/server'
> test -z "nsca-ng" || rm -f nsca-ng
> 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/auth.Po
> rm -f ./.deps/conf.Po
> rm -f ./.deps/fifo.Po
> rm -f ./.deps/hash.Po
> rm -f ./.deps/nsca-ng.Po
> rm -f ./.deps/server.Po
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/server'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in man
> make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
> test -z "nsca-ng.man send_nsca.man nsca-ng.cfg.man send_nsca.cfg.man nsca-ng.pdf nsca-ng.cfg.pdf send_nsca.pdf send_nsca.cfg.pdf" || rm -f nsca-ng.man send_nsca.man nsca-ng.cfg.man send_nsca.cfg.man nsca-ng.pdf nsca-ng.cfg.pdf send_nsca.pdf send_nsca.cfg.pdf
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
> Making distclean in etc
> make[3]: Entering directory '/<<PKGBUILDDIR>>/etc'
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/etc'
> Making distclean in build-aux
> make[3]: Entering directory '/<<PKGBUILDDIR>>/build-aux'
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-aux'
> Making distclean in contrib
> make[3]: Entering directory '/<<PKGBUILDDIR>>/contrib'
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/contrib'
> Making distclean in perl
> make[3]: Entering directory '/<<PKGBUILDDIR>>/perl'
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/perl'
> Making distclean in python
> make[3]: Entering directory '/<<PKGBUILDDIR>>/python'
> rm -rf build
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/python'
> Making distclean in tests
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
> test ! -f './testsuite' || /bin/bash './testsuite' --clean
> test -z "test_nsca" || rm -f test_nsca
> rm -f *.o
> rm -f *.tab.c
> test -z "atlocal" || rm -f atlocal
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "atconfig" || rm -f atconfig
> rm -f ./.deps/test_nsca.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "" || rm -f 
> rm -f config.h stamp-h1
> 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
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building nsca-ng using existing ./nsca-ng_1.6.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: executable mode 0755 of 'tests/testsuite' will not be represented in diff
> dpkg-source: info: local changes detected, the modified files are:
>  nsca-ng-1.6/tests/package.m4
>  nsca-ng-1.6/tests/testsuite
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/nsca-ng_1.6-6.diff.wDHlen
> 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/nsca-ng_1.6-6_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.



More information about the Pkg-nagios-devel mailing list