View previous topic :: View next topic |
Author |
Message |
vlack n00b
Joined: 01 Apr 2003 Posts: 59 Location: Austin, TX
|
Posted: Sat Feb 07, 2004 10:48 pm Post subject: KDE Compile Errors |
|
|
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 |
|
|
gareth Apprentice
Joined: 15 Nov 2003 Posts: 234 Location: UK
|
Posted: Sun Feb 08, 2004 8:19 pm Post subject: |
|
|
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
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
Hope this helps. |
|
Back to top |
|
|
vlack n00b
Joined: 01 Apr 2003 Posts: 59 Location: Austin, TX
|
Posted: Mon Feb 09, 2004 3:21 am Post subject: |
|
|
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 |
|
|
agrippa_cash Tux's lil' helper
Joined: 08 May 2003 Posts: 143 Location: Los Angeles
|
|
Back to top |
|
|
caleb Developer
Joined: 02 Jun 2003 Posts: 404
|
Posted: Tue Feb 10, 2004 9:27 pm Post subject: |
|
|
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 |
|
|
second_exodous Guru
Joined: 09 May 2003 Posts: 479 Location: Salt Lake City, UT USA
|
Posted: Tue Feb 10, 2004 10:17 pm Post subject: |
|
|
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 |
|
|
second_exodous Guru
Joined: 09 May 2003 Posts: 479 Location: Salt Lake City, UT USA
|
Posted: Tue Feb 10, 2004 10:42 pm Post subject: |
|
|
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 |
|
|
darfsnuzal n00b
Joined: 07 Aug 2003 Posts: 36
|
Posted: Wed Feb 11, 2004 12:36 am Post subject: |
|
|
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 |
|
|
second_exodous Guru
Joined: 09 May 2003 Posts: 479 Location: Salt Lake City, UT USA
|
Posted: Wed Feb 11, 2004 1:16 am Post subject: |
|
|
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 |
|
|
caleb Developer
Joined: 02 Jun 2003 Posts: 404
|
Posted: Wed Feb 11, 2004 1:17 am Post subject: |
|
|
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 |
|
|
vlack n00b
Joined: 01 Apr 2003 Posts: 59 Location: Austin, TX
|
Posted: Thu Feb 12, 2004 3:37 pm Post subject: |
|
|
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 |
|
|
mikeraach Apprentice
Joined: 20 Jan 2003 Posts: 168
|
Posted: Fri Feb 13, 2004 8:03 pm Post subject: |
|
|
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 |
|
|
Shienarier Apprentice
Joined: 16 Jun 2003 Posts: 278
|
Posted: Fri Feb 13, 2004 9:29 pm Post subject: |
|
|
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 |
|
|
Shienarier Apprentice
Joined: 16 Jun 2003 Posts: 278
|
Posted: Fri Feb 13, 2004 9:40 pm Post subject: |
|
|
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 |
|
|
mikeraach Apprentice
Joined: 20 Jan 2003 Posts: 168
|
Posted: Fri Feb 13, 2004 10:05 pm Post subject: |
|
|
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 |
|
|
Shienarier Apprentice
Joined: 16 Jun 2003 Posts: 278
|
Posted: Sat Feb 14, 2004 11:48 am Post subject: |
|
|
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 |
|
|
Shienarier Apprentice
Joined: 16 Jun 2003 Posts: 278
|
Posted: Sat Feb 14, 2004 1:24 pm Post subject: |
|
|
/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 |
|
|
semiSfear Guru
Joined: 08 Jul 2003 Posts: 302 Location: Adelaide, SA
|
Posted: Sat Feb 14, 2004 2:23 pm Post subject: |
|
|
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 |
|
|
Vide Apprentice
Joined: 20 Nov 2003 Posts: 201 Location: Barcelona
|
Posted: Sat Feb 14, 2004 2:56 pm Post subject: |
|
|
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 |
|
|
semiSfear Guru
Joined: 08 Jul 2003 Posts: 302 Location: Adelaide, SA
|
Posted: Sat Feb 14, 2004 2:58 pm Post subject: |
|
|
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 |
|
|
salog n00b
Joined: 14 Feb 2004 Posts: 10
|
Posted: Sat Feb 14, 2004 4:48 pm Post subject: |
|
|
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 |
|
|
amanset n00b
Joined: 02 Nov 2002 Posts: 16 Location: Stockholm, Sweden
|
Posted: Sat Feb 14, 2004 4:51 pm Post subject: |
|
|
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 |
|
|
sorg Tux's lil' helper
Joined: 18 Dec 2003 Posts: 135
|
Posted: Sat Feb 14, 2004 5:00 pm Post subject: Astuce: Une mise en forme peut etre appliquee au texte selec |
|
|
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 |
|
|
|