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

Report information
The Basics
Id:
21898
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
LGODDARD [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Critical
Broken in:
1.61
Fixed in:
(no value)



Subject: Fails Tests on CentOS (RedHat)
Perl -V at end with libxslt lib version. cpan[1]> install XML::LibXSLT CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Sat, 30 Sep 2006 00:40:40 GMT Running install for module XML::LibXSLT Running make for P/PA/PAJAS/XML-LibXSLT-1.61.tar.gz CPAN: Digest::SHA loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/P/PA/PAJAS/XML-LibXSLT- 1.61.tar.gz ok Scanning cache /root/.cpan/build for sizes Deleting from cache: /root/.cpan/build/GraphViz-2.02 (10.8>10.0 MB) Deleting from cache: /root/.cpan/build/GD-2.35 (10.1>10.0 MB) XML-LibXSLT-1.61/ XML-LibXSLT-1.61/t/ XML-LibXSLT-1.61/t/03input.t XML-LibXSLT-1.61/t/13error.t XML-LibXSLT-1.61/t/09exslt.t XML-LibXSLT-1.61/t/04params.t XML-LibXSLT-1.61/t/11utf8.t XML-LibXSLT-1.61/t/02dromeds.t XML-LibXSLT-1.61/t/05quick.t XML-LibXSLT-1.61/t/06output.t XML-LibXSLT-1.61/t/08literal.t XML-LibXSLT-1.61/t/06entities.t XML-LibXSLT-1.61/t/07blankdoc.t XML-LibXSLT-1.61/t/01basic.t XML-LibXSLT-1.61/t/12import.t XML-LibXSLT-1.61/t/10functions.t XML-LibXSLT-1.61/Driver/ XML-LibXSLT-1.61/Driver/Sablotron.pm XML-LibXSLT-1.61/Driver/LibXSLT.pm XML-LibXSLT-1.61/Driver/BaseClass.pm XML-LibXSLT-1.61/benchmark.pl XML-LibXSLT-1.61/README XML-LibXSLT-1.61/Changes XML-LibXSLT-1.61/example/ XML-LibXSLT-1.61/example/1.xml XML-LibXSLT-1.61/example/1.xsl XML-LibXSLT-1.61/example/2.xml XML-LibXSLT-1.61/example/2.xsl XML-LibXSLT-1.61/example/fatal.xsl XML-LibXSLT-1.61/example/nonfatal.xsl XML-LibXSLT-1.61/example/bad1.xsl XML-LibXSLT-1.61/example/bad2.xsl XML-LibXSLT-1.61/example/bad3.xsl XML-LibXSLT-1.61/Makefile.PL XML-LibXSLT-1.61/ppport.h XML-LibXSLT-1.61/LibXSLT.pm XML-LibXSLT-1.61/LibXSLT.xs XML-LibXSLT-1.61/perl-libxml-mm.c XML-LibXSLT-1.61/perl-libxml-mm.h XML-LibXSLT-1.61/META.yml XML-LibXSLT-1.61/typemap XML-LibXSLT-1.61/testcases/ XML-LibXSLT-1.61/testcases/default.conf XML-LibXSLT-1.61/MANIFEST Removing previously used /root/.cpan/build/XML-LibXSLT-1.61 CPAN.pm: Going to build P/PA/PAJAS/XML-LibXSLT-1.61.tar.gz running xslt-config... ok looking for -lxslt... yes looking for -lexslt... yes Checking if your kit is complete... Looks good Writing Makefile for XML::LibXSLT CPAN: YAML loaded ok cp benchmark.pl blib/lib/XML/benchmark.pl cp LibXSLT.pm blib/lib/XML/LibXSLT.pm /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp - typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap LibXSLT.xs > LibXSLT.xsc && mv LibXSLT.xsc LibXSLT.c gcc -c -I/usr/local/include -I/usr/local/include/libxml2 - D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe - I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 - DVERSION=\"1.61\" -DXS_VERSION=\"1.61\" -fPIC "- I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" -DHAVE_BLANK - DHAVE_BLANK -DHAVE_EXSLT LibXSLT.c gcc -c -I/usr/local/include -I/usr/local/include/libxml2 - D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe - I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 - DVERSION=\"1.61\" -DXS_VERSION=\"1.61\" -fPIC "- I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" -DHAVE_BLANK - DHAVE_BLANK -DHAVE_EXSLT perl-libxml-mm.c Running Mkbootstrap for XML::LibXSLT () chmod 644 LibXSLT.bs rm -f blib/arch/auto/XML/LibXSLT/LibXSLT.so gcc -shared -L/usr/local/lib LibXSLT.o perl-libxml-mm.o -o blib/arch/auto/XML/LibXSLT/LibXSLT.so -L/usr/local/lib -lxslt - lexslt -lxml2 -lz -lpthread -lm chmod 755 blib/arch/auto/XML/LibXSLT/LibXSLT.so cp LibXSLT.bs blib/arch/auto/XML/LibXSLT/LibXSLT.bs chmod 644 blib/arch/auto/XML/LibXSLT/LibXSLT.bs Manifying blib/man3/XML::LibXSLT.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basic........ok t/02dromeds......ok t/03input........ok t/04params.......ok t/05quick........ok t/06entities.....NOK 2# Test 2 got: "<?xml version=\"1.0\"?
Show quoted text
>\n<out>foo&#xF6;bar</out>\n" (t/06entities.t at line 53)
# Expected: "(?i-xsm:foo\\xC3\\xB6bar)" # t/06entities.t line 53 is: ok($content, qr/foo\xC3\xB6bar/i); t/06entities.....FAILED test 2 Failed 1/2 tests, 50.00% okay t/06output.......ok t/07blankdoc.....ok t/08literal......ok t/09exslt........ok t/10functions....ok t/11utf8.........ok t/12import.......ok t/13error........ok Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t/06entities.t 2 1 50.00% 2 Failed 1/14 test scripts, 92.86% okay. 1/157 subtests failed, 99.36% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Failed during this command: PAJAS/XML-LibXSLT-1.61.tar.gz : make_test NO cpan[2]> exit Lockfile removed. bash-3.00# perl -V Summary of my perl5 (revision 5 version 8 subversion 5) configuration: Platform: osname=linux, osvers=2.6.9-42.elsmp, archname=i386-linux-thread- multi uname='linux build-i386 2.6.9-42.elsmp #1 smp sat aug 12 09:39:11 cdt 2006 i686 i686 i386 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 - mtune=pentium4 -Dversion=5.8.5 -Dmyhostname=localhost - Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. - Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux - Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads - Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db - Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio - Dinstallusrbinperl -Ubincompat5005 -Uversiononly - Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef 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 -DDEBUGGING -fno- strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict- aliasing -pipe -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-3)', 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 =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread - lc perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E - Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Aug 12 2006 17:09:08 @INC: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . bash-3.00# ls /usr/src | grep XSLT bash-3.00# ls /usr/src | grep xslt libxslt-1.1.9 libxslt-1.1.9.tar.gz bash-3.00#
It is not related to the platform, but to the version of libxml2 used (most likely 2.6.16), although none of the reports mentions it. This is not a bug nor it is related to the 1.61 version of LibXSLT. The regression test (which was added to the distribution only in 1.61) has to be modified in order to reflect differences between the output produced by different versions of libxml2. Will be fixed in 1.62 and soon in the SVN. In the meantime, ignore the failed test. -- Petr


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.