Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't apply portage patch to ltmain.sh
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Lunchy
n00b
n00b


Joined: 22 Aug 2003
Posts: 70
Location: Hartford, Wisconsin

PostPosted: Wed May 11, 2005 5:07 pm    Post subject: Can't apply portage patch to ltmain.sh Reply with quote

Every time I try to emerge something that needs to patch ltmain.sh it fails with...

Code:

>>> 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)!


I've been searching around but can't find anything anywhere. My emerge info is below

Code:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r8 i686)
=================================================================
System uname: 2.6.11-gentoo-r8 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 11 2005, 03:14:23)]
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.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer"
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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks moo sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.mirrored.ca/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acpi aim apm arts avi bash-completion berkdb bitmap-fonts cdparanoia cdr crypt cups directfb divx4linux doc dvd dvdemacs dvdr eds emboss encode esd ethereal exif fam fbcon foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile hal imap imlib innodb java jikes jpeg kde kdeenablefinal kerberos leim libg++ libwww mad maildir mbox mikmod mmx mono motif mp3 mpeg mysql nas ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl png postgress prelude python qt quicktime readline ruby samba sdl sndfile snmp sockets spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vorbis wmf x86 xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


Anyone have any ideas?
_________________
-Lunchy
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Wed May 11, 2005 5:13 pm    Post subject: Reply with quote

Does
Code:
emerge --sync
emerge --oneshot --nodeps gnuconfig
emerge --oneshot libtool
fix the problem?
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Lunchy
n00b
n00b


Joined: 22 Aug 2003
Posts: 70
Location: Hartford, Wisconsin

PostPosted: Wed May 11, 2005 5:37 pm    Post subject: Reply with quote

moocha wrote:
Does
Code:
emerge --sync
emerge --oneshot --nodeps gnuconfig
emerge --oneshot libtool
fix the problem?


No, I'm afraid not, I still get the same thing :?

It's a brand new gentoo install, ( I must admit, I didn't use the gentoo provided stages, but one of the jackass stage1/3 stages ), and I've already revdep-rebuilded and all it needed reinstalled were 2 java packages. Color me confused!
_________________
-Lunchy
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Wed May 11, 2005 6:25 pm    Post subject: Reply with quote

That's probably your problem. Try with a support stage-tarball and come back if it still fails.

From the jackass-thread in the unsupported software forum:
Quote:
"The Jackass! Project has been conceived to create an Unauthorized Minimal Installation CD and processor-specific Stage 3 Tarballs for Gentoo 2005.0 that contain an optimized GCC 3.4.3 toolkit built upon an insane set of CFLAGS that only a Jackass would consider using."


I don't understand why this would be worth using. Processor-specific stage tarballs are already available and one line in package.keywords is all you need to get gcc 3.4. "Insane CFLAGS" makes the system larger and slower because of bloated to binaries and is also likely to cause stability issues. So the only difference betwen the jackass stage-tarballs and the official is that they are slower, larger and probably less stable. However I do agree that only a jackass would use that. :)
Back to top
View user's profile Send private message
Lunchy
n00b
n00b


Joined: 22 Aug 2003
Posts: 70
Location: Hartford, Wisconsin

PostPosted: Wed May 11, 2005 6:47 pm    Post subject: Reply with quote

nxsty wrote:
That's probably your problem. Try with a support stage-tarball and come back if it still fails.


Yea, I thought that this was worth a shot, don't ask me why. :) I'll most likely start over when I get home today with a tried and true stage tarball. 8)


Quote:
However I do agree that only a jackass would use that. :)


I *thought* that might be why they called it that. ;)
_________________
-Lunchy
Back to top
View user's profile Send private message
Phoenix5100
n00b
n00b


Joined: 11 May 2005
Posts: 12

PostPosted: Wed May 11, 2005 10:04 pm    Post subject: oh, no Reply with quote

it continues ...

Just in the second i finished the second thread it happened.

emerging gnome

Code:

.
.
checking for correct ltmain.sh version.. no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** libtool.m4 = 1.5.16, ltmain.sh = 1.5) ***

Please run:

   libtoolize --copy --force

if appropriate, please contact the maintainer of this package ... bla


--> libtoolize --copy --force --> 'configure.ac' does not exist

What shall i do now?

greetz
Phoenix
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Wed May 11, 2005 10:16 pm    Post subject: Re: oh, no Reply with quote

