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

Bug 188775

Summary: x11-misc/shared-mime-info emerge fails on compile
Product: Gentoo Linux Reporter: Stephen E. Baker <cycoone>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal CC: tester
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: log

Description Stephen E. Baker 2007-08-14 00:29:50 UTC
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/x11-misc/shared-mime-info-0.21-r1/work/shared-mime-info-0.21/config.log

!!! ERROR: x11-misc/shared-mime-info-0.21-r1 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  shared-mime-info-0.21-r1.ebuild, line 31:   Called econf '--disable-update-mimedb'
  ebuild.sh, line 586:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-misc/shared-mime-info-0.21-r1/temp/build.log'.



Reproducible: Always




goodt60 stephen # emerge --info
Portage 2.1.2.11 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 13 Aug 2007 23:30:10 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -msse3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://cdot.senecac.on.ca/software/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://adelie.polymtl.ca"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amarok apache2 bash-completion berkdb bitmap-fonts bittorrent cairo cdda cddb cdr cli cracklib crypt cscope cups dbus dio dri dvd dvdr dvdread emacs encode ffmpeg firefox fortran gdbm gif gpm hal iconv icq imagemagick ipv6 isdnlog java java5 javascript joystick jpeg jpeg2k kde libnotify midi mikmod mmx mmxext mng mozdevelop mp3 mpeg mplayer msn mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp pam pcmcia pcre pdf perl png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd tetex threads truetype truetype-fonts type1-fonts unicode usb vim-syntax vorbis wifi win32codecs wma wxwindows x86 xine xml xorg xosd xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stephen E. Baker 2007-08-14 00:59:42 UTC
Created attachment 128005 [details]
log
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2007-08-14 04:35:20 UTC
I got the same bug on both of my machines (amd64 and x86).. maybe we should bump intltool to force xml-parser to be rebuilt before shared-mime-info
Comment 3 Yang Zhao 2007-08-14 05:25:09 UTC
After manually updating XML-Parser, emerge still fails with unabled to find libexpat.so.0:

WARNING: This version of gettext does not support extracting non-ASCII
         strings. That means you should install a version of gettext
         that supports non-ASCII strings (such as GNU gettext >= 0.12),
         or have to let non-ASCII strings untranslated. (If there is any)
/usr/bin/xgettext: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
ERROR: xgettext failed to generate PO template file. Please consult
       error message above if there is any.
make[1]: *** [shared-mime-info.pot] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/shared-mime-info-0.21-r1/work/shared-mime-info-0.21/po'
make: *** [check-recursive] Error 1


dev-lib/expat is not slotted, and 2.0.1 is the latest stable version in portage.
Comment 4 Yang Zhao 2007-08-14 06:13:36 UTC
(In reply to comment #3)
> After manually updating XML-Parser, emerge still fails with unabled to find
> libexpat.so.0:

Sorry, false alarm.

It looks like my expat upgrade didn't go very smoothly.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-14 07:00:31 UTC

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