Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35197 - emerge XML-Parser propably incomplete (XML-Twig fails to find XML-Parser until manual installation of XML-Parser)
Summary: emerge XML-Parser propably incomplete (XML-Twig fails to find XML-Parser unti...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-06 07:26 UTC by Christoph Handel
Modified: 2004-06-12 05:07 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 Christoph Handel 2003-12-06 07:26:41 UTC
Emerging XML-Twig fails.
Looks like XML-Twig can't find XML::Parser. but emerge -s shows:

emerge -s XML-Parser
Searching...   
[ Results for search key : XML-Parser ]
[ Applications found : 1 ]
 
*  dev-perl/XML-Parser
      Latest version available: 2.31-r1
      Latest version installed: 2.31-r1
      Size of downloaded files: 249 kB
      Homepage:   
http://cpan.valueclick.com/modules/by-category/11_String_Lang_Text_Proc/XML/XML-Parser-2.31.readme
      Description: A Perl extension interface to James Clark's XML parser, expat.

emerge -C XML-Parser && emerge XML-Parser 
doesn't help

Reproducible: Always
Steps to Reproduce:
1. emerge XML-Twig
Actual Results:  
emerge XML-Twig
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/XML-Twig-3.09-r1 to /
--- No package manifest found: /usr/local/portage/dev-perl/XML-Twig/Manifest
>>> md5 src_uri ;-) XML-Twig-3.09.tar.gz
>>> Unpacking source...
>>> Unpacking XML-Twig-3.09.tar.gz to /var/tmp/portage/XML-Twig-3.09-r1/work
>>> Source unpacked.
Checking if your kit is complete...
Looks good
Warning: prerequisite XML::Parser 2.23 not found.
Writing Makefile for XML::Twig
/usr/bin/perl speedup Twig.pm.slow > Twig.pm
XML::Parser::Expat object version 2.31 does not match bootstrap parameter 2.23
at /usr/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 249.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/i686-linux/XML/Parser.pm line 16.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/i686-linux/XML/Parser.pm line 20.
Compilation failed in require at speedup line 5.
BEGIN failed--compilation aborted at speedup line 5.
make: *** [Twig.pm] Error 2

!!! ERROR: dev-perl/XML-Twig-3.09-r1 failed.
!!! Function perl-module_src_compile, Line 49, Exitcode 2
!!! compilation failed


emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3,
2.6.0-test9-mm2)=================================================================
System uname: 2.6.0-test9-mm2 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.3.10p1
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow "
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow "
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline arts tetex aalib bonobo svga tcltk java guile mysql X sdl
gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif
opengl mozilla cdr scanner dga dvd ffmpeg gd gtk2 imap ldap moznocompose
moznoirc moznomail pda v4l xosd xvid apache2 curl"
Comment 1 Christoph Handel 2003-12-06 11:05:24 UTC
manual (wget tar.gz, tar -zxvf, perl Makefile.PL, make, make test, make install) Installation of XML::Parser solved problem. 
Comment 2 Christoph Handel 2003-12-06 11:08:03 UTC
setting serverity to minor

changing subject (XML::Parser Problem, not XML::Twig)

someone (with a clue about perl ;-) should check if problem exists between my chair and screen or its a fault in XML::Parser
Comment 3 Michael Palmer 2004-02-16 14:41:00 UTC
Problem does not duplicate with the following:

perl-5.8.3
XML-Parser-2.31-r1
XML-Twig-3.13
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2004-02-16 18:14:47 UTC
Any updates to perl lately, especially "drastic" updates (5.6.1 to 5.8.X, for instance)? XML-Parser is compiled against external xs code, so any major updates would require the module to be recompiled as well (just shooting at straws). I just updated XML-Twig and a few others today (fixed a lot of deps in the process) - let us know if the problem persists (the deps look good, so its a confusion between what portage thinks you have and what perl thinks you have available, not the ebuild itslef...if that makes any sense...)
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2004-06-12 05:07:29 UTC
No responses since Feb.