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

Bug 134421

Summary: gnome-spell-1.0.7-r1 fails to build due to obscure perl problem
Product: Gentoo Linux Reporter: Paul Winkler <stuff>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Winkler 2006-05-26 07:43:48 UTC
i first got this while running emerge --update --deep --world.
First my emerge --info, then the error, then what I've been able to find out so far....

pw@sweetums ~ $ emerge --info
Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r3, 2.6.16-gentoo-r6sweetums i686)
=================================================================
System uname: 2.6.16-gentoo-r6sweetums i686 Intel(R) Pentium(R) M processor 2.26GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/pw/Downloads/Apps/Audio/proaudio_overlay/proaudio /home/pw/slinkp_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdb cdr cli crypt cups curl dga divx4linux dri dssi dts dvd emacs emacs-w4 emboss encode exif expat fam flac fortran gd gdbm gif glut gpm gtk gtk2 gtkhtml guile idn imagemagick imlib isdnlog jack jack-tmpfs jackmidi java jpeg kerberos lash lcms ldap libg++ libwww live mad mbox memlimit mmx mmx2 mng mozilla mp3 mpeg ncurses network nls nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png portaudio ppds pppd python qt quicktime readline reflection ruby samba sasl scanner sdl session spell spl sse sse2 ssl tcltk tcpd tiff tk truetype truetype-fonts type1-fonts udev usb vorbis win32codecs wxwindows x86 xml xml2 xmms xorg xv xvid zeo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

=======================================================================

pw@sweetums ~ $ emerge --pretend gnome-spell

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] app-text/gnome-spell-1.0.7-r1 [1.0.6]
pw@sweetums ~ $ sudo emerge gnome-spell
Calculating dependencies ...done!
>>> emerge (1 of 1) app-text/gnome-spell-1.0.7-r1 to /
>>> md5 files   ;-) gnome-spell-1.0.7.ebuild
>>> md5 files   ;-) gnome-spell-1.0.7-r1.ebuild
>>> md5 files   ;-) gnome-spell-1.0.5-r2.ebuild
>>> md5 files   ;-) gnome-spell-1.0.6.ebuild
>>> md5 files   ;-) files/digest-gnome-spell-1.0.6
>>> md5 files   ;-) files/digest-gnome-spell-1.0.7
>>> md5 files   ;-) files/gnome-spell-1.0.7-enchant.patch
>>> md5 files   ;-) files/gnome-spell-1.0.6-combo.patch
>>> md5 files   ;-) files/gnome-spell-1.0.7-combo.patch
>>> md5 files   ;-) files/gnome-spell-1.0.5-gtk24.patch
>>> md5 files   ;-) files/gnome-spell-1.0.5-enchant.patch
>>> md5 files   ;-) files/digest-gnome-spell-1.0.5-r2
>>> md5 files   ;-) files/digest-gnome-spell-1.0.7-r1
>>> md5 files   ;-) files/gnome-spell-1.0.7-enchant-r2.patch
>>> md5 files   ;-) files/gnome-spell-1.0.7-remove_gnome_h.patch
>>> md5 files   ;-) files/gnome-spell-1.0.7-debug.patch
>>> md5 files   ;-) files/gnome-spell-1.0.6-enchant.patch
>>> md5 src_uri ;-) gnome-spell-1.0.7.tar.bz2
>>> Unpacking source...
>>> Unpacking gnome-spell-1.0.7.tar.bz2 to /var/tmp/portage/gnome-spell-1.0.7-r1/work
 * Applying gnome-spell-1.0.7-enchant-r2.patch ...                        [ ok ] * Applying gnome-spell-1.0.7-combo.patch ...                             [ ok ] * Applying gnome-spell-1.0.7-remove_gnome_h.patch ...                    [ ok ] * Runnig aclocal
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE/usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
 * Running autoconf
 * Running automake
 * Running libtoolize
>>> Source unpacked.
QA Notice: USE Flag 'doc' not in IUSE for app-text/gnome-spell-1.0.7-r1
 * Running elibtoolize in: gnome-spell-1.0.7
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.5.6.patch ...
 * econf: updating gnome-spell-1.0.7/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gnome-spell-1.0.7/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-static --disable-gtk-doc --build=i686-pc-linux-gnu
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 whether to enable maintainer-specific portions of Makefiles... no
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/gnome-spell-1.0.7-r1/work/gnome-spell-1.0.7/config.log

!!! ERROR: app-text/gnome-spell-1.0.7-r1 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

==============================

A bit of googling gave me some clues... it looks like I do have the necessary library but there's a perl module path problem:

pw@sweetums ~ $ /usr/bin/perl -e "require XML::Parser"
Can't locate XML/Parser.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at -e line 1.


pw@sweetums ~ $ locate XML/Parser.pm
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux/XML/Parser.pm
pw@sweetums ~ $ equery belongs /usr/lib/perl5/vendor_perl/5.8.6/i386-linux/XML/Parser.pm
[ Searching for file(s) /usr/lib/perl5/vendor_perl/5.8.6/i386-linux/XML/Parser.pm in *... ]
dev-perl/XML-Parser-2.34 (/usr/lib/perl5/vendor_perl/5.8.6/i386-linux/XML/Parser.pm)


If I re-emerge dev-perl/XML-Parser, that fixes the problem.
I can then emerge gnome-spell successfully.
That was a lucky guess. I want Portage to fix this kind of thing for me :-)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-26 07:46:52 UTC

*** This bug has been marked as a duplicate of 41124 ***