Bug#836892: perl: please enable the netbase build dependency on hurd

Pino Toscano pino at debian.org
Tue Sep 6 21:14:44 UTC 2016


Source: perl
Version: 5.22.2-5
Severity: important
Tags: patch
User: debian-hurd at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hurd.diff
Type: text/x-diff
Size: 254 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20160906/20b4f1c2/attachment.diff>


More information about the Perl-maintainers mailing list