Phoenix5100 wrote:
What shall i do now?
This is starting to look like a bug in the toolchain or the Gnome eclasses (didn't look into it), to be blamed on the responsible developers ;-). Please post the output of
Code:
emerge --info
That goes for everyone on this thread encountering this problem.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Wed May 11, 2005 10:31 pm    Post subject: Reply with quote

Post the entire output too, so we can see what packages it is failing on for everyone. Someone should create a bug on https://bugs.gentoo.org that is having this problem.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
ElroyJetson
n00b
n00b


Joined: 16 Mar 2004
Posts: 9
Location: King of Prussia (Philadelphia) PA USA

PostPosted: Wed May 11, 2005 10:34 pm    Post subject: Reply with quote

I hit this today as well. I am installing 2005.0 (the standard version!), from Stage 3 and a fresh portage sync on a laptop.
Code:
 * Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ...                                                                   [ ok ]
 * Applying gtk+-1.2-locale_fix.patch ...                                                                        [ ok ]
>>> Source unpacked.
 * Patching ${S}/ltmain.sh ...

 * Portage patch failed to apply (ltmain.sh version 1.3.4)!


I am tring to "emerge kdebase" right now. Previously I received another error while emerging lcms-1.13 which complained that the versions of libtool.m4 (1.5.10) did not match ltmain.sh (1.3) and told me to do a "libtoolize --copy --force". (I don't have actual messages saved anymore.) I found a newer version (lcms-1.13-r1) available in portage which emerged fine.

I'll continue to look into it and report if I find anything further.

My emerge status is as follows. USE flags, etc. copied from a working installation on another machine.
Code:

# emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r8 i686)
=================================================================
System uname: 2.6.11-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 17:34:27)]
dev-lang/python:     2.3.4-r1
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.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium4 -pipe -fomit-frame-pointer"
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/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups emboss encode esd foomaticdb fortran gdbm gif gimpprint gname gnome gpm gtk gtk2 imlib ipv6 java jpeg junit kde libg++ libwww m4l mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline samba sdl spell ssei ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
Lunchy
n00b
n00b


Joined: 22 Aug 2003
Posts: 70
Location: Hartford, Wisconsin

PostPosted: Wed May 11, 2005 11:27 pm    Post subject: Reply with quote

Well crap, I've already restarted with a stage1 assuming it was a problem with the jackass stage. Oh well, if I have any of the same issues, I'll report back. :)
_________________
-Lunchy
Back to top
View user's profile Send private message
justabssplyr
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 110

PostPosted: Thu May 12, 2005 12:20 am    Post subject: Reply with quote

I'm getting this
Code:

>>> Unpacking source...
>>> Unpacking gtk+-1.2.10.tar.gz to /var/tmp/portage/gtk+-1.2.10-r11/work
 * Applying gtk+-1.2.10-m4.patch ...                                                       [ ok ]
 * Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ...                                             [ ok ]
 * Applying gtk+-1.2-locale_fix.patch ...                                                  [ ok ]
 * 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, Exitcode 0
!!! Portage patch failed to apply!
!!! If you need support, post the topmost build error, NOT this status message.

When trying to emerge gtk.


here is my emerge info
Code:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r8 i686)
=================================================================
System uname: 2.6.11-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 10 2005, 20:47:15)]
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.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts artswrappersuid avi berkdb bitmap-fonts crypt cups curl dvd dvdread emboss encode fam ffmpeg flac foomaticdb fortran gdbm gif gpm gtk gtk2 hal imlib ipv6 ithreads jack java jpeg kde kdeenablefinal kdexdeltas libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell sse ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts userlocales vorbis win32codecs xine xml2 xscreensaver xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


I have a sneaking suspicion that it might be something to do with the libtoolize eclass, since i was digging through the cvs at work earlier today and i noticed that the portion of code relating to this error message was changed in the last revision.
Back to top
View user's profile Send private message
The Ennead
Apprentice
Apprentice


Joined: 31 Jan 2003
Posts: 157
Location: Red Half Of Manchester, UK

PostPosted: Thu May 12, 2005 12:51 am    Post subject: Reply with quote

Aye just hit the same prob now myself but on amd64.

Code:
 emerge grip
Calculating dependencies ...done!
>>> emerge (1 of 3) gnome-base/libghttp-1.0.9-r4 to /
>>> md5 files   ;-) libghttp-1.0.9-r2.ebuild
>>> md5 files   ;-) libghttp-1.0.9-r3.ebuild
>>> md5 files   ;-) libghttp-1.0.9-r4.ebuild
>>> md5 files   ;-) files/libghttp-1.0.9-fixlocale.patch
>>> md5 files   ;-) files/digest-libghttp-1.0.9-r2
>>> md5 files   ;-) files/digest-libghttp-1.0.9-r3
>>> md5 files   ;-) files/digest-libghttp-1.0.9-r4
>>> md5 src_uri ;-) libghttp-1.0.9.tar.gz
>>> Unpacking source...
>>> Unpacking libghttp-1.0.9.tar.gz to /var/tmp/portage/libghttp-1.0.9-r4/work
 * Applying libghttp-1.0.9-fixlocale.patch ...                            [ ok ]
