Bug#825020: perl: does not support error strings any more on hurd-i386

Samuel Thibault samuel.thibault at ens-lyon.org
Sun May 22 14:13:47 UTC 2016


Package: perl
Version: 5.24.0-1
Severity: important

Hello,

On hurd-i386, version 5.24.0-1 of Perl does not support error strings
any more:

€ cat ~/test.pl
$rc = system { "lkjsdf"} "lkjdf";
printf "# \$! eq %d, '%s'\n", $!, $!;

Using perl 2.22.2:

€ perl ~/test.pl
# $! eq 1073741826, 'No such file or directory'

Using perl 2.24.0:

€ ./perl ~/test.pl
# $! eq 1073741826, '1073741826'

This leads to the following testsuite failure:

    t/op/exec ..................................................... # Failed test 17 - at op/exec.t line 114
    FAILED at test 17

which doesn't work any more because this test:

    unless ( ok( $! == 2  or  $! =~ /\bno\b.*\bfile/i or

doesn't get to parse the error message (in addition to the hardcoded errno value).

I don't know which part of perl is supposed to ship error messages, but
it seems it broke somewhere between 5.22 and 5.24 for the hurd.

Samuel

-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: hurd-i386 (i686-AT386)

Kernel: GNU-Mach 1.7+git20160522-486-dbg/Hurd-0.8
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages perl depends on:
ii  dpkg               1.18.7
ii  libperl5.22        5.22.2-1+b1
ii  perl-base          5.22.2-1+b1
ii  perl-modules-5.22  5.22.2-1

Versions of packages perl recommends:
ii  netbase  5.3
pn  rename   <none>

Versions of packages perl suggests:
pn  libterm-readline-gnu-perl | libterm-readline-perl-perl  <none>
ii  make                                                    4.1-9
pn  perl-doc                                                <none>

-- no debconf information

-- 
Samuel Thibault <samuel.thibault at ens-lyon.org>




More information about the Perl-maintainers mailing list