Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 11296
Status: resolved
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: blair [...] orcaware.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.36
Fixed in: (no value)



Subject: YAML 0.36 fails make test with Perl 5.6.1
The new version of YAML passes make test on all my Perl 5.8.x versions, but fails on 5.6.1: t/10dump......ok t/11code......FAILED tests 1-2, 5 Failed 3/5 tests, 40.00% okay t/12nest......ok t/13opts......ok t/20load......ok t/21spec......ok t/22slides....ok t/30errors....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/11code.t 5 3 60.00% 1-2 5 Failed 1/11 test scripts, 90.91% okay. 3/263 subtests failed, 98.86% okay. $ /opt/i386-linux/installed/perl-5.6.1/bin/perl -Iblib/lib t/11code.t 1..5 not ok 1 # Failed test ('manual: return sub { 42 } ') # got: '--- !perl/code: "{\n 42;\n}\n" # ' # expected: '--- !perl/code: | # { # 42; # } # ' not ok 2 # Failed test ('manual: $joe_random_global = sub { 42 }; [$joe_random_global, $joe_random_global, $joe_random_global] ') # got: '--- # - &1 !perl/code: "{\n 42;\n}\n" # - *1 # - *1 # ' # expected: '--- # - &1 !perl/code: | # { # 42; # } # - *1 # - *1 # ' ok 3 ok 4 not ok 5 # Failed test ('manual: bless sub { 42 }, "Foo::Bar" ') # got: '--- !perl/code:Foo::Bar "{\n 42;\n}\n" # ' # expected: '--- !perl/code:Foo::Bar | # { # 42; # } # ' Here's my perl -V output: $ /opt/i386-linux/installed/perl-5.6.1/bin/perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.4.9-13, archname=i686-linux uname='linux login.la.orcablue.com 2.4.9-13 #1 tue oct 30 20:11:04 est 2001 i686 unknown ' config_args='-Ubincompat5005 -Ud_bincompat5005 -Dcc=/opt/i386-linux/gcc/bin/gcc -Doptimize=-O3 -Ulocincpth -Dd_dosuid -Dcf_email=blair@orcaware.com -Dmydomain=.orcaware.com -Dlibpth=/lib /usr/lib -Dlibspath=/lib /usr/lib -Dprefix=/opt/i386-linux/installed/perl-5.6.1 -Uuseperlio -Uversiononly -Uinstallusrbinperl' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='/opt/i386-linux/gcc/bin/gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O3', cppflags='-fno-strict-aliasing' ccversion='', gccversion='3.1.1', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='/opt/i386-linux/gcc/bin/gcc', ldflags ='' libpth=/lib /usr/lib libs=-lnsl -lgdbm -ldl -lm -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Locally applied patches: ActivePerl Build 631 Built under linux Compiled at Jan 7 2002 14:29:03 @INC: /opt/i386-linux/installed/perl-5.6.1/lib/5.6.1/i686-linux /opt/i386-linux/installed/perl-5.6.1/lib/5.6.1 /opt/i386-linux/installed/perl-5.6.1/lib/site_perl/5.6.1/i686-linux /opt/i386-linux/installed/perl-5.6.1/lib/site_perl/5.6.1 /opt/i386-linux/installed/perl-5.6.1/lib/site_perl . Regards, Blair
This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/42 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
closing, as YAML requires 5.8.1 now