develooper Front page | perl.perl5.porters | Postings from September 2011

[perl #99972] re/regexp.t failures on ubuntu 11.04

Thread Next
From:
Robin Barker
Date:
September 25, 2011 15:34
Subject:
[perl #99972] re/regexp.t failures on ubuntu 11.04
Message ID:
rt-3.6.HEAD-31297-1316990073-1750.99972-75-0@perl.org
# New Ticket Created by  Robin Barker 
# Please include the string:  [perl #99972]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=99972 >


This is a bug report for perl from rmbarker@cpan.org,
generated with the help of perlbug 1.39 running under perl 5.15.3.


-----------------------------------------------------------------
[Please describe your issue here]

I upgraded my ubuntu to 11.04 and started have compilation 
and test failures.  With the supplied gcc-4.5.2 I reduced
the problems to re/regexp failures.

Failed 6 tests out of 2044, 99.71% okay.
	re/regexp.t
	re/regexp_noamp.t
	re/regexp_notrie.t
	re/regexp_qr.t
	re/regexp_qr_embed.t
	re/regexp_trielist.t

This is the same test failure: each regexp_*.t test calls regexp.t

The tests pass with C<(cd t; ./perl harness re/*.t) but
> ./perl -Ilib t/re/regexp.t
# RT #89774
not ok 1539 # TODO () /s\xDF/ui:\xDFs:yT:$&:\xDFs => `T', match=
$subject = "\337s";

$got = "T";

                ;
                $match = ($subject =~ m/s\xDF/ui) while $c--;
                $got = "$&";


Before upgrading to ubuntu 11.04, I had no test failues, using gcc-4.6.0
After upgrading, gcc-4.6.0 would not compile perl: missing asm/errno.h

I tried upgrading to gcc-4.6.1 but it would not compile.
I put in a symlink from /usr/include/asm 
and was able to build gcc-4.6.1 and to build perl, 
but again I got the above test failure with perl.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---
Site configuration information for perl 5.15.3:

Configured by robin at Sun Sep 25 17:39:55 BST 2011.

Summary of my perl5 (revision 5 version 15 subversion 3) configuration:
  Commit id: 9c8c35062b12e41237396ffd50b944586cbce3bf
  Platform:
    osname=linux, osvers=2.6.38-11-generic, archname=i686-linux-64int
    uname='linux spade-ubuntu 2.6.38-11-generic #50-ubuntu smp mon sep
12 21:18:14 utc 2011 i686 i686 i386 gnulinux '
    config_args='-des -Dcc=/usr/bin/gcc -Dusedevel -Doptimize=-O2
-DDEBUGGING -Duse64bitint'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='/usr/bin/gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include'
    ccversion='', gccversion='4.5.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='/usr/bin/gcc', ldflags =' -fstack-protector -L/usr/local/lib'

libpth=/usr/local/lib /lib /usr/lib /usr/lib/i386-linux-gnu /usr/lib64
    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.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib
-fstack-protector'

Locally applied patches:
    

---
@INC for perl 5.15.3:
    lib
    /usr/local/lib/perl5/site_perl/5.15.3/i686-linux-64int
    /usr/local/lib/perl5/site_perl/5.15.3
    /usr/local/lib/perl5/5.15.3/i686-linux-64int
    /usr/local/lib/perl5/5.15.3
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl 5.15.3:
    HOME=/home/robin
    LANG=en_GB.UTF-8
    LANGUAGE=en_GB:en
    LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
    LOGDIR (unset)

PATH=/home/robin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About