>>> Source unpacked.
 * Patching ${S}/ltmain.sh ...

 * Portage patch failed to apply!

!!! ERROR: gnome-base/libghttp-1.0.9-r4 failed.
!!! Function elibtoolize, Line 236, Exitcode 0
!!! Portage patch failed to apply!
!!! If you need support, post the topmost build error, NOT this status message.



followed by

Code:
 emerge --info
Portage 2.0.51.21-r1 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 FX-55 Processor
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.6
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="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts crypt curl eds esd fam font-server fortran gif gpm gstreamer gtk imagemagick imlib ipv6 jp2 jpeg kde lzw lzw-tiff motif mp3 ncurses nls opengl oss pam perl png python qt readline slang ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xine xml xml2 xpm xrandr xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY


2am and i'm about to hit the sack but i'll have a scout round in the morning and see if I can come up with anything more.
Back to top
View user's profile Send private message
adastra
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2002
Posts: 106

PostPosted: Thu May 12, 2005 1:57 am    Post subject: Reply with quote

i guess i'll go ahead and throw my hat in the ring. when trying to emerge gnome-light or qt i get the same error with gtk+ as justabssplyr.

Code:
>>> Unpacking source...
>>> Unpacking gtk+-1.2.10.tar.gz to /var/tmp/portage/gtk+-1.2.10-r11/work
 * Applying gtk+-1.2.10-m4.patch ...                                                    [ ok ]
 * Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ...                                          [ ok ]
 * Applying gtk+-1.2-locale_fix.patch ...                                               [ ok ]
 * 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, Exitcode 0
!!! Portage patch failed to apply!
!!! If you need support, post the topmost build error, NOT this status message.



here's mine:

Code:
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 11 2005, 00:26: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.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr  -momit-leaf-frame-pointer -ftracer -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr  -momit-leaf-frame-pointer -ftracer -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://gentoo.osuosl.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acpi avi bash-completion berkdb bitmap-fonts crypt cups dvd dvdread emboss encode f77 fam foomaticdb fortran freetype gdbm gif gnome gpm gtk gtk2 imagemagick imap imlib ipv6 java jpeg kerberos krb4 libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg nas ncurses network nls nptl nvidia oggvorbis opengl oss pam pdflib perl plotutils png python qt quicktime readline real samba sdl spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb win32codecs xml2 xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


yes i am doing a stage 1 on 3 using the 2005.0 guidelines by Bob P. and it is my third one. well, actually the first one was 2004.3 but the second was 2005.0 and it worked just great.
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1181
Location: Motown

PostPosted: Thu May 12, 2005 2:48 am    Post subject: Reply with quote

I've run into a number of problems that were caused by using utf8 as the system default. Most things work fine if I just set my user to use utf8 (although xcdroast for one is giving me problems), but if root is set to utf8 trouble happens in emerge-ville.

Chris
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
widremann
Veteran
Veteran


Joined: 14 Mar 2005
Posts: 1314

PostPosted: Thu May 12, 2005 3:19 am    Post subject: Reply with quote

Yep, I just got the error. I'm starting to believe I won't ever even emerge mplayer, much less KDE or other useful programs. Why is portage horribly broken today?
Back to top
View user's profile Send private message
vman
n00b
n00b


Joined: 07 Jun 2004
Posts: 21

PostPosted: Thu May 12, 2005 5:26 am    Post subject: Possible Fix Reply with quote

In the ebuild for that particular package (worked for plotutils and referenced in Bug 86931) - comment out
Code:
elibtoolize
then add the following line in it's place:

Code:
libtoolize --copy --force


after src_compile()

Remember to
Code:
ebuild (ebuild) digest


Then try to emerge the package again...

Have fun,
Mike
Back to top
View user's profile Send private message
ChrisJW
n00b
n00b


Joined: 17 Mar 2005
Posts: 17

PostPosted: Thu May 12, 2005 7:05 am    Post subject: Reply with quote

Had this problem and tried what was suggested above (replace elibtoolize with libtoolize --copy --force), and that seems to have resolved it. Cheers for that ;)
Back to top
View user's profile Send private message
The Ennead
Apprentice
Apprentice


Joined: 31 Jan 2003
Posts: 157
Location: Red Half Of Manchester, UK

PostPosted: Thu May 12, 2005 9:20 am    Post subject: Reply with quote

Cheers vman :D Yep that sorted the problem for me as well.
Back to top
View user's profile Send private message
Phoenix5100
n00b
n00b


Joined: 11 May 2005
Posts: 12

PostPosted: Thu May 12, 2005 9:23 am    Post subject: newbie Reply with quote

Visited Bugs, but can't see what to do. Can you be a little more specific, please?

