Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Exception-Base CPAN distribution.

Report information
The Basics
Id: 47183
Status: resolved
Priority: 0/
Queue: Exception-Base

People
Owner: piotr.roszatycki [...] gmail.com
Requestors: david [...] davidfavor.com
Cc:
AdminCc:

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



Subject: Exception::Base-0.2201 build break
Date: Sat, 20 Jun 2009 05:27:41 -0500
To: bug-Exception-Base [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Maybe there was a change in Test::Unit::Litc which is causing this problem. Show quoted text
_______ Looks good Writing Makefile for Exception::Base Running [/usr/bin/make]... cp lib/Exception/Base.pm blib/lib/Exception/Base.pm Manifying blib/man3/Exception::Base.3pm Running [/usr/bin/make test]... PERL_DL_NONLAZY=1 /runtime/perl-5.10.0-1326/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # (eval 89):4 - Exception::BaseTest(test_overload) # expected 1, got # at (eval 89) line 4 # eval ' # $self->assert_num_equals(1, $obj ~~ \'String\'); # $self->assert_num_equals(1, $obj ~~ 123); # $self->assert_num_equals(1, $obj ~~ [\'Exception::Base\']); # # ;' called at t/tlib/Exception/BaseTest.pm line 575 # Exception::BaseTest::test_overload('Exception::BaseTest=HASH(0x98bf2d8)') called at /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0/Test/Unit/Lite.pm line 608 # eval {...} called at /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0/Test/Unit/Lite.pm line 607 # Test::Unit::TestSuite::run('Test::Unit::TestSuite=HASH(0x98beea8)', 'Test::Unit::Result=HASH(0x98bedd8)', 'Test::Unit::HarnessUnit=HASH(0x9755540)') called at /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0/Test/Unit/Lite.pm line 756 # Test::Unit::TestRunner::start('Test::Unit::HarnessUnit=HASH(0x9755540)', 'Test::Unit::Lite::AllTests') called at t/all_tests.t line 12 t/all_tests.t .. Failed 1/21 subtests
_______ net2#perldetail System : Linux 2.6.27.21-170.2.56.fc10.i686 perl : /runtime/perl-5.10.0-1326/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.411 AnyEvent::HTTPD : 0.04 Coro : 5.132 Sys::Syscall : 0.22 IO::Compress::Bzip2 : 2.020 IO::Compress::Base : 2.020 version : 0.76 Class::MOP : 0.86 Template : 2.20 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
_______ net2#perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Commit id: 9b969ce64fc3be46ea303c0160e1c6184d33c793 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-1326 -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-1326/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 12 2009 19:32:40 @INC: /runtime/perl-5.10.0-1326/lib/5.10.0/i686-linux-thread-multi /runtime/perl-5.10.0-1326/lib/5.10.0 /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0/i686-linux-thread-multi /runtime/perl-5.10.0-1326/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 for the easy way!
What is your platform exactly? I can't repoduce this bug and I'm afraid it is problem with Perl runtime itself. It would be great if you send me this Perl environment (tar.gz). Thanks.
Subject: Re: [rt.cpan.org #47183] Exception::Base-0.2201 build break
Date: Sat, 20 Jun 2009 09:21:27 -0500
To: bug-Exception-Base [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Piotr Roszatycki via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=47183 > > > What is your platform exactly? I can't repoduce this bug and I'm afraid > it is problem with Perl runtime itself. > > It would be great if you send me this Perl environment (tar.gz). > > Thanks.
You're welcome. If I can assist in anyway, let me know as Exception::Base is required by many Exception::* classes, so then entire suite breaks for all updates. Joy! Show quoted text
_______ net2#uname -a 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 GNU/Linux net2#perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Commit id: 9b969ce64fc3be46ea303c0160e1c6184d33c793 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-1326 -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-1326/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 12 2009 19:32:40 @INC: /runtime/perl-5.10.0-1326/lib/5.10.0/i686-linux-thread-multi /runtime/perl-5.10.0-1326/lib/5.10.0 /runtime/perl-5.10.0-1326/lib/site_perl/5.10.0/i686-linux-thread-multi /runtime/perl-5.10.0-1326/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 for the easy way!
On Sat Jun 20 06:28:08 2009, david@davidfavor.com wrote: Show quoted text
> Maybe there was a change in Test::Unit::Litc which is causing > this problem. > _______ > > Looks good > Writing Makefile for Exception::Base > Running [/usr/bin/make]... > cp lib/Exception/Base.pm blib/lib/Exception/Base.pm > Manifying blib/man3/Exception::Base.3pm > Running [/usr/bin/make test]... > PERL_DL_NONLAZY=1 /runtime/perl-5.10.0-1326/bin/perl "- > MExtUtils::Command::MM" "-e" "test_harness(0, > 'blib/lib', 'blib/arch')" t/*.t > # (eval 89):4 - Exception::BaseTest(test_overload) > # expected 1, got > # at (eval 89) line 4 > # eval ' > # $self->assert_num_equals(1, $obj ~~ \'String\'); > # $self->assert_num_equals(1, $obj ~~ 123); > # $self->assert_num_equals(1, $obj ~~ > [\'Exception::Base\']); > # > # ;' called at t/tlib/Exception/BaseTest.pm line 575 > # >
The code causing the test failure contains smart matches (~~). I guess this is caused by incompatible changes in perl 5.10.1 regarding ~~. Regards, Slaven
Fixed temporarly in 0.2202. If Perl 5.10.1 will have broken smart match operator, the API of Exception::Base will change too, so given/when syntax will be still usable but limited.
Subject: Re: [rt.cpan.org #47183] Exception::Base-0.2201 build break
Date: Wed, 19 Aug 2009 17:11:34 -0500
To: bug-Exception-Base [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Piotr Roszatycki via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=47183 > > > Fixed temporarly in 0.2202. > > If Perl 5.10.1 will have broken smart match operator, the API of > Exception::Base will change too, so given/when syntax will be still > usable but limited. >
perl-5.10-1.RC2-1 + Exception-Base-0.2202 works. Thanks! -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com for the easy way!