Bug#1049608: libdbix-class-inflatecolumn-ip-perl: Fails to build binary packages again after successful build

Lucas Nussbaum lucas at debian.org
Wed Aug 16 08:42:49 BST 2023


Source: libdbix-class-inflatecolumn-ip-perl
Version: 0.02003-2
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: debian-qa at lists.debian.org
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 libdbix-class-inflatecolumn-ip-perl
> dpkg-buildpackage: info: source version 0.02003-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jelmer Vernooij <jelmer at debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  fakeroot debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> "/usr/bin/perl" "-Iinc" "-MExtUtils::Manifest=fullcheck" -e fullcheck
> rm -f \
>   IP.bso IP.def \
>   IP.exp IP.x \
>    blib/arch/auto/DBIx/Class/InflateColumn/IP/extralibs.all \
>   blib/arch/auto/DBIx/Class/InflateColumn/IP/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] libIP.def \
>   mon.out perl \
>   perl perl.exe \
>   perlmain.c pm_to_blib \
>   pm_to_blib.ts so_locations \
>   tmon.out 
> rm -rf \
>   README blib 
> mv Makefile Makefile.old > /dev/null 2>&1
> rm -f \
>   Makefile Makefile.old 
> rm -rf \
>   DBIx-Class-InflateColumn-IP-0.02003 MYMETA.yml 
> No such file: README
> 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/libdbix-class-inflatecolumn-ip-perl/dh_installchangelogs.dch.trimmed
> Not in MANIFEST: debian/.debhelper/generated/libdbix-class-inflatecolumn-ip-perl/installed-by-dh_installdocs
> Not in MANIFEST: debian/.debhelper/generated/libdbix-class-inflatecolumn-ip-perl/installed-by-dh_installman
> Not in MANIFEST: debian/changelog
> Not in MANIFEST: debian/control
> Not in MANIFEST: debian/copyright
> Not in MANIFEST: debian/debhelper-build-stamp
> Not in MANIFEST: debian/files
> Not in MANIFEST: debian/libdbix-class-inflatecolumn-ip-perl.substvars
> Not in MANIFEST: debian/libdbix-class-inflatecolumn-ip-perl/DEBIAN/control
> Not in MANIFEST: debian/libdbix-class-inflatecolumn-ip-perl/DEBIAN/md5sums
> Not in MANIFEST: debian/libdbix-class-inflatecolumn-ip-perl/usr/share/doc/libdbix-class-inflatecolumn-ip-perl/changelog.Debian.gz
> Not in MANIFEST: debian/libdbix-class-inflatecolumn-ip-perl/usr/share/doc/libdbix-class-inflatecolumn-ip-perl/changelog.gz
> Not in MANIFEST: debian/libdbix-class-inflatecolumn-ip-perl/usr/share/doc/libdbix-class-inflatecolumn-ip-perl/copyright
> Not in MANIFEST: debian/libdbix-class-inflatecolumn-ip-perl/usr/share/man/man3/DBIx::Class::InflateColumn::IP.3pm.gz
> Not in MANIFEST: debian/libdbix-class-inflatecolumn-ip-perl/usr/share/perl5/DBIx/Class/InflateColumn/IP.pm
> Not in MANIFEST: debian/rules
> Not in MANIFEST: debian/source/format
> Not in MANIFEST: debian/upstream/metadata
> Not in MANIFEST: debian/watch
> Not in MANIFEST: t/var/DBIxClass.db
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	/usr/bin/perl 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...
> Warning: the following files are missing in your kit:
> 	README
> Please inform the author.
> Generating a Unix-style Makefile
> Writing Makefile for DBIx::Class::InflateColumn::IP
> Writing MYMETA.yml and MYMETA.json
>    dh_auto_build
> 	make -j8
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cp lib/DBIx/Class/InflateColumn/IP.pm blib/lib/DBIx/Class/InflateColumn/IP.pm
> Manifying 1 pod document
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test
> 	make -j8 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, 'inc', 'blib/lib', 'blib/arch')" t/*.t
> # Testing DBIx::Class::InflateColumn::IP 0.02003, Perl 5.036000, /usr/bin/perl
> t/00-load.t ....... 
> 1..1
> ok 1 - use DBIx::Class::InflateColumn::IP;
> ok
> t/01-ip.t ......... 
> 1..10
> ok 1 - 'numeric address inflated to right class' isa 'NetAddr::IP'
> ok 2 - numeric address correctly inflated
> ok 3 # skip DBIx::Class doesn't support find by object yet
> ok 4 - find by object returned the right row
> ok 5 - 'create with object' isa 'DBICTest::Schema::Host'
> ok 6 - numeric address correctly deflated
> ok 7 - 'CIDR address inflated to right class' isa 'NetAddr::IP'
> ok 8 - CIDR address correctly inflated
> ok 9 - 'create with object' isa 'DBICTest::Schema::Network'
> ok 10 - CIDR address correctly deflated
> ok
> couldn't open README for reading: No such file or directory at t/boilerplate.t line 9.
> # Looks like your test exited with 2 before it could output anything.
> t/boilerplate.t ... 
> 1..3
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 3/3 subtests 
> t/pod-coverage.t .. 
> 1..1
> ok 1 - Pod coverage on DBIx::Class::InflateColumn::IP
> ok
> t/pod.t ........... 
> 1..1
> ok 1 - POD test for blib/lib/DBIx/Class/InflateColumn/IP.pm
> ok
> t/style-notabs.t .. skipped: set TEST_AUTHOR to enable this test
> 
> Test Summary Report
> -------------------
> t/boilerplate.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: Bad plan.  You planned 3 tests but ran 0.
> Files=6, Tests=13,  2 wallclock secs ( 0.03 usr  0.01 sys +  0.85 cusr  0.10 csys =  0.99 CPU)
> Result: FAIL
> Failed 1/6 test programs. 0/13 subtests failed.
> make[1]: *** [Makefile:762: test_dynamic] Error 255
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j8 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/libdbix-class-inflatecolumn-ip-perl_0.02003-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.



More information about the pkg-perl-maintainers mailing list