Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1953 - KDELIBS Fails to Build
Summary: KDELIBS Fails to Build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-20 14:12 UTC by Sean P. Kane
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 Sean P. Kane 2002-04-20 14:12:05 UTC
I am running A Gentoo 1.1a system with X11 and Gnome. Anytime I try to install
something like xmms and kdelibs is required the comilation freezes for kdelibs
with the following:

------

i686-pc-linux-gnu-gcc -shared  .libs/fakes.o .libs/vsnprintf.o    -DNDEBUG -O2
-march=i686 -O3 -pipe -Wl,-soname -Wl,libkdefakes.so.4 -o .libs/libkdefakes.so.4.0.0
(cd .libs && rm -f libkdefakes.so.4 && ln -s libkdefakes.so.4.0.0 libkdefakes.so.4)
(cd .libs && rm -f libkdefakes.so && ln -s libkdefakes.so.4.0.0 libkdefakes.so)
creating libkdefakes.la
(cd .libs && rm -f libkdefakes.la && ln -s ../libkdefakes.la libkdefakes.la)
../dcop/dcopidl2cpp/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub ksycoca.kidl
../dcop/dcopidl2cpp/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub
kappdcopiface.kidl
creating libkdecore_la_meta_unload.cpp
creating libkdecore_la.all_cpp.cpp ...
source='libkdecore_la.all_cpp.cpp' object='libkdecore_la.all_cpp.lo' libtool=yes \
depfile='.deps/libkdecore_la.all_cpp.Plo'
tmpdepfile='.deps/libkdecore_la.all_cpp.TPlo' \
depmode=gcc /bin/sh ../admin/depcomp \
/bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio
-I../kio/kfile -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3/include  
-DQT_THREAD_SUPPORT  -D_REENTRANT   -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3
-pipe -fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o libkdecore_la.all_cpp.lo `test -f
libkdecore_la.all_cpp.cpp || echo './'`libkdecore_la.all_cpp.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../libltdl -I../kdecore -I../kdeui
-I../kio -I../kio/kio -I../kio/kfile -I/usr/qt/3/include -I/usr/X11R6/include
-I/usr/kde/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2
-march=i686 -O3 -pipe -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c
libkdecore_la.all_cpp.cpp -Wp,-MD,.deps/libkdecore_la.all_cpp.TPlo  -fPIC -DPIC
-o .libs/libkdecore_la.all_cpp.o
In file included from libkdecore_la.all_cpp.cpp:23:
kcharsets.cpp:420: warning: #warning FIXME?


----

It just sits here with no disk activity until I hit control-c to exit. The only
thing I can think is either because I am running Gnome and don't have KDE loaded
I actually need some other dependancy, or because my sound driver isn't loaded
at the moment and during bootup I do get one error about not being able to load
one of the NLS modules. Since the error is in kcharsets.cpp, I'm guessing that
it is a keyboard or font related problem?

Thanks,
Sean
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-04-23 15:35:59 UTC
This isn't a freeze. Just a long compile :-) 
We use the --enable-all configure parameter when compiling kdelibs. This dumps lots of cpp files into 
one bug fie and compiles it instaed. It results in better compile time overall, but instead of seeing 
for 30 minutes individual files being compiles, you just see one big file for 20 minutes, which can 
look like a freeze, but isn't. Disregard the #warning, it's always printed and is harmless. 
 
So: try waiting. For a p3-900 with 256MB ram (what I have), wait at least 15 minutes. Memory is 
crucial, so if you have only half as much, you'll have to wait twice as long. Try leaving it in the 
background for an hour and see if it makes any progress to be sure. 
 
If the --enable-all option really annoys you, you can edit /usr/portage/eclass/kde-base.eclass and 
delete the line that says 
myconf="$myconf --enable-all" 
...but it'll get back whenever you emerge rsync. Can't do anything about that. 
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-05-04 06:00:21 UTC
Hi, It's been brought up recently that with the default bugzilla user config, the submitter of a bug isn't mailed automatically when comments are added to that bug. So you may not have recieved my instructions. In that case please look at them now. Or tell me if the problem is no longer relevant. 
Comment 3 Sean P. Kane 2002-05-04 19:59:11 UTC
I had to rebuild my system an ran into a bunch of problems, and have not been 
able to retest this. I have my system back up so I will check this in the next 
few days.

Thanks,
Sean
Comment 4 Sean P. Kane 2002-05-06 18:12:21 UTC
I have since set my system to "use -kde" so this is no longer an immediate 
problem. If it shows up again and the suggested fix doesn't work, I'll let you 
know.

Thanks,
Sean
Comment 5 Claus Hjort 2002-05-15 15:27:45 UTC
Sorry, but it's NOT just a long compile... 
-> 2. time it comes with: 
"...In file included from libkdecore_la.all_cpp.cpp:23: 
kcharsets.cpp:420: warning: #warning FIXME?" 
 
It writes: 
cpp0:g++: output pipe has been closed 
Internal compiler error: program cc1plus got fatal signal 15 
{standard input}: Assembler messages: 
{standard input}:285453: Warning: end of file not at end of a line; newline inserted 
make[3]: *** [libkdecore_la.all_cpp.lo] Error 1 
make[3]: Leaving directory '/var/tmp/portage/kdelibs-3.0-r1/work/kdelibs-3.0/kdecore' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory '/var/tmp/portage/kdelibs-3.0-r1/work/kdelibs-3.0/kdecore' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory '/var/tmp/portage/kdelibs-3.0-r1/work/kdelibs-3.0' 
make: *** [all] Error 2 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Funktion kde_src_compile, Line -3694, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 
!!! emerge aborting on /var/tmp/portage/kdelibs-3.0-r1.ebuild . 
localhost root #  
 
Claus