Source: libwiki-toolkit-plugin-ping-perl
Version: 0.03-2
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 libwiki-toolkit-plugin-ping-perl
> dpkg-buildpackage: info: source version 0.03-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Dominic Hargreaves <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  fakeroot debian/rules clean
> dh clean
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_auto_clean
> dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 
> 9 in use)
>       make -j1 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f \
>   Ping.bso Ping.def \
>   Ping.exp Ping.x \
>    blib/arch/auto/Wiki/Toolkit/Plugin/Ping/extralibs.all \
>   blib/arch/auto/Wiki/Toolkit/Plugin/Ping/extralibs.ld Makefile.aperl \
>   *.a *.o \
>   *perl.core MYMETA.json \
>   MYMETA.yml blibdirs.ts \
>   core core.*perl.*.? \
>   core.[0-9] core.[0-9][0-9] \
>   core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] \
>   core.[0-9][0-9][0-9][0-9][0-9] libPing.def \
>   mon.out perl \
>   perl perl.exe \
>   perlmain.c pm_to_blib \
>   pm_to_blib.ts so_locations \
>   tmon.out 
> rm -rf \
>   blib t/sqlite-test.db 
> mv Makefile Makefile.old > /dev/null 2>&1
> rm -f \
>   Makefile Makefile.old 
> rm -rf \
>   Wiki-Toolkit-Plugin-Ping-0.03 
> "/usr/bin/perl" "-MExtUtils::Manifest=fullcheck" -e fullcheck
> Not in MANIFEST: .pc/.quilt_patches
> Not in MANIFEST: .pc/.quilt_series
> Not in MANIFEST: .pc/.version
> Not in MANIFEST: .pc/applied-patches
> Not in MANIFEST: 
> debian/.debhelper/generated/libwiki-toolkit-plugin-ping-perl/dh_installchangelogs.dch.trimmed
> Not in MANIFEST: 
> debian/.debhelper/generated/libwiki-toolkit-plugin-ping-perl/installed-by-dh_installdocs
> Not in MANIFEST: 
> debian/.debhelper/generated/libwiki-toolkit-plugin-ping-perl/installed-by-dh_installman
> Not in MANIFEST: debian/changelog
> Not in MANIFEST: debian/compat
> Not in MANIFEST: debian/control
> Not in MANIFEST: debian/copyright
> Not in MANIFEST: debian/files
> Not in MANIFEST: debian/libwiki-toolkit-plugin-ping-perl.debhelper.log
> Not in MANIFEST: debian/libwiki-toolkit-plugin-ping-perl.substvars
> Not in MANIFEST: debian/libwiki-toolkit-plugin-ping-perl/DEBIAN/control
> Not in MANIFEST: debian/libwiki-toolkit-plugin-ping-perl/DEBIAN/md5sums
> Not in MANIFEST: 
> debian/libwiki-toolkit-plugin-ping-perl/usr/share/doc/libwiki-toolkit-plugin-ping-perl/changelog.Debian.gz
> Not in MANIFEST: 
> debian/libwiki-toolkit-plugin-ping-perl/usr/share/doc/libwiki-toolkit-plugin-ping-perl/changelog.gz
> Not in MANIFEST: 
> debian/libwiki-toolkit-plugin-ping-perl/usr/share/doc/libwiki-toolkit-plugin-ping-perl/copyright
> Not in MANIFEST: 
> debian/libwiki-toolkit-plugin-ping-perl/usr/share/man/man3/Wiki::Toolkit::Plugin::Ping.3pm.gz
> Not in MANIFEST: 
> debian/libwiki-toolkit-plugin-ping-perl/usr/share/perl5/Wiki/Toolkit/Plugin/Ping.pm
> Not in MANIFEST: debian/rules
> Not in MANIFEST: debian/source/format
> Not in MANIFEST: debian/watch
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
> dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in 
> use)
>  debian/rules build
> dh build
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_update_autotools_config
>    dh_auto_configure
> dh_auto_configure: warning: Compatibility levels before 10 are deprecated 
> (level 9 in use)
>       /usr/bin/perl -I. Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" 
> "LD=x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
> Checking if your kit is complete...
> Looks good
> Generating a Unix-style Makefile
> Writing Makefile for Wiki::Toolkit::Plugin::Ping
> Writing MYMETA.yml and MYMETA.json
>    dh_auto_build
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 
> 9 in use)
>       make -j1
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cp lib/Wiki/Toolkit/Plugin/Ping.pm blib/lib/Wiki/Toolkit/Plugin/Ping.pm
> Manifying 1 pod document
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test
> dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 
> in use)
>       make -j1 test TEST_VERBOSE=1
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" 
> "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 
> 'blib/arch')" t/*.t
> t/01_init.t .. 
> 1..4
> ok 1 - Plugin was created OK with no URLs
> ok 2 - Plugin was created OK with no URLs
> ok 3 - Can't create with a url missing $url
> ok 4 - Can't create with a node_to_url missing
> ok
> Port number above 0xFFFF, will be truncated to 46697 for 
> Socket::pack_sockaddr_in at 
> /usr/lib/x86_64-linux-gnu/perl-base/IO/Socket/INET.pm line 262.
> Can't listen on port 112233 for test at t/02_call.t line 37.
> # Looks like your test exited with 98 before it could output anything.
> t/02_call.t .. 
> 1..5
> Creating table content... done
> Creating table metadata... done
> Creating table schema_info... done
> Creating table node... done
> Creating table internal_links... done
> Dubious, test returned 98 (wstat 25088, 0x6200)
> Failed 5/5 subtests 
> 
> Test Summary Report
> -------------------
> t/02_call.t (Wstat: 25088 (exited 98) Tests: 0 Failed: 0)
>   Non-zero exit status: 98
>   Parse errors: Bad plan.  You planned 5 tests but ran 0.
> Files=2, Tests=4,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.30 cusr  0.05 
> csys =  0.38 CPU)
> Result: FAIL
> Failed 1/2 test programs. 0/4 subtests failed.
> make[1]: *** [Makefile:826: test_dynamic] Error 98
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j1 test TEST_VERBOSE=1 returned exit code 2
> make: *** [debian/rules:4: build] Error 25
> dpkg-buildpackage: error: debian/rules build 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/libwiki-toolkit-plugin-ping-perl_0.03-2_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