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

Dominic Hargreaves dom at earth.li
Wed Sep 7 13:41:41 UTC 2016


On Tue, Sep 06, 2016 at 11:14:44PM +0200, Pino Toscano wrote:
> 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.

Hi Pino,

Are you able to check whether this patch also has the desired effect
with perl 5.24.1~rc3-1?

Note that there is one more hurd-specific failure there[1]:

cpan/File-Path/t/Path ......................................... #   Failed test 'no $arg->{error}: defined 2nd and 3rd args: got expected error message'
#   at t/Path.t line 672.
#                   'message in a bottle for /path/to/glory: (os/kern) protection failure at t/Path.t line 666.
# '
#     doesn't match '(?^:^message in a bottle for /path/to/glory: (os/kern) protection failure)'
#   Failed test 'no $arg->{error}: defined 2nd arg; undefined 3rd arg: got expected error message'
#   at t/Path.t line 684.
#                   'message in a bottle: (os/kern) protection failure at t/Path.t line 678.
# '
#     doesn't match '(?^:^message in a bottle: (os/kern) protection failure)'
# Looks like you failed 2 tests of 127.
FAILED at test 117

We are going to transition that to sid before the end of the month
hopefully so it makes sense to target this sort of work there now.

Cheers,
Dominic.

[1] <https://buildd.debian.org/status/fetch.php?pkg=perl&arch=hurd-i386&ver=5.24.1~rc3-1&stamp=1473132937>




More information about the Perl-maintainers mailing list