Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127735 - dev-perl/XML-Simple-2.14: build fails in src_test
Summary: dev-perl/XML-Simple-2.14: build fails in src_test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 143435 144848 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-27 04:49 UTC by Sascha Silbe
Modified: 2018-03-28 07:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2006-03-27 04:49:48 UTC
[...]
>>> 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 Yuval Yaari (RETIRED) gentoo-dev 2006-03-27 10:13:43 UTC
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 Michael Cummings (RETIRED) gentoo-dev 2006-07-02 12:30:37 UTC
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 Yuval Yaari (RETIRED) gentoo-dev 2006-08-10 02:57:11 UTC
*** Bug 143435 has been marked as a duplicate of this bug. ***
Comment 4 Brant Gurganus 2006-08-10 14:25:49 UTC
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 Michael Cummings (RETIRED) gentoo-dev 2006-08-12 05:56:25 UTC
x86, can you please mark dev-perl/XML-SAX-0.14-r1 stable? Thanks!
Comment 6 Joshua Jackson (RETIRED) gentoo-dev 2006-08-14 21:48:25 UTC
sax is stable on x86, so that should fix this it would appear?
Comment 7 Yuval Yaari (RETIRED) gentoo-dev 2006-08-15 02:18:45 UTC
XML-SAX-0.14-r1 is stable on x86, and it does solve the problem :-)
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-08-23 04:57:19 UTC
*** Bug 144848 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2018-03-28 07:07:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd810acd7ca84e9359926edc54adf8172e89f12

commit dbd810acd7ca84e9359926edc54adf8172e89f12
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-03-28 07:06:55 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-03-28 07:07:32 +0000

    dev-perl/XML-SAX: Bump to version 1.0.0
    
    - EAPI6
    - Enable parallel tests
    - Rework auto-ini-generation removal logic as a patch
    - Cease using encodings.patch which now appears of little value ( was
        included as part of #127735 but the fix that fixed that issue is
        long upstreamed and tests indicate it no longer relevant )
    
    Upstream:
    - Build order fixes for vanilla installs
    
    Bug: https://bugs.gentoo.org/127735
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-perl/XML-SAX/Manifest                          |  1 +
 dev-perl/XML-SAX/XML-SAX-1.0.0.ebuild              | 44 +++++++++++++++
 .../XML-SAX/files/XML-SAX-1.00-noautoini.patch     | 63 ++++++++++++++++++++++
 3 files changed, 108 insertions(+)}