Source: perl Version: 5.22.2-5 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, one of the tests in the test suite fails: cpan/Socket/t/getaddrinfo ..................................... # Failed test '$err == 0 for host=cpan.perl.org/service=ftp/socktype=STREAM' # at t/getaddrinfo.t line 76. # got: -8 # expected: 0 # Failed test '@res has results' # at t/getaddrinfo.t line 78. # Looks like you failed 2 tests of 31. FAILED at test 22 -8 is EAI_SERVICE, which is returned by getaddrinfo when the service is not known; since the test is requesting an ftp service ( $err, @res ) = getaddrinfo( "cpan.perl.org", "ftp", { socktype => SOCK_STREAM } ); cmp_ok( $err, "==", 0, '$err == 0 for host=cpan.perl.org/service=ftp/socktype=STREAM' ); then most probably it's due to the lack of the /etc/service, provided by netbase. It seems it was disabled on hurd in version 5.6.1-1, to fix bug #89406; OTOH netbase nowadays (and I guess for many years actually) is arch:all, depending only on another arch:all package, and the installation issue is long gone. Attached patch to re-enable the netbase build dependency also on hurd architectures. Thanks, -- Pino
--- a/debian/control +++ b/debian/control @@ -9,7 +9,7 @@ Build-Depends: file <!nocheck>, cpio, libdb-dev, libgdbm-dev, - netbase [!hurd-any] <!nocheck>, + netbase <!nocheck>, procps [!hurd-any] <!nocheck>, zlib1g-dev | libz-dev, libbz2-dev,