emerge -v XML-Twig returns: t/test_pi_handler...................Can't load '/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/XML/Parser/Expat/Expat.so: undefined symbol: perl_get_sv at /usr/lib/perl5/5.8.3/i686-linux/DynaLoader.pm line 229. I think it tries to access perl 5.6 libs, which of course are not there anymore. More details: see attached file
Created attachment 30037 [details] Complete log of build-process and system information
Jan: Thanks for the info. Have you recently updated perl itself? If so, please try running: /usr/portage/dev-lang/perl/files/libperl_rebuilder which will rebuild any and all perl modules that have "issues." If that doesn't fix the problem after a full run, please let us know. (Note: Running libperl_rebuilder will take some time and could rebuild some large packages.)
Hi Eric, I think I did it after upgrading perl, but I started the script again and after some not finisched runs (I had a few packages which are not in portage anymore) it completed. But actually I still get the same error.
At a glance, I'd say portage has gotten confused as to what is and isn't installed on your system in relation to perl. Have you tried to emerge XML-Parser itself? Then proceed to try XML-Twig. You may run into a few other modules that portage thinks are installed but aren't actually, but I believe that will get you past the first hurdle.
I tried to reemerge XML-Parser, which finisched successfully. Twig fails (same output as above) Then I tried to unmerge XML-Parser and then emerge -v mythtv, which reinstalled XML-Parser successfully and then broke in Twig with the already known error. I'm quite clueless, where the problem might be. Is there possibly any symlink, which is followed to locate the libs? If there was, it might not have been updated when perl was updated. My installation is quite old right now (I set it up around July 2002, but I'm keeping it up2date of course). Might there be a problem due to some deprecation? Thank you all so far, Jan.
XML-Twig-3.13 fails with perl-5.8.4 (updated unstable profile) bumping to XML-Twig-3.15 works fine. Time for a version bump?
Right after: emerge --oneshot -v XML-Parser expat XML-XPath Even the newer 3.15 build does not find XML::Parser. I don't get, why it keeps looking for it in Pelr 5.6.1 dir, which isn't there anymore. Can't load '/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/XML/Parser/Expat/Expat.so: undefined symbol: perl_get_sv at /usr/lib/perl5/5.8.4/i686-linux/DynaLoader.pm line 230. Configuration: perl: 5.008004 OS: linux - i686-linux XML::Parser : <not available> expat : 1.95.7 Scalar::Util : 1.11 Encode : 1.99_01 LWP : 5.79 HTML::Entities : 1.27 Tie::IxHash : 1.21 XML::XPath : 1.13 Test : 1.24 Test::Pod : 1.08 XML::Simple : 2.09 XML::Handler::YAWriter : 0.23 XML::SAX::Writer : 0.44 IO::Scalar : 2.104 Log of failed Twig-3.15-build attached
Created attachment 31299 [details] Log of failed Twig-3.15-build
XML-Twig-3.16 works (for me). It is not yet in CPAN but can be gotten @ http://xmltwig.com/xmltwig/
Sorry, but even Twig-3.16 fails (same errors as before). I don't get why it tries to use Perl 5.6.1 ;(
XML-Twig-3.13 failed for me with some unicode problems, but XML-Twig-3.15 built sucessfuly.
Same here as Matt. The problem was that before it didn't check if some other perl package was installed and just assumed that it was.
Can we get this bumped to 3.15? New mythtv pulls new xmltv pulls broken XML-Twig. My failing with 3.13 is unrelated to the orig bug submitter's.
MythTV-0.15.1 hit the unstable-portage-tree. It does not depend on XMLtv anymore, thus XML-Twig no longer blocks its compilation. If nobody else experiences similar problems with Twig this bug can be left unfixed for my sake.
Well, after some more research I found out, that there was an older instance of XML-Parser installed (in the Perl 5.6.1 lib-dir). This instance was used in the XML-Twig build. I deleted the offending Parser.pm manually, as there was no portage-entry left for this version. Now Twig 3.16 compiled flawless.
I also had trouble with .13 (was needed for bioperl), some test failed while building - no problem with .15-r1. I recommend declaring a newer version stable.
unmasked for x86. prod your favorite arch for others :)