Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE Compile Errors
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
vlack
n00b
n00b


Joined: 01 Apr 2003
Posts: 59
Location: Austin, TX

PostPosted: Sat Feb 07, 2004 10:48 pm    Post subject: KDE Compile Errors Reply with quote

When I try to upgrade to KDE 3.2.0, I get a compilation error. I've looked at various other threads, and I've tried various versions of KDE coupled with various versions of autoconf (a few people said that autoconf was the problem), and nothing seems to be fixed. So, any ideas, people? (For this particular error I was using autoconf-2.58 )

Code:
/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-tbird -mmmx -m3dnow -pipe -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 kded.la -rpath /usr/kde/3.2/lib/kde3 -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -module -avoid-version kded_dummy.lo libkdeinit_kded.la
make[2]: *** [kded.la] Segmentation fault
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/kded'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


Thanks!
Back to top
View user's profile Send private message
gareth
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 234
Location: UK

PostPosted: Sun Feb 08, 2004 8:19 pm    Post subject: Reply with quote

I had a similar problem a few days ago while compiling KDE. After many retries I raised a Gentoo bug, only to be told to alter my CFLAGS :oops:
Mine were not optimised for my Pentium3 (they were -march=i686 instead of -march=pentium3). I also had '-O3' set, and after changing that to '-O2' it compiled first time 8)
Hope this helps.
Back to top
View user's profile Send private message
vlack
n00b
n00b


Joined: 01 Apr 2003
Posts: 59
Location: Austin, TX

PostPosted: Mon Feb 09, 2004 3:21 am    Post subject: Reply with quote

Actually, right now my CFLAGS are ultra-conservative.
Code:
CFLAGS="-march=athlon-tbird -mmmx -m3dnow -pipe"


Any other suggestions (I wish it was that easy... :) )
Back to top
View user's profile Send private message
agrippa_cash
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2003
Posts: 143
Location: Los Angeles

PostPosted: Mon Feb 09, 2004 4:46 am    Post subject: Reply with quote

I am trying the solution proposed here: https://forums.gentoo.org/viewtopic.php?t=132550&highlight=autom4te

It seems to be a fairly common problem.
Back to top
View user's profile Send private message
caleb
Developer
Developer


Joined: 02 Jun 2003
Posts: 404

PostPosted: Tue Feb 10, 2004 9:27 pm    Post subject: Reply with quote

Your problem isnt related to -java or autoconf/autom4te, it's just the compiler segfaulting. I would tone the cflags down even more and try it again. The athlon-tbird is a lesser supported processor, so chances are that gcc is more likely to fault on it.

I'd try it with CFLAGS="" and see if it can at least get past where it's stuck now. You can always emerge it later with better flags than that if you want.
Back to top
View user's profile Send private message
second_exodous
Guru
Guru


Joined: 09 May 2003
Posts: 479
Location: Salt Lake City, UT USA

PostPosted: Tue Feb 10, 2004 10:17 pm    Post subject: Reply with quote

Alrighty, I was getting the same error and just took my CFLAGS out so it was CFLAGS="" and I'm still getting the same error.

Um, wait, I know I was getting this error before:

Code:
!!! ERROR: kde-base/kdelibs-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


I pasted that in gedit to make sure I wouldn't forget, but that doesn't tell me if I was getting a Segmentation fault or not, now I'm getting this error:

