develooper Front page | perl.perl5.porters | Postings from December 2010

[perl #80212] Bleadperl v5.13.7-234-g7b98bc4 breaks YAML::XS and JE

Thread Next
From:
perlbug-followup
Date:
December 4, 2010 00:11
Subject:
[perl #80212] Bleadperl v5.13.7-234-g7b98bc4 breaks YAML::XS and JE
Message ID:
rt-3.6.HEAD-13564-1291450281-1188.80212-75-0@perl.org
# New Ticket Created by  (Andreas J. Koenig) 
# Please include the string:  [perl #80212]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=80212 >


git bisect:
-----------
  commit 7b98bc43488ec15a4fe9ecdcfe8fc67135640c03
  Author: Karl Williamson <public@khwilliamson.com>
  Date:   Tue Nov 30 18:10:37 2010 -0700

  regcomp.c: utf8 pattern defaults to Unicode semantics

CPAN distros affected:
----------------------

  SPROUT/JE-0.051.tar.gz
  INGY/YAML-LibYAML-0.34.tar.gz

  I have patched YAML-LibYAML before so that only the newly broken tests
  get visible. My two patches are available from CPAN as

  ftp://cpan.cpantesters.org/CPAN/authors/id/A/AN/ANDK/patches/ANDK/patches/YAML-LibYAML-0.34-ANDK-01.patch.gz
  ftp://cpan.cpantesters.org/CPAN/authors/id/A/AN/ANDK/patches/ANDK/patches/YAML-LibYAML-0.34-ANDK-02.patch.gz

My observation:
---------------

  perl -le 'my $x = "\x{100}"; chop $x; print qr/$x/'
  (?^u:)

  This doesn't look right to me that an empty string gets the "u" and
  when I try to fix YAML::XS it gets in the way.

perl -V:
--------

  Summary of my perl5 (revision 5 version 13 subversion 7) configuration:
    Commit id: 7b98bc43488ec15a4fe9ecdcfe8fc67135640c03
    Platform:
      osname=linux, osvers=2.6.32-5-amd64, archname=x86_64-linux-ld
      uname='linux k81 2.6.32-5-amd64 #1 smp sat oct 30 14:18:21 utc 2010 x86_64 gnulinux '
      config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.13.7-234-g7b98bc4 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Uuseithreads -Duselongdouble'
      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=define
      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.4.5', 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='long double', nvsize=16, Off_t='off_t', lseeksize=8
      alignbytes=16, prototype=define
    Linker and Libraries:
      ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
      libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
      libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
      perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
      libc=/lib/libc-2.11.2.so, so=so, useshrplib=false, libperl=libperl.a
      gnulibc_version='2.11.2'
    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'


  Characteristics of this binary (from libperl): 
    Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_USE_DEVEL
                          USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
                          USE_LONG_DOUBLE USE_PERLIO USE_PERL_ATOF
    Built under linux
    Compiled at Dec  4 2010 07:20:30
    @INC:
      /home/src/perl/repoperls/installed-perls/perl/v5.13.7-234-g7b98bc4/lib/site_perl/5.13.7/x86_64-linux-ld
      /home/src/perl/repoperls/installed-perls/perl/v5.13.7-234-g7b98bc4/lib/site_perl/5.13.7
      /home/src/perl/repoperls/installed-perls/perl/v5.13.7-234-g7b98bc4/lib/5.13.7/x86_64-linux-ld
      /home/src/perl/repoperls/installed-perls/perl/v5.13.7-234-g7b98bc4/lib/5.13.7
      .


-- 
andreas


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