Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 143435

Summary: dev-perl/XML-Simple-2.14 tests fail
Product: Gentoo Linux Reporter: Brant Gurganus <brant>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Brant Gurganus 2006-08-10 02:28:58 UTC
Some of the tests for XML-Simple-2.14 fail. From what I can tell looking at some of the tests, it is definitely doing the wrong thing. I tried rebuilding some of its dependencies in case they build wrong the first time and also tried with MAKEOPTS="-j1" and neither allow the tests to pass. I also tried manually building and testing the package and the tests fail in that case as well. From what I read at various places online, these tests should be passing.

PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Package                        Version
#  perl                           5.8.8
#  XML::Simple                    2.14
#  Storable                       2.15
#  XML::Parser                    2.34
#  XML::SAX                       0.13
#  XML::NamespaceSupport          1.09
#  XML::SAX::PurePerl             0.90 (default parser)
t/0_Config........ok                                                         
t/1_XMLin.........ok 2/122Unable to recognise encoding of this document at /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX/PurePerl/EncodingDetect.pm line 96.
(several of unrecognized encoding)
t/1_XMLin.........NOK 32                                                     
#   Failed test 'no warning issued (as expected)'
#   in t/1_XMLin.t at line 380.
#          got: 'Unable to recognise encoding of this document at /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX/PurePerl/EncodingDetect.pm line 96.
# '
#     expected: ''
Unable to recognise encoding of this document at /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX/PurePerl/EncodingDetect.pm line 96.
t/1_XMLin.........NOK 38                                                     
#   Failed test 'CDATA section parsed correctly'
#   in t/1_XMLin.t at line 426.
#     Structures begin differing at:
#          $got->{cdata} = '<greeting>Hello, world!</greeting>>'
#     $expected->{cdata} = '<greeting>Hello, world!</greeting>'
t/1_XMLin.........NOK 39                                                     
#   Failed test 'CDATA section containing markup characters parsed correctly'
#   in t/1_XMLin.t at line 432.
#     Structures begin differing at:
#          $got->{x} = '<y>one</y>><y>two</y>>'
#     $expected->{x} = '<y>one</y><y>two</y>'
Unable to recognise encoding of this document at /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX/PurePerl/EncodingDetect.pm line 96, <STDIN> line 1.
(lots of unrecognized encoding)Unable to recognise encoding of this document at /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX/PurePerl/EncodingDetect.pm line 96, <STDIN> line 1.
t/1_XMLin.........NOK 122                                                    
#   Failed test 'successfully read an SRT config file'
#   in t/1_XMLin.t at line 1443.
#     Structures begin differing at:
#          $got->{pubpath}{test1}{title} = 'web_source -> web_target1'
#     $expected->{pubpath}{test1}{title} = 'web_source -&gt; web_target1'
# Looks like you failed 4 tests of 122.
t/1_XMLin.........dubious                                                    
        Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 32, 38-39, 122
        Failed 4/122 tests, 96.72% okay
t/2_XMLout........NOK 47                                                     
#   Failed test 'generated document with escaping'
#   in t/2_XMLout.t at line 302.
#     Structures begin differing at:
#          $got->{c} = '&amp;C&amp;'
#     $expected->{c} = '&C&'
(several unrecongized encoding)
t/2_XMLout........ok 196/196# Looks like you failed 1 test of 196.           
t/2_XMLout........dubious                                                    
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 47
        Failed 1/196 tests, 99.49% okay (less 1 skipped test: 194 okay, 98.98%)
t/3_Storable......ok                               
t/4_MemShare......ok                                                         
t/5_MemCopy.......ok                                                         
t/6_ObjIntf.......ok                                                         
t/7_SaxStuff......ok                                                         
t/8_Namespaces....ok                                                         
t/9_Strict........ok 1/38Unable to recognise encoding of this document at /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX/PurePerl/EncodingDetect.pm line 96.
(lots of unrecognized encoding)
t/9_Strict........ok                                                         
t/A_XMLParser.....ok                 
Failed Test  Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/1_XMLin.t     4  1024   122    4   3.28%  32 38-39 122
t/2_XMLout.t    1   256   196    1   0.51%  47
1 subtest skipped.
Failed 2/11 test scripts, 81.82% okay. 5/468 subtests failed, 98.93% okay.
make: *** [test_dynamic] Error 255


Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4m -mtune=pentium4m -pipe -ggdb3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4m -mtune=pentium4m -pipe -ggdb3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.cs.rose-hulman.edu/linux/gentoo"
MAKEOPTS="-j"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo.cs.rose-hulman.edu/gentoo-portage"
USE="x86 X Xaw3d acl acpi afs alsa avi bash-completion berkdb bitmap-fonts bzip2 cdr cjk cli crypt cups dbus dlloader dri eds emboss encode esd evo firefox foomaticdb gd gdbm gif gnome gpm graphviz gstreamer gtk gtk2 hal idn imlib isdnlog java jbig jpeg jpeg2k kde lcms libg++ libwww mad mikmod mono motif mozilla mp3 mpeg ncurses nls nptl nsplugin ogg opengl pam pcmcia pcre pdf pdflib perl png ppds pppd python qt4 quicktime readline reflection sdl session slp spell spl ssl svg symlink tcpd test threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf xml xmms xorg xpm xprint xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Yuval Yaari (RETIRED) gentoo-dev 2006-08-10 02:57:11 UTC

*** This bug has been marked as a duplicate of 127735 ***