Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libtool problem on my macmini, cannot emerge anything.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Sun Sep 04, 2005 4:09 pm    Post subject: libtool problem on my macmini, cannot emerge anything. Reply with quote

Hi all,

yesterday I tried to update my system but I run into some problems.

This are the errors I get:
Code:
* Could not get VERSION for ltmain.sh!

or
Code:
checking for powerpc-unknown-linux-gnu-strip... powerpc-unknown-linux-gnu-strip
checking for correct ltmain.sh version... no

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

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.


!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/libtool-1.5.18-r1/work/libtool-1.5.18/config.log


I've searched the forum, this error normaly apears on special ebuilds. But here on my system it apears on every ebuild.

I tried to reemerge libtool but it won't compile because of the error above.

Code:
Portage 2.0.51.22-r2 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 ppc)
=================================================================
System uname: 2.6.12-gentoo-r4 ppc 7447A, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
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.6
sys-devel/binutils:  2.15.90.0.3-r5
sys-devel/libtool:   1.3.5, 1.5.18-r1
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-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/sha                                                                                                                  re/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo                                                                                                                   http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.                                                                                                                  mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="ppc X alsa arts artswrappersuid berkdb bitmap-fonts bluetooth cdr crypt cups curl directfb divx dvb dvd emboss fam flac                                                                                                                   fortran freetype gif gpm gtk gtk2 hbci java jpeg kde libwww mad motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl pam p                                                                                                                  df pdflib perl png python qt rdesktop readline samba sdl spell ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode                                                                                                                   vhosts vim-with-x vorbis xml2 xv xvid zlib video_cards_radeon linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


Does anybody know a solution for my problem?

Best regards,

Magnus
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Sun Sep 04, 2005 4:39 pm    Post subject: Re: libtool problem on my macmini, cannot emerge anything. Reply with quote

Never had that problem before, so I can't really help you out, but have you executed the step mentioned by the error ?
Code:

[...]
Please run:

  libtoolize --copy --force
[...]


Mfg

Sino
Back to top
View user's profile Send private message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Sun Sep 04, 2005 4:51 pm    Post subject: Reply with quote

Hi,

thank you very much for reply.

Code:
libtoolize --copy --force

Should be set inside the ebuild. If I run this on normal console I get this:
Code:
macmini ~ # libtoolize --copy --force
libtoolize: `configure.ac' does not exist
Try `libtoolize --help' for more information.


As I read in other postings, this fix only problems on some buged ebuilds. But here every ebuild "is buged".

Magnus
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Sep 04, 2005 5:25 pm    Post subject: Reply with quote

Yes, that should only be done by the ebuild. Perhaps you've got a problem with libtool itself, I've made a binary package for you:
http://dev.gentoo.org/~josejx/libtool-1.5.18-r1.tbz2

Could you also post your make.conf file?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Sun Sep 04, 2005 7:19 pm    Post subject: Reply with quote

Here is my make.conf:
Code:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"

USE="truetype -ipv6 acpi bluetooth cdr directfb dvd dvb freetype gpm -gnome java hbci svg samba -gtkhtml vim-with-x -esd artswrappersuid vorbis oggvorbis ogg arts rdesktop mysql pdf vhosts xvid divx avi -xmms"
AUTOCLEAN="yes"
MAKEOPTS="-j2"
LANG="de_DE@euro"
LANGUAGE="49"
LINGUAS="de"
VIDEO_CARDS="radeon"
ALSA_CARDS="powermac"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"


I will try your binary file .. brb

Magnus
Back to top
View user's profile Send private message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Sun Sep 04, 2005 7:29 pm    Post subject: Reply with quote

I unpacked your binary file in / with
Code:
tar jxfv libtool-1.5.18-r1.tbz2

and run ldconfig.

But emerge still fails.

I test it by emerging vlc (here fails libmpeg2), emerge -uD system (here fails gcc) and by emerging libtool it self.

I dont realy know why this problem apears, the installation run without any problem. The system is running stable, it must be an update I've run a few weeks ago.

Magnus
Back to top
View user's profile Send private message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Tue Sep 06, 2005 8:07 am    Post subject: Reply with quote

Hi,

I tried it by running bootstrap.sh again but it fails, too.

I don't want to set up the hole system again. Anyone got a solution?

Magnus
Back to top
View user's profile Send private message
MaGuS
Guru
Guru


Joined: 13 Jun 2002
Posts: 303
Location: Luebeck, Germany

PostPosted: Wed Sep 07, 2005 9:14 am    Post subject: Reply with quote

Could it be automake? Because I installed the above binary pkg with
Code:
emerge libtool -g --getbinpkgonly -v

But I still get this error.
Back to top
View user's profile Send private message
vap0rtranz
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2004
Posts: 121
Location: USA, Earth, Sol, Milk Way, ...

PostPosted: Fri Sep 16, 2005 12:17 am    Post subject: Reply with quote

Same issue here.

Code:
*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.18, ltmain.sh = 1.4.1) ***

Please run:

  libtoolize --copy --force


:( I was trying to fix gtk errors that some gui's spit out on the console. What got me to this issue was removing libtool-1.2.x because 1.5.x was already emerged. I (mistakenly) thought the old version safe to unemerge because eix didn't show it as up as supported (aka. fallacy of deprecation means unecessary, ugh!).

Any ideas?
_________________
"Here on the moon, our weekends are so advanced, they encompass the entire week." ~ Ignignokt
Back to top
View user's profile Send private message
jsnorman
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2005
Posts: 131

PostPosted: Fri Oct 28, 2005 10:49 pm    Post subject: Same here, on AMD64 Reply with quote

I am going to post my own on the amd64, but since I have the exact same problem, thought I would add my 2 cents and my emerge --info stuff. Hopefully this bug will be corrected, as I cannot emerge anything right now. Re-emerging libtool does not help as someone noted, I have tried the usual tricks (ldconfig, env-update).

Gentoo Base System version 1.12.0_pre9
Portage 2.0.53_rc6 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.$
=================================================================
System uname: 2.6.13-gentoo-r4 x86_64 AMD Opteron(tm) Processor 246 HE
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.13
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/shar$
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/d$
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d aac acpi aim aimextras alsa arts audiofile avi bash-completi$
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Sat Oct 29, 2005 5:13 pm    Post subject: Reply with quote

It worked for me by replacing 'elibtoolize' with 'libtoolize --copy --force' directly in the ebuild.
_________________
gentoo.ro
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
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