Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 48970

Summary: dev-perl/XML-Twig-3.13 fails
Product: Gentoo Linux Reporter: Jan Simons <jan.simons>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: marduk, vermyndax
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Complete log of build-process and system information
Log of failed Twig-3.15-build

Description Jan Simons 2004-04-25 13:26:30 UTC
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
Comment 1 Jan Simons 2004-04-25 13:27:54 UTC
Created attachment 30037 [details]
Complete log of build-process and system information
Comment 2 Eric Sammer (RETIRED) gentoo-dev 2004-04-25 19:07:40 UTC
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.)
Comment 3 Jan Simons 2004-04-27 14:34:07 UTC
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.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2004-05-01 17:31:23 UTC
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.
Comment 5 Jan Simons 2004-05-01 20:12:25 UTC
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.
Comment 6 Nick Hadaway 2004-05-11 20:14:37 UTC
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?
Comment 7 Jan Simons 2004-05-12 15:16:22 UTC
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
Comment 8 Jan Simons 2004-05-12 15:17:32 UTC
Created attachment 31299 [details]
Log of failed Twig-3.15-build
Comment 9 Albert Hopkins (RETIRED) gentoo-dev 2004-05-14 19:44:19 UTC
XML-Twig-3.16 works (for me).  It is not yet in CPAN but can be gotten @ http://xmltwig.com/xmltwig/
Comment 10 Jan Simons 2004-05-15 18:20:33 UTC
Sorry, but even Twig-3.16 fails (same errors as before). I don't get why it tries to use Perl 5.6.1 ;(
Comment 11 Matt Taylor 2004-05-18 01:43:23 UTC
XML-Twig-3.13 failed for me with some unicode problems, but XML-Twig-3.15 built sucessfuly.
Comment 12 Anders Rune Jensen (RETIRED) gentoo-dev 2004-05-28 16:54:24 UTC
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.
Comment 13 Matt Taylor 2004-06-02 16:02:49 UTC
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.
Comment 14 Jan Simons 2004-06-02 21:45:15 UTC
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.
Comment 15 Jan Simons 2004-06-19 19:46:44 UTC
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.
Comment 16 Patrick Kursawe (RETIRED) gentoo-dev 2004-09-22 02:46:04 UTC
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.
Comment 17 Michael Cummings (RETIRED) gentoo-dev 2004-09-22 03:37:29 UTC
unmasked for x86. prod your favorite arch for others :)