Skip Menu |
Report information
Id: 126820
Status: rejected
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: hakon.hagland [at] gmail.com
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)



From: Håkon Hægland <hakon.hagland [...] gmail.com>
To: perlbug [...] perl.org
Subject: Tests for h2ph.t, op/numconvert.t, and op/range.t fails when trying to install 5.14.4 (using gcc 4.9)
Date: Sat, 5 Dec 2015 16:22:38 +0100
Download (untitled) / with headers
text/plain 3.6k
Trying to install an earlier perl version (5.14.4) on my Ubuntu laptop using 
perlbrew. I am using Ubuntu 14.10, and perl version 5.20.1. The installation failed 
when perlbrew was running "make test"..

I figured this was not a problem with perlbrew, and downloaded the source myself from www.cpan.org :

$ tar -xzf perl-5.14.4.tar.gz
$ cd perl-5.14.4
$ ./Configure -des -Dprefix=$HOME/localperl
$ make
$ make test

and the same tests failed. Here is the output from running /.myconfig

$ ./myconfig
Summary of my perl5 (revision 5 version 14 subversion 4) configuration:
   
  Platform:
    osname=linux, osvers=3.16.0-44-generic, archname=x86_64-linux
    uname='linux hakon-thinkpad-edge-e540-2 3.16.0-44-generic #59-ubuntu smp tue jul 7 02:07:39 utc 2015 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Dprefix=/home/hakon/localperl'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.9.1', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.19'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'

and here are the failed tests:

# Failed at ../lib/h2ph.t line 49
#      got 'Illegal declaration of subroutine main::__has_include at _h2ph_pre.ph line 488.
# '
# expected /(?^:syntax OK$)/
# Failed at ../lib/h2ph.t line 56
#      got "Illegal character in prototype for main::__has_include : STR at _h2ph_pre.ph line 488.\nCompilation failed in require at lib/h2ph.pht line 1.\nCompilation failed in require at -e line 1.\n"
# expected ""
../lib/h2ph.t ..................................................... 
Failed 2/6 subtests 


# '-9223372036854775808' ne '-9.22337203685478e+18', 9223372036854775808 => I - n P vs I - P
# Failed at op/numconvert.t line 247
# '-9223372036854775808' ne '-9.22337203685478e+18', -9223372036854775808 => N - n P vs N - P
# Failed at op/numconvert.t line 247
# '-9223372036854775808' ne '-9.22337203685478e+18', -9223372036854775808 => P - n P vs P - P
# Failed at op/numconvert.t line 247
op/numconvert.t ................................................... 
Failed 12/1444 subtests 


# Failed at op/range.t line 311
#      got undef
# expected "-9223372036854775807"
# Failed at op/range.t line 312
#      got undef
# expected "-9223372036854775804"
# Failed at op/range.t line 330
op/range.t ........................................................ 
Failed 25/141 subtests 


I found a similar bugreport at rt.perl.org :

 "Can't build perl with gcc4.9 due to UB in sv.c" :

Best regards,
Håkon Hægland

RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 493b
On Sat Dec 05 07:23:01 2015, hakon.hagland@gmail.com wrote: Show quoted text
> Trying to install an earlier perl version (5.14.4) on my Ubuntu laptop > using > perlbrew. I am using Ubuntu 14.10, and perl version 5.20.1. The > installation failed > when perlbrew was running "make test"..
Perl 5.14 is no longer supported by perl5-porters. If you expect perlbrew to install unsupported older perls on your system you should probably report an issue against perlbrew, or perhaps against Devel::PatchPerl. Tony
Subject: Re: [perl #126820] perlbug AutoReply: Tests for h2ph.t, op/numconvert.t, and op/range.t fails when trying to install 5.14.4 (using gcc 4.9)
Date: Mon, 7 Dec 2015 08:17:31 +0100
From: Håkon Hægland <hakon.hagland [...] gmail.com>
To: perlbug-followup [...] perl.org
Download (untitled) / with headers
text/plain 3.3k
> Perl 5.14 is no longer supported by perl5-porters.
> If you expect perlbrew to install unsupported older perls on your system you should probably report an issue against 
> perlbrew, or perhaps against Devel::PatchPerl.

I was not aware of that.. I now read


which confirms that only 5.20 and 5.22 are supported..

I will report this issue against perlbrew or Devel::PatchPerl instead


2015-12-05 16:23 GMT+01:00 <perlbug-followup@perl.org>:
Show quoted text
Greetings,

This message has been automatically generated in response to the
creation of a perl bug report regarding:
   "Tests for h2ph.t, op/numconvert.t, and op/range.t fails when trying to install 5.14.4 (using gcc 4.9)".

There is no need to reply to this message right now.  Your ticket has been
assigned an ID of [perl #126820].

You can view your ticket at
https://rt.perl.org/Ticket/Display.html?id=126820

Within the next 24 to 72 hours, your message will be posted to the Perl 5 Porters mailing list. Please be patient!

Please include the string:

   [perl #126820]

in the subject line of all future correspondence about this issue. To do so,
you may reply to this message (please delete unnecessary quotes and text.)

  Thank you,
  perlbug-followup@perl.org

-------------------------------------------------------------------------
X-Spam-Status: No, hits=-6.7 required=8.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,PERLBUG_CONF,RCVD_IN_DNSWL_LOW,SPF_PASS
Received: (qmail 29772 invoked by uid 225); 5 Dec 2015 15:22:45 -0000
Received: (qmail 29768 invoked by alias); 5 Dec 2015 15:22:45 -0000
Received: from mail-vk0-f53.google.com (HELO mail-vk0-f53.google.com) (209.85.213.53) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Sat, 05 Dec 2015 07:22:42 -0800
Received: by vkay187 with SMTP id y187so81509697vka.3 for <perlbug@perl.org>; Sat, 05 Dec 2015 07:22:38 -0800 (PST)
Received: by 10.31.50.142 with HTTP; Sat, 5 Dec 2015 07:22:38 -0800 (PST)
From: Håkon Hægland <hakon.hagland@gmail.com>
MIME-Version: 1.0
To: perlbug@perl.org
Return-Path: <hakon.hagland@gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1ZPG79vc2Y85UdleO31VN6n2WzRk/hCBktOC2hYWgjc=; b=UFiejWP+N6AymgcNOhdYGeol+g9OsWH0nnPJTXCNPHHTXCYnZD+JroB0592wXU4Lp7 5hps13TDKomgsK5UodzOSszjTLi/rRFgmQkKAZKjLARct/vyDd3SAbuC2klbvd6yEXr3 kT6H/ctdn+ul5ySb83Qp/ZAAoPqdOKimycdODQwpJ0qxWYDV9y8mB43SXYkohTfBbmTy aNtDBCeXbUkv/2unWOKAvR1rSfkxZFPG87HDEmmtR64VyVsLRXb4qtrSANQ5s4c44te+ HKsxlUfGp9Y3aPs0SQqEfJgjrahpa+8Sw8b3E6CDh5yRm7JOHVnnx18bNQJ99hZysrA6 sdQA==
From hakon.hagland@gmail.com Sat Dec 05 15:22:45 2015
X-Virus-Checked: Checked
Subject: Tests for h2ph.t, op/numconvert.t, and op/range.t fails when trying to install 5.14.4 (using gcc 4.9)
Date: Sat, 5 Dec 2015 16:22:38 +0100
Delivered-To: rt-perl5@rt.perl.org
Delivered-To: perlbug@perl.org
X-Spam-Check-BY: la.mx.develooper.com
X-Received: by 10.31.108.142 with SMTP id j14mr14947209vki.36.1449328958530; Sat, 05 Dec 2015 07:22:38 -0800 (PST)
Message-ID: <CACxbc=DKcBoQmtFZc2KB+is5F_vL-qVaqR7cV79pkyPbiGe7aQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="001a114790b0bc9a4d05262831c4"
X-RT-Interface: Email

From: Håkon Hægland <hakon.hagland [...] gmail.com>
To: perlbug-followup [...] perl.org
Date: Mon, 7 Dec 2015 00:49:32 +0100
Subject: Re: [perl #126820] Tests for h2ph.t, op/numconvert.t, and op/range.t fails when trying to install 5.14.4 (using gcc 4.9)
Download (untitled) / with headers
text/plain 921b
Ok, I will then ask the maintainers of perlbrew regarding this issue..

According to 


perl versions earlier than 5.8 is not supported, so I was a little bit surprised 
that 5.14 was not supported.

Is that to say that the information at cpan.org not up to date?
Or am I missing something?


2015-12-07 0:04 GMT+01:00 Tony Cook via RT <perlbug-followup@perl.org>:
Show quoted text
On Sat Dec 05 07:23:01 2015, hakon.hagland@gmail.com wrote:
> Trying to install an earlier perl version (5.14.4) on my Ubuntu laptop
> using
> perlbrew. I am using Ubuntu 14.10, and perl version 5.20.1. The
> installation failed
> when perlbrew was running "make test"..

Perl 5.14 is no longer supported by perl5-porters.

If you expect perlbrew to install unsupported older perls on your system you should probably report an issue against perlbrew, or perhaps against Devel::PatchPerl.

Tony

RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 592b
On Mon Dec 07 07:44:26 2015, hakon.hagland@gmail.com wrote: Show quoted text
> Ok, I will then ask the maintainers of perlbrew regarding this issue.. > > According to > > http://www.cpan.org/src/README.html > > perl versions earlier than 5.8 is not supported, so I was a little bit > surprised > that 5.14 was not supported. > > Is that to say that the information at cpan.org not up to date?
That page is definitely out of date. The supported versions can now be populated programmatically, since there is a very simple heuristic for determining this value. Who is maintaining this section of the site?
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 740b
On Mon Dec 07 14:29:11 2015, ether wrote: Show quoted text
> On Mon Dec 07 07:44:26 2015, hakon.hagland@gmail.com wrote:
> > Ok, I will then ask the maintainers of perlbrew regarding this > > issue.. > > > > According to > > > > http://www.cpan.org/src/README.html > > > > perl versions earlier than 5.8 is not supported, so I was a little > > bit > > surprised > > that 5.14 was not supported. > > > > Is that to say that the information at cpan.org not up to date?
> > That page is definitely out of date. The supported versions can now be > populated programmatically, since there is a very simple heuristic for > determining this value. > > Who is maintaining this section of the site?
Ask is, maintained at: https://github.com/perlorg/cpanorg Tony
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 578b
On Wed Dec 09 15:53:36 2015, tonyc wrote: Show quoted text
> On Mon Dec 07 14:29:11 2015, ether wrote:
> > That page is definitely out of date. The supported versions can now be > > populated programmatically, since there is a very simple heuristic for > > determining this value. > > > > Who is maintaining this section of the site?
> > Ask is, maintained at: > > https://github.com/perlorg/cpanorg
I've PRed a simple manual fix with: https://github.com/perlorg/cpanorg/pull/30 If someone wants to make a change to the template code instead, please go ahead :) Closing this ticket. Tony


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org