Would be very nice, thanks.

greetz
Phoenix
Back to top
View user's profile Send private message
OddFox
Apprentice
Apprentice


Joined: 28 Nov 2002
Posts: 270
Location: Spokane, WA

PostPosted: Thu May 12, 2005 9:57 am    Post subject: Reply with quote

Just another confirmation that vman's suggestion worked like a charm.
_________________
Now the rainy season reminds me of Maria
The way she danced, the color of her hair
Now I'm locked inside a stall at the cantina
Eating the bananas and the cocaine off the mirror
Looking for a ticket to take me away from here
Back to top
View user's profile Send private message
Phoenix5100
n00b
n00b


Joined: 11 May 2005
Posts: 12

PostPosted: Thu May 12, 2005 10:34 am    Post subject: emerge info Reply with quote

Code:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686)

System uname: 2.6.11-gentooo-r8 i686 Intel Pentium M processor 1.8
Gentoo Base System version 1.4.16
Python:                  dev-lang/python-2.3.5 [2.3.5 (#1, May 10 2005, 22:23:24)]
dev-lang/python:    2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:   2.13, 2.59-r6
sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:   2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-02 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc/usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-02 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode esd fam foomaticdb fortran gdbm gif gnome gpm gtk gtk2 hal howl 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 slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts userlocales vorbis x86 xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
UNSET: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
justabssplyr
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 110

PostPosted: Thu May 12, 2005 12:11 pm    Post subject: Reply with quote

if that is the case, then it is something fishy with the elibtoolize eclass.

if no one else has filed a bug, i will.
Back to top
View user's profile Send private message
The Ennead
Apprentice
Apprentice


Joined: 31 Jan 2003
Posts: 157
Location: Red Half Of Manchester, UK

PostPosted: Thu May 12, 2005 12:25 pm    Post subject: Re: newbie Reply with quote

Phoenix5100 wrote:
Visited Bugs, but can't see what to do. Can you be a little more specific, please?

Would be very nice, thanks.

greetz
Phoenix


Well, for me, the problem was encountered when trying to emerge libghttp-1.0.9-r4, so,

Code:
nano -w /portage/gnome-base/libghttp/libghttp-1.0.9-r4.ebuild

gives me
Code:
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/libghttp/libghttp-1.0.9-r4.ebuild,v 1.13 2004/08/28 01:53:24 tgall Exp $

GNOME_TARBALL_SUFFIX="gz"
inherit libtool gnome.org eutils

DESCRIPTION="GNOME http client library"
LICENSE="LGPL-2 GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 ~mips ppc64"

HOMEPAGE="http://www.gnome.org/"

DEPEND="virtual/libc"
IUSE=""

src_unpack() {

   unpack ${A}

   cd ${S}
   # fixes http locale related bug (#33386)
   epatch ${FILESDIR}/${P}-fixlocale.patch

}

src_compile() {

   elibtoolize

   econf || die
   emake || die

}

src_install() {
   einstall || die

   # headers needed for Intermezzo (bug 11501)
   insinto /usr/include/ghttp-1.0/
   doins http*.h

   dodoc AUTHORS COPYING* ChangeLog README NEWS TODO
   dohtml doc/*.html
}


A quick look for the line as per vman's instructions shows

Code:
}

src_compile() {

   elibtoolize

   econf || die
   emake || die

}

which I changed to
Code:

}

src_compile() {

   libtoolize --copy --force

   econf || die
   emake || die

}

saved the changes, and then ran
Code:
ebuild /portage/gnome-base/libghttp/libghttp-1.0.9-r4.ebuild digest


I then emerged the package again and all compiled correctly. 8)
Back to top
View user's profile Send private message
justabssplyr
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 110

PostPosted: Thu May 12, 2005 12:52 pm    Post subject: Reply with quote

if it is occuring in many different packages, then it is more likely its the libtool eclass.

the only problem with changing the ebuilds locally is that they're gonna get overwritten on the next sync :|

i'll post a link to this thread on the bugzilla.
Back to top
View user's profile Send private message
Lunchy
n00b
n00b


Joined: 22 Aug 2003
Posts: 70
Location: Hartford, Wisconsin

PostPosted: Thu May 12, 2005 1:08 pm    Post subject: Reply with quote

justabssplyr wrote:
if it is occuring in many different packages, then it is more likely its the libtool eclass.

the only problem with changing the ebuilds locally is that they're gonna get overwritten on the next sync :|

i'll post a link to this thread on the bugzilla.


Yea, it happened to me with at least 2 gnome related ebuilds, one was the libghttp-1.0.9-r4 mentioned earlier. I can't remember off hand what the other one was, and I've since reformated, but I'd guess other ebuilds would have the problem also....
_________________
-Lunchy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum