Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92860 - Installing gtk+ as a dep. for nmap - "portage patch failed to apply (ltmain.sh version 1.3.4)
Summary: Installing gtk+ as a dep. for nmap - "portage patch failed to apply (ltmain.s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-16 21:24 UTC by tom wilson
Modified: 2005-05-18 06:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tom wilson 2005-05-16 21:24:40 UTC
Doing a fresh install of 2005.0 on a G3 PPC. Installing nmap requiered
installation of GTK+-1.2.10-r11 as the first of 2 requierments for nmap.
Here is the error during emerge.  All is fine up to this point.
---------------------
Unpacking gtk+-1.2.10.tar.gz to .....
Applying gtk+-1.2.10.m4.patch ....
Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ....
Applying gtk+-1.2-local_fix.patch ....
Patching ${S}/ltmain.sh ....

Portage patch failed to apply (ltmain.sh version 1.3.4)
Error x11-libs/gtk+-1.2.10-r11 failed
Function Elibtoolize, Line 240, exit code 0 
--------------------------

This was NOt copied and pasted - I don't think there are any mistakes.


Reproducible: Always
Steps to Reproduce:
1. emerge nmap
2.
3.

Actual Results:  
[CODE]
........
Unpacking gtk+-1.2.10.tar.gz to .....
Applying gtk+-1.2.10.m4.patch ....
Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ....
Applying gtk+-1.2-local_fix.patch ....
Patching ${S}/ltmain.sh ....

Portage patch failed to apply (ltmain.sh version 1.3.4)
Error x11-libs/gtk+-1.2.10-r11 failed
Function Elibtoolize, Line 240, exit code 0 
[/CODE]

and emerge nmap will not continue

Expected Results:  
completed emerging the sofware requierments so namp could be installed

I'd love to, but until I install a console that will let me copy and paste in
XFCE4 - I'm too slow of a typer.
Comment 1 tom wilson 2005-05-16 21:30:58 UTC
Here is my "emerge info".

Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1,
2.6.10-gentoo-r6 ppc)
=================================================================
System uname: 2.6.10-gentoo-r6 ppc 745/755
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 13 2005, 13:10:31)]
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.15.90.0.3-r4
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=750 -mtune=powerpc -fno-strict-aliasing -pipe -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=750 -mtune=powerpc -fno-strict-aliasing -pipe -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X alsa berkdb bitmap-fonts crypt cups emboss fortran gif gpm gtk gtk2 ipv6
java jpeg libwww motif mozilla mp3 mpeg ncurses nls oggvorbis opengl pam pdflib
perl png ppc python qt readline slang spell ssl tcpd tiff truetype
truetype-fonts type1-fonts unicode xml2 xprint xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Comment 2 tom wilson 2005-05-16 21:41:27 UTC
I also tried at the CLI (out of XFCE) result: same error.  Also the same result
occurs (of course) when i try to emerge XMMS, which also requiers gtk+ .
Comment 3 Trolah 2005-05-17 03:43:23 UTC
root@trohluz:/# emerge --info
Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.8-1-386 i686)
=================================================================
System uname: 2.6.8-1-386 i686 
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.7
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pt_BR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode
esd fam foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde
libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd tiff
truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
--------------------------------------------------------------------------------


use this:

nano -w /usr/portage/x11-libs/gtk+/gtk+-1.2.10-r11.ebuild

comment out where: elibtoolize

then add the following line in it's place: libtoolize --copy --force

and finally: ebuild /usr/portage/x11-libs/gtk+/gtk+-1.2.10-r11.ebuild digest

and emerge again

this solve my problem =]

any question look =>
http://forums.gentoo.org/viewtopic-t-335951-highlight-ltmain.html
Comment 4 tom wilson 2005-05-18 06:36:15 UTC
That resolved the matter - thank you.
don't really understand why it worked, but glad it did.
fixed? (I'm guessing)
best regards, tom