Code:
/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 -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 libartskde.la -rpath /usr/kde/3.2/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 3:0:2 artskde.lo kioinputstream_impl.lo kplayobject.lo kplayobjectfactory.lo kartsfloatwatch.lo kartsdispatcher.lo kaudiorecordstream.lo kaudioplaystream.lo kartsserver.lo kdatarequest_impl.lo kaudioconverter.lo kvideowidget.lo kplayobjectcreator.lo kaudiomanagerplay.lo ../../kio/libkio.la -lqtmcop -lsoundserver_idl
grep: /var/tmp/portage/libmad-0.15.0b-r1/image//usr/lib/libmad.la: No such file or directory
/bin/sed: can't read /var/tmp/portage/libmad-0.15.0b-r1/image//usr/lib/libmad.la: No such file or directory
libtool: link: `/var/tmp/portage/libmad-0.15.0b-r1/image//usr/lib/libmad.la' is not a valid libtool archive
make[3]: *** [libartskde.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0'
make: *** [all] Error 2
 
!!! ERROR: kde-base/kdelibs-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


I pasted a little more, I can't see Segmentation fault anywhere, so do I have the same problem? my CFLAGS are
Quote:
CFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe -mmmx -msse -mfpmath=sse,387 -ffast-math"
is there any problem with them? They worked on gnome and everything else I compiled.

I'll put my CFLAGS back and see what errors I get and see if they're the same as above.

Thanx,
Stan
Back to top
View user's profile Send private message
second_exodous
Guru
Guru


Joined: 09 May 2003
Posts: 479
Location: Salt Lake City, UT USA

PostPosted: Tue Feb 10, 2004 10:42 pm    Post subject: Reply with quote

Hmm, looks like the same with my CFLAGS in:

Code:
BUG -DNO_DEBUG -O2 -march=pentium4 -O3 -fomit-frame-pointer -pipe -mmmx -msse -mfpmath=sse,387 -ffast-math -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  -c -o kioinputstream_impl.lo `test -f 'kioinputstream_impl.cpp' || echo './'`kioinputstream_impl.cpp
/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=pentium4 -O3 -fomit-frame-pointer -pipe -mmmx -msse -mfpmath=sse,387 -ffast-math -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 libartskde.la -rpath /usr/kde/3.2/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 3:0:2 artskde.lo kioinputstream_impl.lo kplayobject.lo kplayobjectfactory.lo kartsfloatwatch.lo kartsdispatcher.lo kaudiorecordstream.lo kaudioplaystream.lo kartsserver.lo kdatarequest_impl.lo kaudioconverter.lo kvideowidget.lo kplayobjectcreator.lo kaudiomanagerplay.lo ../../kio/libkio.la -lqtmcop -lsoundserver_idl
grep: /var/tmp/portage/libmad-0.15.0b-r1/image//usr/lib/libmad.la: No such file or directory
/bin/sed: can't read /var/tmp/portage/libmad-0.15.0b-r1/image//usr/lib/libmad.la: No such file or directory
libtool: link: `/var/tmp/portage/libmad-0.15.0b-r1/image//usr/lib/libmad.la' is not a valid libtool archive
make[3]: *** [libartskde.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0'
make: *** [all] Error 2
 
!!! ERROR: kde-base/kdelibs-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


This is weird:

Quote:
can't read /var/tmp/portage/libmad-0.15.0b-r1/image//usr/lib/libmad.la: No such file or directory


Is that bad? I emerge synced a few hours ago, and haven't since I've been trying to install KDE. Is that error the problem for me?

Thanx,
Stan
Back to top
View user's profile Send private message
darfsnuzal
n00b
n00b


Joined: 07 Aug 2003
Posts: 36

PostPosted: Wed Feb 11, 2004 12:36 am    Post subject: Reply with quote

This is a long shot, but is /var/tmp out of disk space? I've had /var/tmp run out of disk space and had compiles die before. Sometimes an obvious error message doesn't pop up...
_________________
"Born to Compile"
Back to top
View user's profile Send private message
second_exodous
Guru
Guru


Joined: 09 May 2003
Posts: 479
Location: Salt Lake City, UT USA

PostPosted: Wed Feb 11, 2004 1:16 am    Post subject: Reply with quote

Hmm, I hadn't thought of that. I have 80 gigs, and have 41 gigs on hda3, won't it expand untill that runs out?

I'm doing a -u world right now, I needed to anyway. It's 7 packages into the emerge and no trouble so far.

Thanx,
Stan
Back to top
View user's profile Send private message
caleb
Developer
Developer


Joined: 02 Jun 2003
Posts: 404

PostPosted: Wed Feb 11, 2004 1:17 am    Post subject: Reply with quote

Nah, one of your libtool (.la) files is messed up and is pointing to a non-existant file. Not sure which one, try doing something like:

grep "/var/tmp" /usr/lib/*.la

and seeing if you can identify which one.
Back to top
View user's profile Send private message
vlack
n00b
n00b


Joined: 01 Apr 2003
Posts: 59
Location: Austin, TX

PostPosted: Thu Feb 12, 2004 3:37 pm    Post subject: Reply with quote

I tried with CFLAGS="", still having my compiler segfault.
I checked my PORTAGE_TMPDIR and there's no way it's running out of space... and that other thing about libtool didn't really apply to me, but I checked it anyway... nothing.

ANy other help guys? It's very appreciated :)
Back to top
View user's profile Send private message
mikeraach
Apprentice
Apprentice


Joined: 20 Jan 2003
Posts: 168

PostPosted: Fri Feb 13, 2004 8:03 pm    Post subject: Reply with quote

second_exodous wrote:
Hmm, looks like the same with my CFLAGS in:

Code:

grep: /var/tmp/portage/libmad-0.15.0b-r1/image//usr/lib/libmad.la: No such file or directory
/bin/sed: can't read /var/tmp/portage/libmad-0.15.0b-r1/image//usr/lib/libmad.la: No such file or directory
libtool: link: `/var/tmp/portage/libmad-0.15.0b-r1/image//usr/lib/libmad.la' is not a valid libtool archive
make[3]: *** [libartskde.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0'
make: *** [all] Error 2
 
!!! ERROR: kde-base/kdelibs-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make



I get the same error as you (libmad.la not a valid libtool). I've tried qt 3.3, qt 3.2, libtool 1.5.2-r3

Here is my grep "/var/tmp" /usr/lib/*.la output:
/usr/lib/libfam.la:libdir='/var/tmp/portage/fam-2.7.0/image//usr/lib'
/usr/lib/libid3tag.la:libdir='/var/tmp/portage/libid3tag-0.15.0b/image//usr/lib'
/usr/lib/libmad.la:libdir='/var/tmp/portage/libmad-0.15.0b-r1/image//usr/lib'
Back to top
View user's profile Send private message
Shienarier
Apprentice
Apprentice


Joined: 16 Jun 2003
Posts: 278

PostPosted: Fri Feb 13, 2004 9:29 pm    Post subject: Reply with quote

I got the same error (the later one, the one with recursive errors).
I get nothing from grep "/var/tmp" /usr/lib/*.la.

This is my CFLAGS:
Code:
CFLAGS="-O2 -march=athlon-xp -pipe -fstack-protector"
Back to top
View user's profile Send private message
Shienarier
Apprentice
Apprentice


Joined: 16 Jun 2003
Posts: 278

PostPosted: Fri Feb 13, 2004 9:40 pm    Post subject: Reply with quote

By the way, i notice that most of you guys gets an answer from greping with two slashes (//) right before usr. Could that be the problem?
Back to top
View user's profile Send private message
mikeraach
Apprentice
Apprentice


Joined: 20 Jan 2003
Posts: 168

PostPosted: Fri Feb 13, 2004 10:05 pm    Post subject: Reply with quote

Shienarier wrote:
By the way, i notice that most of you guys gets an answer from greping with two slashes (//) right before usr. Could that be the problem?


Ya, I've noticed that too, but I have no idea how to fix it


Also, I know it is not my CFLAGS becuase I have another gentoo install on this system and it was able to emerge kdelibs 3.2.0 just fine and I use the same exact make.conf on both.
Back to top
View user's profile Send private message
Shienarier
Apprentice
Apprentice


Joined: 16 Jun 2003
Posts: 278

PostPosted: Sat Feb 14, 2004 11:48 am    Post subject: Reply with quote

It seems like a problem that arises when you combine two strings and the first one ends with and the second one starts with a /.

From the result
'/var/tmp/portage/fam-2.7.0/image//usr/lib'

Try and look for the strings "/var/tmp/portage/fam-2.7.0/image/" and
"/usr/lib" in the relevant places.
Back to top
View user's profile Send private message
Shienarier
Apprentice
Apprentice


Joined: 16 Jun 2003
Posts: 278

PostPosted: Sat Feb 14, 2004 1:24 pm    Post subject: Reply with quote

/usr/qt/3/.qmake.cache seems to be the badguy here. Look in that file and i think that you will understand.
Back to top
View user's profile Send private message
semiSfear
Guru
Guru


Joined: 08 Jul 2003
Posts: 302
Location: Adelaide, SA

PostPosted: Sat Feb 14, 2004 2:23 pm    Post subject: Reply with quote

Shienarier wrote:
/usr/qt/3/.qmake.cache seems to be the badguy here. Look in that file and i think that you will understand.


Indeed. One thing I don't understand. It seems like only a few people got this problem. But while looking at .qmake.cache it would seem that everyone who tries to emerge or upgrade KDE would have this problem. Why is then only some people having this problem? As it seems to be a great mistake by the developers (or package maintainers, not trying to blame anyone).
_________________
DnB is my religion, Jungle is my church.
Back to top
View user's profile Send private message
Vide
Apprentice
Apprentice


Joined: 20 Nov 2003
Posts: 201
Location: Barcelona

PostPosted: Sat Feb 14, 2004 2:56 pm    Post subject: Reply with quote

I've got the same missing .la problem (but in other location) while trying to compile KDE3.2..how can I fix it? :(
_________________
http://www.heavy-metal.it
Metal, hard rock and much more..
Back to top
View user's profile Send private message
semiSfear
Guru
Guru


Joined: 08 Jul 2003
Posts: 302
Location: Adelaide, SA

PostPosted: Sat Feb 14, 2004 2:58 pm    Post subject: Reply with quote

So far nobody can. I am emergeing Gnome while waiting on a proper fix for this problem. Someone has made a big mistake while releasing this package.
_________________
DnB is my religion, Jungle is my church.
Back to top
View user's profile Send private message
salog
n00b
n00b


Joined: 14 Feb 2004
Posts: 10

PostPosted: Sat Feb 14, 2004 4:48 pm    Post subject: Reply with quote

well i got a similiar problem, and i ve got no idea how to solve it:

Code:

libtool: link: warning: library `/usr/qt/3/lib/libqt-mt.la' was moved.
grep: /var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la: No such file or directory
/bin/sed: can't read /var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la: No such file or directory
libtool: link: `/var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la' is not a valid libtool archive
make[3]: *** [libartskde.la] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts/kde'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0'
make: *** [all] Fehler 2

!!! ERROR: kde-base/kdelibs-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make
Back to top
View user's profile Send private message
amanset
n00b
n00b


Joined: 02 Nov 2002
Posts: 16
Location: Stockholm, Sweden

PostPosted: Sat Feb 14, 2004 4:51 pm    Post subject: Reply with quote

salog wrote:
well i got a similiar problem, and i ve got no idea how to solve it:


https://forums.gentoo.org/viewtopic.php?t=136531

The claims are that in the new ebuild it is fixed. I haven't tested it yet due to compiling X.
Back to top
View user's profile Send private message
sorg
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 135

PostPosted: Sat Feb 14, 2004 5:00 pm    Post subject: Astuce: Une mise en forme peut etre appliquee au texte selec Reply with quote

salog wrote:
well i got a similiar problem, and i ve got no idea how to solve it:

Code:

libtool: link: warning: library `/usr/qt/3/lib/libqt-mt.la' was moved.
grep: /var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la: No such file or directory
/bin/sed: can't read /var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la: No such file or directory
libtool: link: `/var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la' is not a valid libtool archive
make[3]: *** [libartskde.la] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts/kde'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/arts'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0'
make: *** [all] Fehler 2

!!! ERROR: kde-base/kdelibs-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


I got exactly the same problem on a completely new and clean system, freshly emerge synced...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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