DreamTime Music # emerge -kuv dev-perl/XML-DT Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/XML-DT-0.24.1 to / >>> md5 src_uri ;-) XML-DT-0.24.1.tar.gz >>> Unpacking source... >>> Unpacking XML-DT-0.24.1.tar.gz to /var/tmp/portage/XML-DT-0.24.1/work >>> Source unpacked. NOTE: Next versions will, possibly, deprecate XML::Parser backend. At the moment, XML::LibXML is quicker than XML::Parser and supports HTML parsing I need a XML Back-end (XML::Parser >= 2.3 or XML::LibXML >= 1.52 Should I use 'XML::Parser' or 'XML::LibXML'? [XML::LibXML] Checking if your kit is complete... Looks good Writing Makefile for XML::DT Can't find string terminator '"' anywhere before EOF at -e line 1. sh: line 1: ": command not found Filter command 'perl -npe \"s/#XML::LIBXML#//;\"' failed for DT.pm at /usr/lib/perl5/5.8.2/ExtUtils/Install.pm line 390. make: *** [pm_to_blib] Error 127 !!! ERROR: dev-perl/XML-DT-0.24.1 failed. !!! Function perl-module_src_compile, Line 53, Exitcode 2 !!! compilation failed >>> Install XML-DT-0.24.1 into /var/tmp/portage/XML-DT-0.24.1/image/ category dev-perl Can't find string terminator '"' anywhere before EOF at -e line 1. sh: line 1: ": command not found Filter command 'perl -npe \"s/#XML::LIBXML#//;\"' failed for DT.pm at /usr/lib/perl5/5.8.2/ExtUtils/Install.pm line 390. make: *** [pm_to_blib] Error 127 !!! ERROR: dev-perl/XML-DT-0.24.1 failed. !!! Function perl-module_src_install, Line 80, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. Become root 2. Type "emerge -kuv dev-perl/XML-DT 3. Actual Results: See details Expected Results: built XML-DT I have miscellaneous other problems with the Perl XML modules, which I think has a root cause of various incorrect versions/dependencies, deprecated versions, etc., involving "XML-Parser". My plan is to post the individual failures as I find them in the hopes that someone with more wisdom in the overall scheme of things will see the pattern and fix "these" bugs. DreamTime Music # emerge --info Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo-r1) ================================================================= System uname: 2.4.25-gentoo-r1 i686 mobile AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" 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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi acpi4linux alsa apm arts atlas auctex avi berkdb cdr cmucl crypt cups emacs emacs-w3 encode esd foomaticdb gdbm gif gpm gtk2 guile imlib jack java jpeg kde ldap libg++ libsamplerate libwww mad mikmod motif mpeg mysql ncurses nls ocaml oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xemacs xml2 xmms xv zlib"
These look relevant enough to attach to this bug, rather than create a new one: DreamTime Music # emerge -v dev-perl/XML-SimpleObject Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/XML-SimpleObject-0.53 to / >>> md5 src_uri ;-) XML-SimpleObject-0.53.tar.gz >>> Unpacking source... >>> Unpacking XML-SimpleObject-0.53.tar.gz to /var/tmp/portage/XML-SimpleObject-0.53/work >>> Source unpacked. NOTE: XML::SimpleObject requires XML::Parser. If you have XML::LibXML, you can install XML::SimpleObject::LibXML instead. Checking for XML::Parser ... Can't locate XML/Parser.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.2/i686-linux /usr/lib/perl5/5.8.2 /usr/local/lib/site_perl .) at Makefile.PL line 7. make: *** No targets specified and no makefile found. Stop. !!! ERROR: dev-perl/XML-SimpleObject-0.53 failed. !!! Function perl-module_src_compile, Line 53, Exitcode 2 !!! compilation failed DreamTime Music # emerge -v dev-perl/XML-Twig Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/XML-Twig-3.13 to / >>> md5 src_uri ;-) XML-Twig-3.13.tar.gz >>> Unpacking source... >>> Unpacking XML-Twig-3.13.tar.gz to /var/tmp/portage/XML-Twig-3.13/work >>> Source unpacked. Do you want to install 'xml_pp' (XML pretty printer)? [y] Do you want to install 'xml_grep' (XML grep - grep XML files using XML::Twig's subset of XPath)? [y] y Do you want to install 'xml_spellcheck' (spellcheck XML files skipping tags)? [y] y Checking if your kit is complete... Looks good Warning: prerequisite XML::Parser 2.23 not found. Writing Makefile for XML::Twig echo "building Twig.pm" building Twig.pm /usr/bin/perl speedup Twig.pm.slow > Twig.pm Can't locate XML/Parser.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.2/i686-linux /usr/lib/perl5/5.8.2 /usr/local/lib/site_perl .) at speedup line 5. BEGIN failed--compilation aborted at speedup line 5. make: *** [Twig.pm] Error 2 !!! ERROR: dev-perl/XML-Twig-3.13 failed. !!! Function perl-module_src_compile, Line 53, Exitcode 2 !!! compilation failed echo "building Twig.pm" building Twig.pm /usr/bin/perl speedup Twig.pm.slow > Twig.pm Can't locate XML/Parser.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.2/i686-linux /usr/lib/perl5/5.8.2 /usr/local/lib/site_perl .) at speedup line 5. BEGIN failed--compilation aborted at speedup line 5. make: *** [Twig.pm] Error 2 !!! ERROR: dev-perl/XML-Twig-3.13 failed. !!! Function src_compile, Line 33, Exitcode 2 !!! test failed DreamTime Music # emerge -uv gnome-base/libbonobo Calculating dependencies ...done! >>> emerge (1 of 1) gnome-base/libbonobo-2.6.0 to / >>> md5 src_uri ;-) libbonobo-2.6.0.tar.bz2 >>> Unpacking source... >>> Unpacking libbonobo-2.6.0.tar.bz2 to /var/tmp/portage/libbonobo-2.6.0/work >>> Source unpacked. * Patching ${S}/ltmain.sh... * Applying portage-1.4.1.patch... * Applying max_cmd_len-1.5.0.patch... configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking whether to enable maintainer-specific portions of Makefiles... no checking for perl... /usr/bin/perl configure: error: XML::Parser perl module is required for intltool !!! ERROR: gnome-base/libbonobo-2.6.0 failed. !!! Function econf, Line 365, Exitcode 1 !!! econf failed Of course, dev-perl/XML-Parser *is* installed: DreamTime Music # emerge -pv dev-perl/XML-Parser These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-perl/XML-Parser-2.34 0 kB Total size of downloads: 0 kB I'm assuming these are packaged straight out of CPAN; is this maybe an upstream problem??
SPARC is only along for the XML-DT problem.
I get this on x86 too
That is to say... Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.26-gentoo-r3) ================================================================= System uname: 2.4.26-gentoo-r3 i686 AMD Athlon(TM) XP 2400+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aac acl acpi alsa apache2 apm arts audiofile avi berkdb cddb cdr chroot clamav crypt cups curl dv dvd dvdr encode escreen esd etwin evms2 evo faad fam fax fbcon flac flash foomaticdb gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 icq imagemagick imap imlib imlib2 ipv6 irda jabber jack java javascript jpeg kde kerberos libg++ libgda libwww lirc lzw-tiff mad maildir matroska mcal menu mikmod mmx mng mono motif mpeg mpeg4 msn mysql nas ncurses nls nntp nptl nvidia odbc offensive ofx oggvorbis opengl oscar oss pam parse-clocks pcap pdflib perl physfs pic png ppds psyco pwdb python qt quicktime readline rplay samba sasl sdl slang slp snmp socks5 sox speex spell sse ssl stroke svga tcpd theora tiff transcode truetype usb wmf wxwindows x86 xml2 xmms xv xvid yahoo zlib"
Ignoring what portage says, please emerge XML-Parser again, then try Twig/SimpleObject. I just want to be sure that portage isn't confused. Thanks!
Any word on this?
Removing sparc as it WORKSFORSPARC
OP, any word? (hi weeve :) )
Closing - no word in 4 months.