Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4589 - emerge fails for kdelibs
Summary: emerge fails for kdelibs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-05 12:59 UTC by John McCawley
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 John McCawley 2002-07-05 12:59:10 UTC
I am running Gentoo 1.2 on an AMD K7 1800 machine with 128 megs of ram and 256
megs of swapspace.  I have about 2 gigs free on my HD.  I've successfully
emerged X11, Gnome, and several other large packages, but KDE will not emerge
properly.  I've tried doing an emerge rsync, but the problem persists.  Below is
the tail of the output from the emerge:



make[3]: Entering directory
`/var/tmp/portage/kdelibs-3.0.2/work/kdelibs-3.0.2/kdecore'
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 -O2 -mcpu=i686 -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
-O2 -mcpu=i686 -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?
cpp0: output pipe has been closed
{standard input}: Assembler messages:
{standard input}:330044: Warning: end of file not at end of a line; newline inserted
{standard input}:330455: Error: no such instruction: `p'
g++: Internal compiler error: program cc1plus got fatal signal 15
make[3]: *** [libkdecore_la.all_cpp.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdelibs-3.0.2/work/kdelibs-3.0.2/kdecore'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.0.2/work/kdelibs-3.0.2/kdecore'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.0.2/work/kdelibs-3.0.2'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -3844, Exitcode 2
!!! died running emake, kde_src_compile:make

!!! emerge aborting on  /usr/portage/kde-base/kdelibs/kdelibs-3.0.2.ebuild .
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-07-09 14:52:11 UTC
I'd say you were running out of memory. 256+128 MB ram is little, especially 
for a machine of your caliber (judging by the processor at least). 
If I'm right this should solve the problem: edit 
/usr/portage/eclass/kde-dist.eclass and remove or comment out the line that 
says myconf=""$myconf --enable-final". Also consider removing -pipe from your 
optimization flags in make.conf (-pipe holds temporary files in emmory instead 
of writing them to disk). Try watching or logging your memory usage while 
emerging to see if it reaches the upper limit. 
Comment 2 John McCawley 2002-07-22 18:46:14 UTC
I tried what you said and it kept up, so I ran top like you also suggested.  It
turned out that my swapspace wasn't activated.  I tured it on and the problem
seems solved (currently emerging, but it previously bombed out VERY fast).
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-07-26 16:05:52 UTC
OK, that's a good solution :-) Closing, fixed.