Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41050 - libtool / libgtk compilation error
Summary: libtool / libgtk compilation error
Status: RESOLVED DUPLICATE of bug 39576
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 17:07 UTC by Guibod
Modified: 2005-07-17 13:06 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 Guibod 2004-02-09 17:07:04 UTC
An error occurs regulary while trying to compile "kdenetwork" or "xmms" (I think that others ebuilds are affected). It seems that /usr/lib/libgtk.la isn't fine... I didn't managed to retreive the files original package.
This error occurs just after the use of 'ufed' to define tags (see make.conf)

I use a fresh rsync'ed ebuilds at this time.

>error message :
libtool: link: `/usr/lib/libgtk.la' is not a valid libtool archive

>Last lines
emerge world
<snip>
if test "$ret" = 0; then echo '#include "nowlisteningprefs.moc"' >> nowlisteningprefs.cpp; else rm -f nowlisteningprefs.cpp ; exit $ret ; fi
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
/bin/sh ../../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o kopete_nowlistening.la -rpath /usr/kde/3.2/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib  nowlisteningconfig.lo nowlisteningplugin.lo nlkscd.lo nlnoatun.lo nlxmms.lo nowlisteningguiclient.lo nljuk.lo ../../libkopete/libkopete.la -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lxmms
libtool: link: `/usr/lib/libgtk.la' is not a valid libtool archive
make[4]: *** [kopete_nowlistening.la] Erreur 1
make[4]: *** Attente des t
Comment 1 Guibod 2004-02-09 17:07:04 UTC
An error occurs regulary while trying to compile "kdenetwork" or "xmms" (I think that others ebuilds are affected). It seems that /usr/lib/libgtk.la isn't fine... I didn't managed to retreive the files original package.
This error occurs just after the use of 'ufed' to define tags (see make.conf)

I use a fresh rsync'ed ebuilds at this time.

>error message :
libtool: link: `/usr/lib/libgtk.la' is not a valid libtool archive

>Last lines
emerge world
<snip>
if test "$ret" = 0; then echo '#include "nowlisteningprefs.moc"' >> nowlisteningprefs.cpp; else rm -f nowlisteningprefs.cpp ; exit $ret ; fi
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
/bin/sh ../../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o kopete_nowlistening.la -rpath /usr/kde/3.2/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib  nowlisteningconfig.lo nowlisteningplugin.lo nlkscd.lo nlnoatun.lo nlxmms.lo nowlisteningguiclient.lo nljuk.lo ../../libkopete/libkopete.la -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lxmms
libtool: link: `/usr/lib/libgtk.la' is not a valid libtool archive
make[4]: *** [kopete_nowlistening.la] Erreur 1
make[4]: *** Attente des tâches non terminées....
make[4]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0/work/kdenetwork-3.2.0/kopete/plugins/nowlistening'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0/work/kdenetwork-3.2.0/kopete/plugins'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0/work/kdenetwork-3.2.0/kopete'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0/work/kdenetwork-3.2.0'
make: *** [all] Erreur 2







> MY make.conf

# Copyright 2000-2003 Daniel Robbins, Gentoo Technologies, Inc.
# Contains local system settings for Portage system
# $Header: /home/cvsroot/gentoo-src/portage/cnf/make.conf,v 1.62 2003/05/29 08:34:55 carpaski Exp $
 
USE="acpi alsa apache2 cdr -cups doc dvd -gnome gtk2 -kde lirc mozilla samba sse tetex tcltk"
ACCEPT_KEYWORDS="~x86"
 
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="${CFLAGS}"
 
ALSA_CARDS="emu10k1"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ "
XFREE_CARDS="radeon"
VIDEO_CARDS="radeon"
Comment 2 Caleb Shay 2004-02-09 20:38:03 UTC
Known issue, see bug 39576

You can work around it for now by manually fixing the broken .la files

grep "GNU  " /usr/lib/*.la
(note: that is GNU followed by 2 spaces)

The files that match need the second line fixed, where it says something like

# Generated by ltmain.sh - GNU  (1.122 blah blah)
it should say
# Generated by ltmain.sh - GNU libtool (1.122 blah blah)
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-11 11:50:05 UTC

*** This bug has been marked as a duplicate of 39576 ***