Subject: | XML-Entities : tests failed on Redhat EL 4 (perl 5.8.5) |
Hi,
First a good news : XML-Entities will be available in official Fedora
and EPEL (RHEL / CentOS) repository (I will maintain the package).
But "make test" fails on RHEL 4.
Beginning of the build.log :
t/01-xml-entities.........
Wide character in print at /usr/lib/perl5/5.8.5/Test/Builder.pm line 910.
# Expected 'Here be entity: 𝕐 not unknown to us.
# ', got 'Here be entity: ð<U+009D><U+0095><U+0090> not unknown to us.
# '
# Failed test (t/01-xml-entities.t at line 17)
I've attached the full build.log on this bug.
Any idea ?
Of course i can help doing more tests if needed.
Regards.
Subject: | build.log |
ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/perl-XML-Entities.spec'], False, '/var/lib/mock/el4i/root/', None, 0, True, 0, 101, 497, None, logger=<mock.trace_decorator.getLog object at 0x96e490>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/perl-XML-Entities.spec']
Construction pour plate-formes cibles: i386
Construction pour cible i386
Ecrit: /builddir/build/SRPMS/perl-XML-Entities-0.02-3.el4.remi.src.rpm
LEAVE do -->
ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/perl-XML-Entities.spec'], False, '/var/lib/mock/el4i/root/', None, 0, True, 0, 101, 497, None, logger=<mock.trace_decorator.getLog object at 0x96e490>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/perl-XML-Entities.spec']
Construction pour plate-formes cibles: i386
Construction pour cible i386
Exécution_de(%prep): /bin/sh -e /var/tmp/rpm-tmp.71206
+ umask 022
+ cd /builddir/build/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /builddir/build/BUILD
+ rm -rf XML-Entities
+ /bin/gzip -dc /builddir/build/SOURCES/XML-Entities-0.02.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd XML-Entities
++ /usr/bin/id -u
+ '[' 101 = 0 ']'
++ /usr/bin/id -u
+ '[' 101 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ tar xzf /builddir/build/SOURCES/perl-XML-Entities-iso9573-2003.tgz
+ exit 0
Exécution_de(%build): /bin/sh -e /var/tmp/rpm-tmp.71206
+ umask 022
+ cd /builddir/build/BUILD
+ cd XML-Entities
+ LANG=C
+ export LANG
+ unset DISPLAY
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for XML::Entities
+ sed -i -e 's;bin/download-entities.pl lib/XML/Entities/Data.pm;bin/download-entities.pl file:///builddir/build/BUILD/XML-Entities/iso9573-2003doc/overview.html lib/XML/Entities/Data.pm;' Makefile
+ make -j3
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" bin/download-entities.pl file:///builddir/build/BUILD/XML-Entities/iso9573-2003doc/overview.html lib/XML/Entities/Data.pm
Downloading the list of documents
cp bin/download-entities.pl blib/script/download-entities.pl
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/download-entities.pl
Downloading the documents
Parsing the documents...
Done
cp lib/XML/Entities/Data.pod blib/lib/XML/Entities/Data.pod
cp lib/XML/Entities/Data.pm blib/lib/XML/Entities/Data.pm
cp lib/XML/Entities.pm blib/lib/XML/Entities.pm
Manifying blib/man3/XML::Entities::Data.3pm
Manifying blib/man3/XML::Entities.3pm
+ exit 0
Exécution_de(%install): /bin/sh -e /var/tmp/rpm-tmp.71206
+ umask 022
+ cd /builddir/build/BUILD
+ cd XML-Entities
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild
+ make pure_install PERL_INSTALL_ROOT=/var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild
Installing /var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/lib/perl5/vendor_perl/5.8.5/XML/Entities.pm
Installing /var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/lib/perl5/vendor_perl/5.8.5/XML/Entities/Data.pod
Installing /var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/lib/perl5/vendor_perl/5.8.5/XML/Entities/Data.pm
Installing /var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/share/man/man3/XML::Entities::Data.3pm
Installing /var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/share/man/man3/XML::Entities.3pm
Installing /var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/bin/download-entities.pl
Writing /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/XML/Entities/.packlist
+ find /var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild -type f -name .packlist -exec rm -f '{}' ';' -print
/var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/XML/Entities/.packlist
+ find /var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild -type d -depth -exec rmdir '{}' ';' -print
/var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/XML/Entities
/var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/XML
/var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto
/var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
+ chmod -R u+rwX,go+rX,go-w /var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr
+ /usr/lib/rpm/find-debuginfo.sh /builddir/build/BUILD/XML-Entities
0 blocks
find:
/var/tmp/perl-XML-Entities-0.02-3.el4.remi-root-mockbuild/usr/lib/debug
: No such file or directory
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Exécution_de(%check): /bin/sh -e /var/tmp/rpm-tmp.28794
+ umask 022
+ cd /builddir/build/BUILD
+ cd XML-Entities
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-xml-entities-data....
ok
t/01-xml-entities.........
Wide character in print at /usr/lib/perl5/5.8.5/Test/Builder.pm line 910.
# Expected 'Here be entity: ð not unknown to us.
# ', got 'Here be entity: ð not unknown to us.
# '
# Failed test (t/01-xml-entities.t at line 17)
Wide character in print at /usr/lib/perl5/5.8.5/Test/Builder.pm line 910.
# Expected 'æ¥æ¬èªã好ãã§ã ÄeÅ¡tina je krásná', got 'æ¥æ¬èªã好ãã§ã ÄeÅ¡tina je krásná'
# Failed test (t/01-xml-entities.t at line 36)
Wide character in print at /usr/lib/perl5/5.8.5/Test/Builder.pm line 910.
# Expected 'ããããã©ãªãã©Â Ñ
ед е ÑаÑмÐhýjá hýjá hoůð¹à¥', got 'ããããã©ãªãã© Ñ
ед е ÑаÑмÐhýjá hýjá hoůð¹à¥'
# Failed test (t/01-xml-entities.t at line 55)
# Failed test (t/01-xml-entities.t at line 95)
Wide character in print at /usr/lib/perl5/5.8.5/Test/Builder.pm line 910.
# got: 'some textâÂÂsome more text'
# expected: 'some textâsome more text'
# Failed test (t/01-xml-entities.t at line 106)
Wide character in print at /usr/lib/perl5/5.8.5/Test/Builder.pm line 910.
# Structures begin differing at:
# $got->[0] = 'some textâÂÂsome more text'
# $expected->[0] = 'some textâsome more text'
# Failed test (t/01-xml-entities.t at line 111)
Wide character in print at /usr/lib/perl5/5.8.5/Test/Builder.pm line 910.
# got: '&entity;text text &anotherEntity;text text'
# expected: 'ENTITYtext text ã¯text text'
# Looks like you failed 6 tests of 8.
dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 2-4, 6-8
Failed 6/8 tests, 25.00% okay
Failed 1/2 test scripts, 50.00% okay. 6/16 subtests failed, 62.50% okay.
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/01-xml-entities.t 6 1536 8 6 75.00% 2-4 6-8
make: *** [test_dynamic] Erreur 2
Erreur de construction de RPM:
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.28794 (%check)
Mauvais status de sortie pour /var/tmp/rpm-tmp.28794 (%check)
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/perl-XML-Entities.spec']
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/mock/trace_decorator.py", line 70, in trace
result = func(*args, **kw)
File "/usr/lib/python2.5/site-packages/mock/util.py", line 315, in do
raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/perl-XML-Entities.spec']
LEAVE do --> EXCEPTION RAISED