I tryed to emerge gnome-print, and got the error messages below. It seems that the failure is attributed to the libtool.eclass. Reproducible: Always Steps to Reproduce: 1.emerge -av1 gnome-print Actual Results: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] gnome-base/gnome-print-0.37 +nls 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] >>> emerge (1 of 1) gnome-base/gnome-print-0.37 to / >>> md5 files ;-) gnome-print-0.37.ebuild >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) files/gnome-print-0.37-freetype_new_include.patch >>> md5 files ;-) files/digest-gnome-print-0.37 >>> md5 src_uri ;-) gnome-print-0.37.tar.bz2 >>> Unpacking source... >>> Unpacking gnome-print-0.37.tar.bz2 to /var/tmp/portage/gnome-print-0.37/work * Applying gnome-print-0.37-freetype_new_include.patch ... [ ok ] >>> Source unpacked. * Patching ${S}/ltmain.sh ... * Portage patch failed to apply (ltmain.sh version 1.3.5)! !!! ERROR: gnome-base/gnome-print-0.37 failed. !!! Function elibtoolize, Line 240, Exitcode 0 !!! Portage patch failed to apply! !!! If you need support, post the topmost build error, NOT this status message. gentoo portage # emerge info Portage 2.0.51.19 (default-linux/x86, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 i686) ================================================================= System uname: 2.6.11-gentoo-r7 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 2 2005, 23:37:06)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.16.90.0.3 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -O2 -fomit-frame-pointer -fPIC -DPIC" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -O2 -fomit-frame-pointer -fPIC -DPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.isu.edu.tw/pub/Linux/Gentoo http://mirror.averse.net/pub/gentoo/ ftp://mirror.averse.net/pub/gentoo" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/got /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aac aalib acl acpi alsa apache2 arts avi bash-completion berkdb bitmap-fonts bonobo cdr chroot cjk crypt cups curl dga divx4linux doc dv dvb dvd dvdr dvdread emacs emboss encode esd expat fam fbcon ffmpeg flac foomaticdb fortran gd gdbm ggi gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib immqt java jpeg junit kde kdeenablefinal lcms libcaca libg++ libwww mad matroska memlimit mikmod mmx motif mozilla mp3 mpeg mpi mysql ncurses network nls nocd nptl ogg oggvorbis opengl pam pcre pda pdflib perl pic png ppds profile pwdb python qt quicktime readline real samba scanner sdl skey slang snmp spell sse ssl svg svga symlink tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd videos vorbis win32codecs x86 xface xim xine xml xml2 xmms xscreensaver xttmgr xv xvid zh_TW zlib video_cards_radeon linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Is elibtoolize really needed here? (Bug 74669)
See also bug 92350
Using uclibctoolize instead elibtoolize shoul work.
Backported Portage patch.