Skip Menu |
 

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 47517
Status: rejected
Priority: 0/
Queue: autodie

People
Owner: PJF [...] cpan.org
Requestors: david [...] davidfavor.com
Cc:
AdminCc:

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



Subject: autodie-2.00 through 2.04 broken in same way
Date: Thu, 02 Jul 2009 12:43:47 -0500
To: bug-autodie [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Download (untitled) / with headers
text/plain 5.8k
t/format-clobber.t ............... ok t/hints.t ........................ # Sub::Identify is loaded t/hints.t ........................ ok t/hints_insist.t ................. ok t/hints_pod_examples.t ........... 1/? # Failed test 'scalar test - foo(undef)' # at t/hints_pod_examples.t line 166. # got: 'Can't foo(undef): at t/hints_pod_examples.t line 157 # ' # expected: '' # Failed test 'scalar test - zero_scalar(undef)' # at t/hints_pod_examples.t line 166. # got: 'Can't zero_scalar(undef): at t/hints_pod_examples.t line 157 # ' # expected: '' # Failed test 'scalar test - bar(undef)' # at t/hints_pod_examples.t line 166. # got: 'Can't bar(undef): at t/hints_pod_examples.t line 157 # ' # expected: '' # Failed test 'array test - foo(undef)' # at t/hints_pod_examples.t line 180. # got: 'Can't foo(undef): at t/hints_pod_examples.t line 171 # ' # expected: '' # Failed test 'array test - bar(undef)' # at t/hints_pod_examples.t line 180. # got: 'Can't bar(undef): at t/hints_pod_examples.t line 171 # ' # expected: '' # Looks like you failed 5 tests of 80. t/hints_pod_examples.t ........... Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/80 subtests t/hints_provider_does.t .......... ok Show quoted text
_______ net2#perldetail System : Linux 2.6.27.21-170.2.56.fc10.i686 perl : /runtime/perl-5.10.0-1461/bin/perl (5.10.0) Linux::Inotify2 : 1.2 DBI : 1.609 DBD::SQLite : 1.25 SQLite::DBMS : 3.6.13 Danga::Socket : 1.61 w/epoll EV : 3.6 AnyEvent : 4.45 AnyEvent::HTTPD : 0.5 Coro : 5.15 Sys::Syscall : 0.22 IO::Compress::Bzip2 : 2.020 IO::Compress::Base : 2.020 version : 0.77 Class::MOP : 0.88 Template : 2.21 Test::Simple : 0.88 Test::More : 0.88 Test::Unit::Lite : 0.12 Test::Builder::Tester : 1.18 Pod::Simple : 3.07 Pod::Man : 2.22 Sys::Syslog : 0.27 LWP::UserAgent : 5.827 WWW::Mechanize : 1.54 Proc::NiceSleep : 0.85 Sub::Identify : 0.04
_______ net2#perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Commit id: 3162c1f8c36ca03f10eec23b16720b1a5b59a55a Platform: osname=linux, osvers=2.6.27.21-170.2.56.fc10.i686, archname=i686-linux-thread-multi uname='linux net2.coolsurf.com 2.6.27.21-170.2.56.fc10.i686 #1 smp mon mar 23 23:37:54 edt 2009 i686 i686 i386 gnulinux ' config_args='-Dprefix=/runtime/perl-5.10.0-1461 -ders -Dusedevel -Dcf_by=David Favor -Dcf_email=david@davidfavor.com -Dperladmin=david@davidfavor.com -Dcc=gcc -Doptimize=-O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m32 -fstack-protector -mtune=generic -Dloclibpth=/usr/local/lib -Dlocincpth=/usr/local/include -Duseshrplib -Dusethreads -Uuseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Dotherlibdirs=/runtime/pmlib:/common/pmlib:/usr/local/pmlib -Ui_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m32 -fstack-protector -mtune=generic ', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.3.2 20081105 (Red Hat 4.3.2-7)', 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, prototype=define Linker and Libraries: ld='gcc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.9.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.9' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/runtime/perl-5.10.0-1461/lib/5.10.0/i686-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m32 -fstack-protector -mtune=generic -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_USE_DEVEL USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Jun 30 2009 16:50:29 @INC: /runtime/perl-5.10.0-1461/lib/5.10.0/i686-linux-thread-multi /runtime/perl-5.10.0-1461/lib/5.10.0 /runtime/perl-5.10.0-1461/lib/site_perl/5.10.0/i686-linux-thread-multi /runtime/perl-5.10.0-1461/lib/site_perl/5.10.0 /runtime/pmlib /common/pmlib /usr/local/pmlib . -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
Download (untitled) / with headers
text/plain 1.3k
G'day David, On Thu Jul 02 13:44:12 2009, david@davidfavor.com wrote: [snip] Show quoted text
> net2#perl -V > Summary of my perl5 (revision 5 version 10 subversion 0) > configuration: > Commit id: 3162c1f8c36ca03f10eec23b16720b1a5b59a55a
A commit id? Back when 5.10.0 was released, Perl was still using Perforce for source control. Commit IDs only entered the game when we moved to git. That means that the Perl you're running isn't a stable release, it's been built from a development version. That's confirmed by me looking at the switches: Show quoted text
> -Dusedevel
I'm guessing your version of Perl includes the second-most recent changes to smart-match. These are known to cause problems with the test suite, and are fixed with the most recent changes to smart-match that have been applied to blead. If you use the real 5.10.0, you should find that all tests pass. Likewise, if you're using bleadperl, you should also find that all tests pass. When 5.10.1 is released, that should work too (although I don't think the smart-match changes are yet in maint-5.10). Unfortunately, I can't provide any sort of guarantees or support for development versions of Perl, so these tests will continue to fail until you move to an older or newer version. You can still use the new version of autodie if you force the install, but I recommend you only use subroutines for autodie::hints. All the best, Paul
Subject: Re: [rt.cpan.org #47517] autodie-2.00 through 2.04 broken in same way
Date: Fri, 03 Jul 2009 10:42:47 -0500
To: bug-autodie [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Download (untitled) / with headers
text/plain 1.6k
Thanks! PJF via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=47517 > > > G'day David, > > On Thu Jul 02 13:44:12 2009, david@davidfavor.com wrote: > > [snip] >
>> net2#perl -V >> Summary of my perl5 (revision 5 version 10 subversion 0) >> configuration: >> Commit id: 3162c1f8c36ca03f10eec23b16720b1a5b59a55a
> > A commit id? Back when 5.10.0 was released, Perl was still using > Perforce for source control. Commit IDs only entered the game when we > moved to git. That means that the Perl you're running isn't a stable > release, it's been built from a development version. That's > confirmed by me looking at the switches: >
>> -Dusedevel
> > I'm guessing your version of Perl includes the second-most recent > changes to smart-match. These are known to cause problems with the > test suite, and are fixed with the most recent changes to smart-match > that have been applied to blead. > > If you use the real 5.10.0, you should find that all tests pass. > Likewise, if you're using bleadperl, you should also find that all > tests pass. When 5.10.1 is released, that should work too (although > I don't think the smart-match changes are yet in maint-5.10). > > Unfortunately, I can't provide any sort of guarantees or support for > development versions of Perl, so these tests will continue to fail > until you move to an older or newer version. You can still use > the new version of autodie if you force the install, but I recommend > you only use subroutines for autodie::hints. > > All the best, > > Paul >
-- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.