Skip Menu |

This queue is for tickets about the YAML-Syck CPAN distribution.

Report information
The Basics
Id: 20472
Status: resolved
Worked: 5 min
Priority: 0/
Queue: YAML-Syck

People
Owner: TODDR [...] cpan.org
Requestors: nospam-abuse [...] bloodgate.com
Cc:
AdminCc:

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



Subject: t/2-scalars.t fails test #9 (line 21)
Moin, this is actually broken in 0.62, but RT doesn't allow to select me this version. Best wishes, Tels
Subject: error.log
Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.16, archname=x86_64-linux-thread-multi uname='linux dvorak 2.6.16 #1 smp mon apr 10 04:51:13 utc 2006 x86_64 x86_64 x86_64 gnulinux ' config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true -Doptimize=-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement' ccversion='', gccversion='4.1.0 (SUSE Linux)', 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 =' -L/usr/local/lib64' libpth=/lib64 /usr/lib64 /usr/local/lib64 libs=-lm -ldl -lcrypt -lpthread perllibs=-lm -ldl -lcrypt -lpthread libc=/lib64/libc-2.4.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Apr 22 2006 23:33:01 @INC: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #20472] t/2-scalars.t fails test #9 (line 21)
Date: Sun, 16 Jul 2006 10:47:16 +0300
To: via RT <bug-YAML-Syck [...] rt.cpan.org>
From: Yuval Kogman <nothingmuch [...] woobling.org>
On Sat, Jul 15, 2006 at 07:27:34 -0400, via RT wrote: Hi! Can you tell us which subtests are failing? Ideally you would join #perl6 or some other channel where audrey and/or I are available so that we can give you more to test. 0.62 added some compiler specific changes, such as where variable declarations occur, or some preprocessor nits, and hasn't actually changed much. Can you test 0.61, and 0.46 as well? -- Yuval Kogman <nothingmuch@woobling.org> http://nothingmuch.woobling.org 0xEBD27418
Subject: Re: [rt.cpan.org #20472] t/2-scalars.t fails test #9 (line 21)
Date: Sun, 16 Jul 2006 13:14:47 +0200
To: bug-YAML-Syck [...] rt.cpan.org
From: Tels <nospam-abuse [...] bloodgate.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Moin, On Sunday 16 July 2006 09:47, nothingmuch@woobling.org via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=20472 > > > On Sat, Jul 15, 2006 at 07:27:34 -0400, via RT wrote: > > Hi! > > Can you tell us which subtests are failing?
Sorry, that should have been in the bugreport body, but for some reason got skipped out. I thought I dont need to add it, since I put it into the subject, too - but you probably didnt see that :) Show quoted text
> Ideally you would join #perl6 or some other channel where audrey > and/or I are available so that we can give you more to test.
Sorry, I don't use IRC. Show quoted text
> 0.62 added some compiler specific changes, such as where variable > declarations occur, or some preprocessor nits, and hasn't actually > changed much. > > Can you test 0.61, and 0.46 as well?
Will do. I only needed YAML::Syck for Module::Install, tho :( Ok here goes: 0.61: In file included from Syck.xs:2: perl_common.h: In function ‘perl_syck_mark_emitter’: perl_common.h:95: warning: unused variable ‘keylen’ In file included from Syck.xs:5: perl_syck.h: In function ‘json_syck_parser_handler’: perl_syck.h:74: warning: unused variable ‘load_code’ perl_syck.h: In function ‘json_syck_emitter_handler’: perl_syck.h:673: warning: unused variable ‘keylen’ perl_syck.h:672: warning: unused variable ‘keylen_tmp’ perl_syck.h:671: warning: unused variable ‘keyval’ perl_syck.h:670: warning: unused variable ‘flags’ perl_syck.h:689: warning: unused variable ‘keylen’ perl_syck.h:791: warning: label ‘cleanup’ defined but not used perl_syck.h:528: warning: unused variable ‘ref’ perl_syck.h:527: warning: unused variable ‘dump_code’ In file included from Syck.xs:8: perl_syck.h: In function ‘yaml_syck_parser_handler’: perl_syck.h:213: warning: ISO C90 forbids mixed declarations and code perl_syck.h:302: warning: ISO C90 forbids mixed declarations and code perl_syck.h:318: warning: comparison between pointer and integer perl_syck.h: In function ‘yaml_syck_emitter_handler’: perl_syck.h:673: warning: unused variable ‘keylen’ perl_syck.h:672: warning: unused variable ‘keylen_tmp’ perl_syck.h:671: warning: unused variable ‘keyval’ perl_syck.h:670: warning: unused variable ‘flags’ perl_syck.h:689: warning: unused variable ‘keylen’ perl_syck.h:791: warning: label ‘cleanup’ defined but not used Syck.c: At top level: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE/patchlevel.h:122: warning: ‘local_patches’ defined but not used perl_syck.h: In function ‘yaml_syck_parser_handler’: perl_syck.h:70: warning: ‘sv’ may be used uninitialized in this function perl_syck.h: In function ‘json_syck_parser_handler’: perl_syck.h:70: warning: ‘sv’ may be used uninitialized in this function t/2-scalars...........NOK 9# Failed test 9 in t/2-scalars.t at line 21 t/2-scalars...........FAILED test 9 Failed 1/39 tests, 97.44% okay .... 11 subtests skipped. Failed 1/13 test scripts, 92.31% okay. 1/124 subtests failed, 99.19% okay. And here is 0.45: In file included from Syck.xs:2: perl_common.h: In function ‘perl_syck_mark_emitter’: perl_common.h:83: warning: unused variable ‘keylen’ In file included from Syck.xs:5: perl_syck.h: In function ‘json_syck_emitter_handler’: perl_syck.h:541: warning: unused variable ‘keylen’ perl_syck.h:540: warning: unused variable ‘keylen_tmp’ perl_syck.h:539: warning: unused variable ‘keyval’ perl_syck.h:538: warning: unused variable ‘flags’ perl_syck.h:557: warning: unused variable ‘keylen’ perl_syck.h:591: warning: label ‘cleanup’ defined but not used perl_syck.h:417: warning: unused variable ‘ref’ In file included from Syck.xs:8: perl_syck.h: In function ‘yaml_syck_emitter_handler’: perl_syck.h:541: warning: unused variable ‘keylen’ perl_syck.h:540: warning: unused variable ‘keylen_tmp’ perl_syck.h:539: warning: unused variable ‘keyval’ perl_syck.h:538: warning: unused variable ‘flags’ perl_syck.h:557: warning: unused variable ‘keylen’ perl_syck.h:591: warning: label ‘cleanup’ defined but not used Syck.c: At top level: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE/patchlevel.h:122: warning: ‘local_patches’ defined but not used perl_syck.h: In function ‘yaml_syck_parser_handler’: perl_syck.h:70: warning: ‘sv’ may be used uninitialized in this function perl_syck.h: In function ‘json_syck_parser_handler’: perl_syck.h:70: warning: ‘sv’ may be used uninitialized in this function ... ll tests successful, 6 subtests skipped. Files=12, Tests=99, 1 wallclock secs ( 0.32 cusr + 0.04 csys = 0.36 CPU) GCC info: Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr - --with-local-prefix=/usr/local --infodir=/usr/share/info - --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 - --enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release - --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp --disable-libssp - --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-multilib - --with-slibdir=/lib64 --with-system-zlib --enable-shared - --enable-__cxa_atexit --enable-libstdcxx-allocator=new - --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux Thread model: posix gcc version 4.1.0 (SUSE Linux) So 0.45 passes, 0.61 and 0.62 fail the same test. Plus all emit compiler warnings, which may be relevant or not. Hope this helps, Tels - -- Signed on Sun Jul 16 13:07:23 2006 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. "My other computer is your Windows box." -- Dr. Brad (19034) on 2004-08-13 at /. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iQEVAwUBRLofsXcLPEOTuEwVAQI8sQf+IWN61JftNKZlog9NIjcHOenG0qGXmDFX 1d4gch/HU9rv77+uMal5leCg3n/vX2oShyB7A3aDdzEeVNYv1TektyIozvWJBv53 p+3Urzy2Kfjm1307lw6Pmp4TC8wr1JKrZ0PLxFvg9+4Y0l5KZGaC4VFZ74dM9Vt9 V0+ebJPQNMe18R1g8Iu1sQYTSQkVFUrkuAJ9sgvQf0lzingvn5WMd22HCjF6IsT6 XbOTPk3nXJ3lj8+30j9kpknqCPS8LtL983eW17qlroRo2qNNfweKdfxyZ8oG9zhW wDSCIALnzzcbNWR3MloU91nuL/2QLRu06VL3QLVmubRhb0IZUExQRQ== =JyT3 -----END PGP SIGNATURE-----
As far as I know this is a report about an old version of YAML::Syck not compiling. It compiles now. I suggest closing this ticket.