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

[perl #107058] Bleadperl v5.15.6-147-g415d4c6 breaks INGY/YAML-0.77.tar.gz

From:
perlbug-followup
Date:
December 26, 2011 06:00
Subject:
[perl #107058] Bleadperl v5.15.6-147-g415d4c6 breaks INGY/YAML-0.77.tar.gz
Message ID:
rt-3.6.HEAD-14510-1324908000-168.107058-75-0@perl.org
# New Ticket Created by  (Andreas J. Koenig) 
# Please include the string:  [perl #107058]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=107058 >


git bisect
----------
commit 415d4c68d180055a2cbbd2b2db5ab0e83fc38698
Author: Father Chrysostomos <sprout@cpan.org>
Date:   Sat Dec 24 14:44:30 2011 -0800

    [perl #24027] Deparse strict vars and subs

diagnostics
-----------
ATM I cannot find a report on cpantesters illustrating this. So here is
my test output:

make[1]: Entering directory `/tmp/tmp.Kossfp0vlE/YAML-0.77-FVvmLX'
PERL_DL_NONLAZY=1 /home/sand/src/perl/repoperls/installed-perls/perl/v5.15.6-147-g415d4c6/127e/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/2-scalars.t ............ ok
t/basic-tests.t .......... ok
t/bugs-emailed.t ......... ok
t/bugs-rt.t .............. ok
t/changes.t .............. ok
t/dump-basics.t .......... ok
t/dump-blessed.t ......... ok

#   Failed test 'a code ref (n->y)'
#   at /tmp/tmp.Kossfp0vlE/YAML-0.77-FVvmLX/blib/lib/Test/YAML.pm line 65.
#          got: '--- !!perl/code |
# {
#     use warnings;
#     use strict;
#     'Something at least 30 chars';
# }
# '
#     expected: '--- !!perl/code |
# {
#     use warnings;
#     use strict 'refs';
#     'Something at least 30 chars';
# }
# '

#   Failed test 'an array of the same code ref (n->y)'
#   at /tmp/tmp.Kossfp0vlE/YAML-0.77-FVvmLX/blib/lib/Test/YAML.pm line 65.
#          got: '---
# - &1 !!perl/code |
#   {
#       use warnings;
#       use strict;
#       'Something at least 30 chars';
#   }
# - *1
# - *1
# '
#     expected: '---
# - &1 !!perl/code |
#   {
#       use warnings;
#       use strict 'refs';
#       'Something at least 30 chars';
#   }
# - *1
# - *1
# '

#   Failed test 'blessed code ref (n->y)'
#   at /tmp/tmp.Kossfp0vlE/YAML-0.77-FVvmLX/blib/lib/Test/YAML.pm line 65.
#          got: '--- !!perl/code:Foo::Bar |
# {
#     use warnings;
#     use strict;
#     'Something at least 30 chars';
# }
# '
#     expected: '--- !!perl/code:Foo::Bar |
# {
#     use warnings;
#     use strict 'refs';
#     'Something at least 30 chars';
# }
# '
# Looks like you failed 3 tests of 7.
t/dump-code.t ............ 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/7 subtests 
t/dump-file-utf8.t ....... ok
t/dump-file.t ............ ok
t/dump-nested.t .......... ok
t/dump-opts.t ............ ok
t/dump-perl-types-512.t .. skipped: test only for perls before v5.13.5-11-gfb85c04
t/dump-perl-types-514.t .. ok

#   Failed test 'Code'
#   at t/dump-perl-types.t line 6.
#          got: '--- !!perl/code |
# {
#     use warnings;
#     use strict;
#     print "Hello, world\n";
# }
# '
#     expected: '--- !!perl/code |
# {
#     use warnings;
#     use strict 'refs';
#     print "Hello, world\n";
# }
# '

#   Failed test 'Code Glob'
#   at t/dump-perl-types.t line 6.
#          got: '--- !!perl/glob:
# PACKAGE: main
# NAME: var3
# CODE: !!perl/code |
#   {
#       use warnings;
#       use strict;
#       print "Hello, world\n";
#   }
# '
#     expected: '--- !!perl/glob:
# PACKAGE: main
# NAME: var3
# CODE: !!perl/code |
#   {
#       use warnings;
#       use strict 'refs';
#       print "Hello, world\n";
#   }
# '
# Looks like you failed 2 tests of 14.
t/dump-perl-types.t ...... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/14 subtests 
t/dump-stringify.t ....... ok
t/dump-tests-512.t ....... skipped: test only for perls before v5.13.5-11-gfb85c04
t/dump-tests-514.t ....... ok
t/dump-tests.t ........... ok
t/dump-works.t ........... ok
t/errors.t ............... ok
t/export.t ............... ok
t/freeze-thaw.t .......... ok
t/global-api.t ........... ok
t/inbox.t ................ ok
t/load-fails.t ........... ok
t/load-passes.t .......... ok
t/load-slides.t .......... ok
t/load-spec.t ............ ok
t/load-tests.t ........... ok
t/load-works.t ........... ok
t/marshall.t ............. ok
t/node-info.t ............ ok
t/pugs-objects.t ......... ok
t/references.t ........... ok
t/regexp.t ............... ok
t/svk.t .................. ok
t/test.t ................. ok

Test Summary Report
-------------------
t/dump-code.t          (Wstat: 768 Tests: 7 Failed: 3)
  Failed tests:  1, 3, 7
  Non-zero exit status: 3
t/dump-perl-types.t    (Wstat: 512 Tests: 14 Failed: 2)
  Failed tests:  4, 8
  Non-zero exit status: 2
Files=38, Tests=452, 13 wallclock secs ( 0.12 usr  0.05 sys +  3.54 cusr  0.48 csys =  4.19 CPU)
Result: FAIL
Failed 2/38 test programs. 5/452 subtests failed.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/tmp/tmp.Kossfp0vlE/YAML-0.77-FVvmLX'

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module              Need     Have    
    ------------------- -------- --------
    perl                5.008001 5.015006

build_requires:

    Module              Need     Have    
    ------------------- -------- --------
    ExtUtils::MakeMaker 6.42     6.63_02 

configure_requires:

    Module              Need     Have    
    ------------------- -------- --------
    ExtUtils::MakeMaker 6.42     6.63_02 


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    LANG = en_US.UTF-8
    LANGUAGE = en_US:en
    PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 3152
    PERL5_CPAN_IS_RUNNING = 3152
    SHELL = /usr/bin/zsh
    TERM = screen

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /home/sand/src/perl/repoperls/installed-perls/perl/v5.15.6-147-g415d4c6/127e/bin/perl
    $UID/$EUID = 1005 / 1005
    $GID = 1005 1005
    $EGID = 1005 1005

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                1.9800  
    CPAN::Meta          2.112621
    Cwd                 3.39_01 
    ExtUtils::CBuilder  0.280205
    ExtUtils::Command   1.17    
    ExtUtils::Install   1.57    
    ExtUtils::MakeMaker 6.63_02 
    ExtUtils::Manifest  1.60    
    ExtUtils::ParseXS   3.08    
    File::Spec          3.39_01 
    JSON                2.53    
    JSON::PP            2.27200 
    Module::Build       0.39_01 
    Module::Signature   0.68    
    Parse::CPAN::Meta   1.4401  
    Test::Harness       3.23    
    Test::More          0.98    
    YAML                n/a     
    YAML::Syck          1.19    
    version             0.96    


perl -V
-------

Summary of my perl5 (revision 5 version 15 subversion 6) configuration:
  Commit id: 415d4c68d180055a2cbbd2b2db5ab0e83fc38698
  Platform:
    osname=linux, osvers=2.6.32-5-amd64, archname=x86_64-linux-ld
    uname='linux k83 2.6.32-5-amd64 #1 smp thu nov 3 03:41:26 utc 2011 x86_64 gnulinux '
    config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.15.6-147-g415d4c6/127e -Dmyhostname=k83 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Uuseithreads -Duselongdouble -DDEBUGGING=-g'
    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 -g',
    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/../lib /usr/lib/../lib /lib /usr/lib /lib64 /usr/lib64
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
    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 -g -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_USE_DEVEL
                        USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
                        USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_LONG_DOUBLE USE_PERLIO
                        USE_PERL_ATOF
  Built under linux
  Compiled at Dec 25 2011 23:18:09
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="3152"
    PERL5_CPAN_IS_RUNNING="3152"
  @INC:
    /home/src/perl/repoperls/installed-perls/perl/v5.15.6-147-g415d4c6/127e/lib/site_perl/5.15.6/x86_64-linux-ld
    /home/src/perl/repoperls/installed-perls/perl/v5.15.6-147-g415d4c6/127e/lib/site_perl/5.15.6
    /home/src/perl/repoperls/installed-perls/perl/v5.15.6-147-g415d4c6/127e/lib/5.15.6/x86_64-linux-ld
    /home/src/perl/repoperls/installed-perls/perl/v5.15.6-147-g415d4c6/127e/lib/5.15.6
    .


-- 
andreas




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