Skip Menu |

This queue is for tickets about the XML-Atom CPAN distribution.

Report information
The Basics
Id: 41058
Status: resolved
Priority: 0/
Queue: XML-Atom

People
Owner: Nobody in particular
Requestors: nonsolosoft [...] diff.org
Cc:
AdminCc:

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



Subject: fails tests and install on dragonflybsd 2.1 and perl 5.10
MIYAGAWA/XML-Atom-0.31.tar.gz /usr/bin/make -- OK Running make test /usr/pkg/bin/perl "-Iinc" Makefile.PL --config= --installdeps=XML::XPath,0 PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-compile.t t/01-util.t t/02-content.t t/03-link.t t/04-person.t t/11-entry.t t/12-feed.t t/13-atom1.t t/14-atom1-create.t t/15-content-image.t t/16-content-binary.t t/17-renames.t t/18-unicode.t t/19-ext.t t/20-content-xhtml.t t/23-category.t t/24-bad-content.t t/25-utf8-create.t t/27-client-leaks.t t/28-ext.t t/00-compile...........ok t/01-util..............ok t/02-content...........ok t/03-link..............ok t/04-person............ok t/11-entry.............ok t/12-feed..............ok t/13-atom1.............1/23 # Failed test at t/13-atom1.t line 54. # Structures begin differing at: # $got->{base} = '' # $expected->{base} = 'http://diveintomark.org/' # Looks like you failed 1 test of 23. t/13-atom1............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/23 subtests t/14-atom1-create......ok t/15-content-image.....ok t/16-content-binary....ok t/17-renames...........ok t/18-unicode...........skipped: Skipping Unicode test since it depends on LibXML t/19-ext...............ok t/20-content-xhtml.....ok t/23-category..........ok t/24-bad-content.......ok t/25-utf8-create.......ok t/27-client-leaks......ok t/28-ext...............ok Test Summary Report ------------------- t/13-atom1 (Wstat: 256 Tests: 23 Failed: 1) Failed test: 22 Non-zero exit status: 1 Files=20, Tests=266, 7 wallclock secs ( 0.17 usr 0.02 sys + 4.34 cusr 0.46 csys = 4.99 CPU) Result: FAIL Failed 1/20 test programs. 1/266 subtests failed. *** Error code 255 Stop in /root/.cpan/build/XML-Atom-0.31-p6ZP0i. MIYAGAWA/XML-Atom-0.31.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports MIYAGAWA/XML-Atom-0.31.tar.gz Running make install make test had returned bad status, won't install without force
From: nonsolosoft [...] diff.org
lap# uname -a DragonFly lap.diff.org 2.1.0-DEVELOPMENT DragonFly 2.1.0-DEVELOPMENT #3: Mon Aug 4 16:43:04 CEST 2008 fer@lap.diff.org:/dati/obj/usr/src/sys/TOSHIBA i386 lap# perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=dragonfly, osvers=2.1.0-development, archname=i386-dragonfly-thread-multi uname='dragonfly lap.diff.org 2.1.0-development dragonfly 2.1.0-development #3: mon aug 4 16:43:04 cest 2008 fer@lap.diff.org:datiobjusrsrcsystoshiba i386 ' config_args='-sde -Darchname=i386-dragonfly -Dcc=cc -Doptimize=-O2 -pthread -I/usr/include -Ui_malloc -Uusemymalloc -Uinstallusrbinperl -Dinstallstyle=lib/perl5 -Dprefix=/usr/pkg -Dsiteprefix=/usr/pkg -Dvendorprefix=/usr/pkg -Dscriptdir=/usr/pkg/lib/perl5/bin -Dsitescript=/usr/pkg/lib/perl5/site_perl/bin -Dvendorscript=/usr/pkg/lib/perl5/vendor_perl/bin -Dsitebin=/usr/pkg/lib/perl5/site_perl/bin -Dvendorbin=/usr/pkg/lib/perl5/vendor_perl/bin -Dprivlib=/usr/pkg/lib/perl5/5.10.0 -Dsitelib=/usr/pkg/lib/perl5/site_perl/5.10.0 -Dvendorlib=/usr/pkg/lib/perl5/vendor_perl/5.10.0 -Dsitelib_stem=/usr/pkg/lib/perl5/site_perl -Dvendorlib_stem=/usr/pkg/lib/perl5/vendor_perl -Dman1ext=1 -Dman1dir=/usr/pkg/lib/perl5/man/man1 -Dsiteman1dir=/usr/pkg/lib/perl5/site_perl/man/man1 -Dvendorman1dir=/usr/pkg/lib/perl5/vendor_perl/man/man1 -Dman3ext=3 -Dman3dir=/usr/pkg/lib/perl5/man/man3 -Dsiteman3dir=/usr/pkg/lib/perl5/site_perl/man/man3 -Dvendorman3dir=/usr/pkg/lib/perl5/vendor_perl/man/man3 -Duseshrplib -Daphostname=/bin/hostname -Dln=/bin/ln -Dsed=/usr/bin/sed -Dsh=/bin/sh -Dissymlink=test -h -Dperl5=/usr/bin/false -Duseithreads -Dlibswanted=m crypt pthread' 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='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/pkg/include', optimize='-O2 -pthread -I/usr/include', cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/pkg/include' ccversion='', gccversion='4.1.2 (DragonFly)', 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='cc', ldflags ='-Wl,-R/usr/pkg/lib -pthread -Wl,-E ' libpth=/usr/lib /usr/local/lib libs=-lm -lcrypt -lpthread perllibs=-lm -lcrypt -lpthread libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/pkg/lib/perl5/5.10.0/i386-dragonfly-thread-multi/CORE' cccdlflags='-DPIC -fPIC', lddlflags='-Wl,-R/usr/pkg/lib -shared ' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under dragonfly Compiled at Nov 12 2008 15:36:35 @INC: /usr/pkg/lib/perl5/site_perl/5.10.0/i386-dragonfly-thread-multi /usr/pkg/lib/perl5/site_perl/5.10.0 /usr/pkg/lib/perl5/vendor_perl/5.10.0/i386-dragonfly-thread-multi /usr/pkg/lib/perl5/vendor_perl/5.10.0 /usr/pkg/lib/perl5/vendor_perl /usr/pkg/lib/perl5/5.10.0/i386-dragonfly-thread-multi /usr/pkg/lib/perl5/5.10.0 .
From: nonsolosoft [...] diff.org
lap# pwd /root/.cpan/build/XML-Atom-0.31-ltMIex lap# perl -Ilib t/13-atom1.t 1..23 ok 1 - The object isa XML::Atom::Feed ok 2 - atom:title ok 3 - atom:version based on namespace ok 4 - atom:updated ok 5 - 2 links ok 6 ok 7 ok 8 - 1 entry ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 - 2 contribs ok 16 ok 17 ok 18 - 2 contribs (moniker) ok 19 ok 20 ok 21 - testing scalar context not ok 22 # Failed test at t/13-atom1.t line 54. # Structures begin differing at: # $got->{base} = '' # $expected->{base} = 'http://diveintomark.org/' ok 23 # Looks like you failed 1 test of 23.
From: nonsolosoft [...] diff.org
DB<1> main::(t/13-atom1.t:46): is $contrib->name, 'Sam Ruby', 'testing scalar context'; DB<1> ok 21 - testing scalar context main::(t/13-atom1.t:48): is_deeply_method $entry->content, { type => 'xhtml', lang => 'en', base => 'http://diveintomark.org/' }; DB<1> x $entry->content 0 XML::Atom::Content=HASH(0x28db0990) 'elem' => XML::LibXML::Element=SCALAR(0x28db0980) -> 684805280 'ns' => 'http://www.w3.org/2005/Atom' 'version' => 1.0 DB<2> n not ok 22 # Failed test at t/13-atom1.t line 54. # Structures begin differing at: # $got->{base} = '' # $expected->{base} = 'http://diveintomark.org/' main::(t/13-atom1.t:49): like $entry->content->body, qr!<p>.*<i>\[Update: The Atom draft is finished.\]</i>.*</p>!s; DB<2> ok 23 # Looks like you failed 1 test of 23. Debugged program terminated. Use q to quit or R to restart,
From: nonsolosoft [...] diff.org
On Wed Nov 19 05:35:21 2008, nonsolosoft@diff.org wrote: Show quoted text
> lap# pwd > /root/.cpan/build/XML-Atom-0.31-ltMIex > lap# perl -Ilib t/13-atom1.t > 1..23 > ok 1 - The object isa XML::Atom::Feed > ok 2 - atom:title > ok 3 - atom:version based on namespace > ok 4 - atom:updated > ok 5 - 2 links > ok 6 > ok 7 > ok 8 - 1 entry > ok 9 > ok 10 > ok 11 > ok 12 > ok 13 > ok 14 > ok 15 - 2 contribs > ok 16 > ok 17 > ok 18 - 2 contribs (moniker) > ok 19 > ok 20 > ok 21 - testing scalar context > not ok 22 > # Failed test at t/13-atom1.t line 54. > # Structures begin differing at: > # $got->{base} = '' > # $expected->{base} = 'http://diveintomark.org/'
DB<7> x $entry->content->as_xml 0 '<?xml version="1.0" encoding="utf-8"?> <content xmlns="http://www.w3.org/2005/Atom" type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/"> <div xmlns="http://www.w3.org/1999/xhtml"> <p><i>[Update: The Atom draft is finished.]</i></p> </div> </content> ' DB<8> x $entry->content->type 0 'xhtml' DB<9> x $entry->content->base 0 ''
From: nonsolosoft [...] diff.org
Updating XML::LibXML from 1.68 to 1.69 has fixed this test error.