Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623192 - <dev-perl/XML-LibXSLT-1.960.0 fails tests (Failed test '$tostring matches entity.')
Summary: <dev-perl/XML-LibXSLT-1.960.0 fails tests (Failed test '$tostring matches ent...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard: stabilize 1.960.0 after 2018-04-26
Keywords: TESTFAILURE
Depends on: 657206
Blocks:
  Show dependency tree
 
Reported: 2017-06-30 19:30 UTC by Kent Fredric (IRC: kent\n)
Modified: 2018-06-03 02:48 UTC (History)
0 users

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 Kent Fredric (IRC: kent\n) gentoo-dev 2017-06-30 19:30:29 UTC
>>> Test phase: dev-perl/XML-LibXSLT-1.950.0
 * Test::Harness Jobs=3
make -j3 test TEST_VERBOSE=0
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- LibXSLT.bs blib/arch/auto/XML/LibXSLT/LibXSLT.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/02dromeds.t ............. ok                                          
===(       7;0  1/4   0/28  0/7 )=======================================

Compiled against:    libxslt 10129, libxml2 20904
Running:             libxslt 10129, libxml2 20904
Compiled with EXSLT: yes

t/01basic.t ............... ok
===(      11;0   1/28  0/7  0/? )=======================================I/O warning : failed to load external entity "not-found.xml"
t/03input.t ............... ok
t/04params.t .............. ok                                          
===(      46;0   1/12  0/2  0/? )=======================================xsltApplySequenceConstructor: copy was not compiled
xsltApplySequenceConstructor: apply-templates was not compiled
xsltApplySequenceConstructor: copy was not compiled
xsltApplySequenceConstructor: apply-templates was not compiled
t/05quick.t ............... ok
===(      58;0  1/2  0/?  0/? )=========================================
#   Failed test '$tostring matches entity.'
#   at t/06entities.t line 41.
#                   '<?xml version="1.0"?>
# <out>foobar</out>
# '
#     doesn't match '(?^i:foo(?:.|&#xF6;)bar)'

#   Failed test '$content matches entity.'
#   at t/06entities.t line 49.
#                   '<?xml version="1.0"?>
# <out>foobar</out>
# '
#     doesn't match '(?^i:foo(?:&#xF6;|\xC3\xB6)bar)'
# Looks like you failed 2 tests of 2.
t/06entities.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/06output.t .............. ok                                          
t/07blankdoc.t ............ ok                                          
t/08literal.t ............. ok                                          
t/09exslt.t ............... ok                                          
t/10functions.t ........... ok                                          
t/11utf8.t ................ ok                                          
t/13error.t ............... ok                                          
t/12import.t .............. ok                                          
t/15misc.t ................ ok                                          
t/cpan-changes.t .......... skipped: Test::CPAN::Changes required for this test
t/14security.t ............ ok                                          
t/pod.t ................... skipped: Test::Pod 1.14 required for testing POD
t/rt71345_a.t ............. ok                                          
t/style-trailing-space.t .. skipped: Test::TrailingSpace required for trailing space test.
t/rt71345_b.t ............. ok                                          
t/xml-grammar-failures.t .. ok 

Test Summary Report
-------------------
t/06entities.t          (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
Files=22, Tests=246,  1 wallclock secs ( 0.10 usr  0.03 sys +  2.14 cusr  0.23 csys =  2.50 CPU)
Result: FAIL
Failed 1/22 test programs. 2/246 subtests failed.
make: *** [Makefile:1031: test_dynamic] Error 255
Comment 1 Larry the Git Cow gentoo-dev 2018-03-27 03:42:46 UTC
The bug has been referenced in the following commit(s):

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

commit f9c71bf8b9b3823a4d7500092412bc5831bf664b
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-03-27 03:41:54 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-03-27 03:42:24 +0000

    dev-perl/XML-LibXSLT: Bump to version 1.960.0
    
    - Properly fix expanded entities test ( #623192 )
    - Cleanup author tests
    
    Upstream:
    - Cease using $Config{libs}
    
    Bug: https://bugs.gentoo.org/623192
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-perl/XML-LibXSLT/Manifest                      |  1 +
 dev-perl/XML-LibXSLT/XML-LibXSLT-1.960.0.ebuild    | 31 ++++++++++++++++++++++
 .../files/XML-LibXSLT-1.96-entityexpandtest.patch  | 29 ++++++++++++++++++++
 3 files changed, 61 insertions(+)}