Your message dated Sun, 5 Jun 2016 11:57:24 +0100
with message-id <[email protected]>
and subject line Re: Bug#825018: perl: FTBFS on hurd-i386: hardcoded E2BIG 
errno value
has caused the Debian Bug report #825018,
regarding perl: flawed test: hardcoded E2BIG errno value
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
825018: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825018
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 <[email protected]>

--- End Message ---
--- Begin Message ---
On Sat, Jun 04, 2016 at 02:20:08PM +0100, Dominic Hargreaves wrote:
> Control: severity -1 minor
> Control: retitle -1 perl: flawed test: hardcoded E2BIG errno value
> 
> On Sun, May 29, 2016 at 02:23:52AM +0200, Samuel Thibault wrote:
> > Dominic Hargreaves, on Sat 28 May 2016 16:50:41 +0100, wrote:
> > > print "errno 7 stringifies to '$!'\n";
> > > dom@exodar:~$ ./test.pl 
> > > errno 7 stringifies to '(os/kern) not receiver'
> > > 
> > > but because that error message is also long enough, the test passes.
> > > Can you shed any more light about how to reproduce this test failure?
> > 
> > Ah, that was most probably another consequence of #825020, giving me "7"
> > (thus too short) instead of the error message.
> 
> Aha, that makes sense. So I've retitled and downgraded the bug
> appropriately since it shouldn't now be the cause of a FTBFS. I'll
> forward upstream - the test is clearly buggy (in at least two regards,
> one of which cancels out the other).

It is apparent based on the upstream discussion at
<https://rt.perl.org/Ticket/Display.html?id=128319> that we misunderstood
the intent of the test; there is in fact no bug here.

Dominic.

--- End Message ---

Reply via email to