Bug#978675: libsys-hostname-long-perl: FTBFS, tests fail

Holger Levsen holger at debian.org
Tue Dec 29 23:41:08 GMT 2020


Package: libsys-hostname-long-perl
Version: 1.5-1
Severity: serious

Dear Maintainer,

when trying to build libsys-hostname-long-perl in current sid it fails:

I: Building the package
I: Running cd /build/libsys-hostname-long-perl-1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent" dpkg-buildpackage -us -uc
dpkg-buildpackage: info: source package libsys-hostname-long-perl
dpkg-buildpackage: info: source version 1.5-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Axel Beckert <abe at debian.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 fakeroot debian/rules clean
dh clean
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building libsys-hostname-long-perl using existing ./libsys-hostname-long-perl_1.5.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building libsys-hostname-long-perl in libsys-hostname-long-perl_1.5-1.debian.tar.xz
dpkg-source: info: building libsys-hostname-long-perl in libsys-hostname-long-perl_1.5-1.dsc
 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)
        perl -I. Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -fdebug-prefix-map=/build/libsys-hostname-long-perl-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/libsys-hostname-long-perl-1.5=. -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 Sys::Hostname::Long
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 '/build/libsys-hostname-long-perl-1.5'
cp testall.pl blib/lib/Sys/Hostname/testall.pl
cp lib/Sys/Hostname/Long.pm blib/lib/Sys/Hostname/Long.pm
Manifying 1 pod document
make[1]: Leaving directory '/build/libsys-hostname-long-perl-1.5'
   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 '/build/libsys-hostname-long-perl-1.5'
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/
hostname: Temporary failure in name resolution
t/local.t ..
1..1
# Running under perl version 5.032000 for linux
# Current time local: Tue Dec 29 23:17:35 2020
# Current time GMT:   Tue Dec 29 23:17:35 2020
# Using Test.pm version 1.31
not ok 1
Your hostname =
Failed 1/1 subtests
Sys::Hostname::Long - Last Dispatch method = ip at /build/libsys-hostname-long-perl-1.5/blib/lib/Sys/Hostname/Long.pm line 206.
Use of uninitialized value $hostname in string ne at t/local.t line 10.
# Failed test 1 in t/local.t at line 10
#  t/local.t line 10 is: ok($hostname ne "");
Use of uninitialized value $hostname in concatenation (.) or string at t/local.t line 12.

Test Summary Report
-------------------
t/local.t (Wstat: 0 Tests: 1 Failed: 1)
  Failed test:  1
Files=1, Tests=1,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.04 cusr  0.00 csys =  0.07 CPU)
Result: FAIL
make[1]: Leaving directory '/build/libsys-hostname-long-perl-1.5'
Failed 1/1 test programs. 1/1 subtests failed.
make[1]: *** [Makefile:830: test_dynamic] Error 255
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
I: copying local configuration
E: Failed autobuilding of package
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: cleaning the build env
I: removing directory /srv/workspace/pbuilder/7694 and its subdirectories

-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁       holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀ PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
 ⠈⠳⣄

If secure encryption is outlawed, only criminals will have it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20201230/cccea7ce/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list