Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 127735
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Perl Devs @ Gentoo <perl@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sascha Silbe <sascha-gentoo-bugzilla@silbe.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 127735 depends on: Show dependency tree
Bug 127735 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-27 04:49 0000
[...]
>>> Source unpacked.
 * Using ExtUtils::MakeMaker
Checking installed modules ...
XML::SAX is installed, it will be used by the test suite
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Simple
cp lib/XML/Simple/FAQ.pod blib/lib/XML/Simple/FAQ.pod
cp lib/XML/Simple.pm blib/lib/XML/Simple.pm
>>> Test phase [enabled]: dev-perl/XML-Simple-2.14
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.7 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Package                        Version
#  perl                           5.8.7
#  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 1/122Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
t/1_XMLin.........ok 9/122Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
t/1_XMLin.........ok 15/122Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
t/1_XMLin.........ok 22/122Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
t/1_XMLin.........ok 27/122                                                  
#   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.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
# '
#     expected: ''
t/1_XMLin.........ok 36/122Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.

#   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>'

#   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>'
t/1_XMLin.........ok 50/122Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96,
<STDIN> line 1.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96,
<STDIN> line 1.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96,
<STDIN> line 1.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96,
<STDIN> line 1.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96,
<STDIN> line 1.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96,
<STDIN> line 1.
t/1_XMLin.........ok 56/122Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96,
<STDIN> line 1.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96,
<STDIN> line 1.
t/1_XMLin.........ok 120/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&'
t/2_XMLout........ok 186/196Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
t/2_XMLout........ok 187/196Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
t/2_XMLout........ok 188/196Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
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.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
t/9_Strict........ok 20/38Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at
/usr/lib/perl5/vendor_perl/5.8.7/XML/SAX/PurePerl/EncodingDetect.pm line 96.
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

!!! ERROR: dev-perl/XML-Simple-2.14 failed.
!!! Function perl-module_src_test, Line 135, Exitcode 2
!!! test failed
!!! If you need support, post the topmost build error, NOT this status message.


root@cube:~# emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.15.5-infra-cube-1 i686)
=================================================================
System uname: 2.6.15.5-infra-cube-1 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.14
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /usr/vice/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf
/etc/make.globals /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distcc distlocks fixpackages sandbox
sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US"
LC_ALL=""
LINGUAS="en,de"
MAKEOPTS="-j10 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-local--main--1.0"
SYNC="rsync://copper.sascha.silbe.org/gentoo-portage"
USE="x86 3dnow 3dnowext S3TC X a52 aac accessibility acl afs alsa apm asf
audiofile avi bash-completion berkdb bitmap-fonts blas bzip2 bzlib cdb
cdparanoia cdr chipcard cjk crypt css curl doc dts dv dvd dvdr dvdread ecc
emboss encode examples exif expat fam fame ffmpeg fits flac foomaticdb fortran
gd gdbm geldkarte geos gif gimp gimpprint glut gmp gs gstreamer gtk gtk2
gtkhtml guile hbci hdf idn imagemagick imap imlib ipv6 jabber jpeg jpeg2k
lapack lcms libg++ libwww lm_sensors lua lvm1 lzo mad maildir mailwrapper
makecheck mbox mikmod mjpeg mmx mmxext mng monitor mozsvg mp3 mpeg musepack
mysql nas ncurses netcdf nls nodrm offensive ogdi ogg oggvorbis openal opengl
oss pam pcre pda pdflib plotutils png postgres python qt qtmt quicktime
readline recode samba scanner sdl serial skey smartcard speex spell sqlite sse
ssl svg sysfs test tetex theora tidy tiff truetype truetype-fonts type1-fonts
udev unicode usb userlocales vcd vorbis win32codecs wmf xine xml xml2 xv xvid
yv12 zlib linguas_en,de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

------- Comment #1 From Yuval Yaari 2006-03-27 10:13:43 0000 -------
Please take a look at:
http://rt.cpan.org/Public/Bug/Display.html?id=15345
http://rt.cpan.org/Public/Bug/Display.html?id=15891

I've downgraded XML::SAX to 0.12, and all tests ran well.
I hope this issue will be resolved soon...

------- Comment #2 From Michael Cummings (RETIRED) 2006-07-02 12:30:37 0000 -------
ahhh.....oops. Apparently I've had the patched version of SAX sitting in my
local repos for a few months (and never applied to the tree). As I recall,
Yuval gave us the patches (maybe in the wee hours of the morning??).
Regardless, XML-SAX has been patched and put back into the tree, which will
solve this bug. Thanks!

------- Comment #3 From Yuval Yaari 2006-08-10 02:57:11 0000 -------
*** Bug 143435 has been marked as a duplicate of this bug. ***

------- Comment #4 From Brant Gurganus 2006-08-10 14:25:49 0000 -------
For those using x86, add a mask of =dev-perl/XML-SAX-0.13 to your
/etc/portage/package.mask file to workaround this problem until the update
makes its way into x86.

------- Comment #5 From Michael Cummings (RETIRED) 2006-08-12 05:56:25 0000 -------
x86, can you please mark dev-perl/XML-SAX-0.14-r1 stable? Thanks!

------- Comment #6 From Joshua Jackson 2006-08-14 21:48:25 0000 -------
sax is stable on x86, so that should fix this it would appear?

------- Comment #7 From Yuval Yaari 2006-08-15 02:18:45 0000 -------
XML-SAX-0.14-r1 is stable on x86, and it does solve the problem :-)

------- Comment #8 From Jakub Moc (RETIRED) 2006-08-23 04:57:19 0000 -------
*** Bug 144848 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug