Description of problem: Rawhide rebuild of perl-XML-Parser for perl 5.10.1 fails in %check. Version-Release number of selected component (if applicable): perl-XML-Parser-2.36-7 perl-XML-Parser-2.36-6 How reproducible: Everytime, see the attached build log. Actual results: Rawhide rebuild of perl-XML-Parser for perl 5.10.1 fails in %check. Expected results: Rawhide rebuild of perl-XML-Parser for perl 5.10.1 should not fail.
Created attachment 379534 [details] build.log
This is broken by expat-1.95.8-CVE-2009-3720.patch (of expat) package (and thus is a regression that affects EL-5, F-11 and F-12 as well) , with it XML::Parser fails to expand an entity. Haven't looked more into it though. syntax error at line 2, column 3, byte 28: <!ENTITY % foo "IGNORE"> <![%foo;[ ==^ <!ATTLIST foo bar CDATA "baz"> ]]> (code) use XML::Parser; my $parser = new XML::Parser ( ErrorContext => 2, NoLWP => 1, ParseParamEnt => 1 ); open (DTD, '>foo.dtd'); print DTD <<EOF; <!ENTITY % foo "IGNORE"> <![%foo;[ <!ATTLIST foo bar CDATA "baz"> ]]> EOF close (DTD); $parser->parse(<<EOF); <?xml version="1.0" ?> <!DOCTYPE foo SYSTEM 'foo.dtd' []> <foo/> EOF
This is a regression from the patch for CVE-2009-3560, not for CVE-2009-3720. The revised fix is here: http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.164&r2=1.166.
Please fix it as mentioned in previous comment.
A fixed expat is already in the buildroot - can you retry the build?
Failed with expat-devel-2.0.1-9.fc13.x86_64 in mentioned test. http://koji.fedoraproject.org/koji/taskinfo?taskID=1968773
Sorry about that, Marcela. There's now a revised fix built, can you retry your build? It works for me locally.
If fails in my updated rawhide in test section. Still the same problem as in comment #2.
What version of expat do you have? It should work with expat-2.0.1-10.fc13.
Must be slow mirror. It does work with expat-2.0.1-10. Thanks.