Building fails when applying libtool-1.4.2-portage.patch. The ebuild delete ltmain.sh and then try to patch it... Reproducible: Always Steps to Reproduce: emerge -uv libtool Actual Results: >>> emerge (1 of 3) sys-devel/libtool-1.4.3-r2 to / >>> md5 src_uri ;-) libtool-1.4.3.tar.gz >>> md5 src_uri ;-) libtool-1.3.5.tar.gz >>> Unpacking source... >>> Unpacking libtool-1.4.3.tar.gz to /home/portage/tmp/portage/libtool-1.4.3-r2/work >>> Unpacking libtool-1.3.5.tar.gz to /home/portage/tmp/portage/libtool-1.4.3-r2/work automake-1.5: configure.in: installing `./missing' * Patching libtool-1.3.5 ... * Applying libtool-1.2f-cache.patch... [ ok ] * Applying libtool-1.3.5-nonneg.patch... [ ok ] * Applying libtool-1.3.5-mktemp.patch... [ ok ] automake-1.5: configure.in: installing `./missing' * Patching libtool-1.4.3 ... * Applying libtool-1.3.5-mktemp.patch... [ ok ] * Applying libtool-1.4-nonneg.patch... [ ok ] * Applying libtool-1.4.2-s390_x86_64.patch... [ ok ] * Applying libtool-1.4.2-relink-58664.patch... [ ok ] * Applying libtool-1.4.2-multilib.patch... [ ok ] * Applying libtool-1.4.2-demo.patch... [ ok ] * Applying libtool-1.4.3-lib64.patch... [ ok ] * Applying libtool-1.4.2-add-x11r6-lib-in-ignores-for-rpath.patch... [ ok ] * Applying libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch... [ ok ] * Applying libtool-1.4.2-archive-shared.patch... [ ok ] * Applying libtool-1.4.3-ltmain-SED.patch... [ ok ] * Applying libtool-1.4.2-portage.patch... * Failed Patch: libtool-1.4.2-portage.patch! * * Include in your bugreport the contents of: * * /home/portage/tmp/portage/libtool-1.4.3-r2/temp/libtool-1.4.2-portage.patch-18205.out Expected Results: Compile ? cat /home/portage/tmp/portage/libtool-1.4.3-r2/temp/libtool-1.4.2-portage.patch-18205.out ***** libtool-1.4.2-portage.patch ***** ======================================= PATCH COMMAND: patch -g0 -p0 < /usr/portage/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch ======================================= can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- ltmain.sh.orig Wed Apr 3 01:19:37 2002 |+++ ltmain.sh Sun May 26 19:50:52 2002 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ======================================= PATCH COMMAND: patch -g0 -p1 < /usr/portage/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch ======================================= missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- ltmain.sh.orig Wed Apr 3 01:19:37 2002 |+++ ltmain.sh Sun May 26 19:50:52 2002 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ======================================= PATCH COMMAND: patch -g0 -p2 < /usr/portage/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch ======================================= missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- ltmain.sh.orig Wed Apr 3 01:19:37 2002 |+++ ltmain.sh Sun May 26 19:50:52 2002 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ======================================= PATCH COMMAND: patch -g0 -p3 < /usr/portage/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch ======================================= missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- ltmain.sh.orig Wed Apr 3 01:19:37 2002 |+++ ltmain.sh Sun May 26 19:50:52 2002 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ======================================= PATCH COMMAND: patch -g0 -p4 < /usr/portage/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch ======================================= missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- ltmain.sh.orig Wed Apr 3 01:19:37 2002 |+++ ltmain.sh Sun May 26 19:50:52 2002 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored emerge info Portage 2.0.49-r6 (default-ppc-1.4, gcc-3.2.3, glibc-2.2.5-r4,2.3.2-r1, 2.4.21-ppc-r2) ================================================================= System uname: 2.4.21-ppc-r2 ppc ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -mcpu=750" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -pipe -mcpu=750" DISTDIR="/home/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="http://194.83.57.11/sites/www.ibiblio.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://194.83.57.7/sites/www.ibiblio.org/gentoo/ http://194.83.57.2/sites/www.ibiblio.org/gentoo/ http://194.83.57.3/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" USE="oss dvd xv jpeg nls mitshm gif png truetype ppc cups foomaticdb gnome-libs alsa gdbm berkdb slang readline bonobo ggi tcltk X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk motif opengl mozilla ldap crypt fbcon flash gd gtk2 gtkhtml java mad mpeg pdflib ppds quicktime spell tiff xface -qt -kde -guile"
Oooops... I guess the problem was coming from my rsync mirror (?) : I deleted /usr/portage/sys-devel/libtool/ directory and changed make.conf to use european rsync rotation mirror and I received a /usr/portage/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch correctly applying to ltmain.in instead of ltmain.sh. Sorry