Bug#825018: perl: FTBFS on hurd-i386: hardcoded E2BIG errno value

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


Package: perl
Version: 5.24.0-1
Severity: important

Hello,

The following testsuite failure on hurd-i386:

    dist/constant/t/constant ...................................... #   Failed test at t/constant.t line 99.
    #     '1'
    #         >
    #     '6'
    # Looks like you failed 1 test of 109.
    FAILED at test 31

is actually a bug in the test:

    use constant E2BIG => $! = 7;
    cmp_ok E2BIG, '==', 7;
    # This is something like "Arg list too long", but the actual message
    # text may vary, so we can't test much better than this.
    cmp_ok length(E2BIG), '>', 6;

This hardcodes that E2BIG is supposed to be 7, but nothing asserts that
in C and POSIX, and hurd-i386 happens to be using other values, and thus
the test fails, but that's not a bug in hurd-i386.

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