Bug#978675: libsys-hostname-long-perl: FTBFS, tests fail
hi Gregor, On Thu, Dec 31, 2020 at 02:13:53AM +0100, gregor herrmann wrote: > I've uploaded -2 in order to > - see what the buildds say > - get more diagnostics > - get a .buildinfo file > > And the result is: > - it built on my laptop and on the buildd > - we should have a .buildinfo file :) yay! > Hm, and after writing this mail, I think that an environment where > `hostname' fails is maybe really to special in order to re-open the > bug. I agree. Thanks for your work on this! -- cheers, Holger ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org ⢿⡄⠘⠷⠚⠋⠀ PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C ⠈⠳⣄ "There's no glory in prevention." (Christian Drosten) signature.asc Description: PGP signature
Bug#978675: libsys-hostname-long-perl: FTBFS, tests fail
On Wed, 30 Dec 2020 10:35:52 +, Holger Levsen wrote: > On Wed, Dec 30, 2020 at 06:12:55AM +0100, Axel Beckert wrote: > > gregoa: I'll leave up to you if you already want to close the bug > > report or not. Feel free to replace my fixed tag with a pending tag or > > so. > I've already closed the bug :) Thanks, Axel and Holger. So the situation is: I've uploaded -2 in order to - see what the buildds say - get more diagnostics - get a .buildinfo file And the result is: - it built on my laptop and on the buildd - we should have a .buildinfo file :) - it still fails on the reproducible build servers - and the diagnostics there failed as well (fixed in git, I got the order wrong) Taking a step back: What the very simple module does is to try and guess the FQDN of a machine, with various methods. And it seems this doesn't always work (cf. "hostname: Temporary failure in name resolution" in the logs of the failures but all other methods which are tried later apparently fail as well). So I guess we can say - that the module and the tests probably work in most "real" situations - but it can fail under "special" circumstances, which the RB hosts and Holger's build machine triggered (but nothing else or before, like Lucas' archive rebuilds). We can now - say "good enough" and forget about the issue - or reopen the bug and lower the severity (and retitle it to something like "Sys::Hostname::Long fails if there is not networking/no DNS/something"). I'm not sure if/how the bug can be fixed, or if a failing `hostname' is ultimately a bug in the package or in the environment. Hm, and after writing this mail, I think that an environment where `hostname' fails is maybe really to special in order to re-open the bug. But I'd still like to hear other opinions, that's why I started this mail in the first place even if the bug is already closed :) Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: Kings of Convenience: My Ship Isn't Pretty signature.asc Description: Digital Signature
Bug#978675: libsys-hostname-long-perl: FTBFS, tests fail
hi Axel, On Wed, Dec 30, 2020 at 06:12:55AM +0100, Axel Beckert wrote: > gregoa: I'll leave up to you if you already want to close the bug > report or not. Feel free to replace my fixed tag with a pending tag or > so. I've already closed the bug :) -- cheers, Holger ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org ⢿⡄⠘⠷⠚⠋⠀ PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C ⠈⠳⣄ There are only two kinds of nazis: stupid ones and those without an excuse. (Volker Strübing) signature.asc Description: PGP signature
Processed: Re: Bug#978675: libsys-hostname-long-perl: FTBFS, tests fail
Processing control commands: > tag -1 + ftbfs fixed Bug #978675 [libsys-hostname-long-perl] libsys-hostname-long-perl: FTBFS, tests fail Added tag(s) fixed and ftbfs. -- 978675: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978675 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#978675: libsys-hostname-long-perl: FTBFS, tests fail
Control: tag -1 + ftbfs fixed Hi Holger, Holger Levsen wrote: > Package: libsys-hostname-long-perl > Version: 1.5-1 I've added the tag ftbfs so that it also shows up on https://buildd.debian.org/status/package.php?p=libsys-hostname-long-perl > when trying to build libsys-hostname-long-perl in current sid it fails: Thanks for the bug report. gregoa just made an upload which modernizes the package and also increases verbosity to see what actually goes wrong. And as it seems, the general overhaul seems also have to fixed this issue. At least on the buildds, the package built fine: https://buildd.debian.org/status/package.php?p=libsys-hostname-long-perl=unstable Holger: Can you check if this is the case on your side, too? gregoa: I'll leave up to you if you already want to close the bug report or not. Feel free to replace my fixed tag with a pending tag or so. Regards, Axel -- ,''`. | Axel Beckert , https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `-| 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Bug#978675: libsys-hostname-long-perl: FTBFS, tests fail
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 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. signature.asc Description: PGP signature