Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38005 - Trying to build kdelibs-3.1.4 using distcc failes
Summary: Trying to build kdelibs-3.1.4 using distcc failes
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 14:19 UTC by Michael Cook
Modified: 2004-03-16 05:27 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 Michael Cook 2004-01-12 14:19:09 UTC
When atempting to build kdelibs it fails. I've tried three times and it fails with the same message every time. The odd thing is that each time it seems to get further than the previous (based on ccache always gets new cache misses before the error ends up comming up, so it must be getting farther each time).

Reproducible: Always
Steps to Reproduce:
As root try to emerge KDE. kdelibs is the first packaged it builds in the dependencies.
Actual Results:  
Builds for a while (long while) and then fails. Here's what's left on my 
console:

/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -
I. -I. -I../.. -I/usr/kde/3.1/include/arts -I../../arts/kde/lib -I../.. -
I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -
I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -
I/usr/X11R6/include -I/usr/kde/3.1/include   -DQT_THREAD_SUPPORT  -
D_REENTRANT   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -
Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-
align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -mcpu=pentium3 -funroll-loops -
pipe -fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -
DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o kdatarequest_impl.lo `test -
f 'kdatarequest_impl.cpp' || echo './'`kdatarequest_impl.cpp
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -
I. -I. -I../.. -I/usr/kde/3.1/include/arts -I../../arts/kde/lib -I../.. -
I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -
I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -
I/usr/X11R6/include -I/usr/kde/3.1/include   -DQT_THREAD_SUPPORT  -
D_REENTRANT   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -
Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-
align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -mcpu=pentium3 -funroll-loops -
pipe -fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -
DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o kaudioconverter.lo `test -
f 'kaudioconverter.cc' || echo './'`kaudioconverter.cc
distcc[31029] ERROR: compile on localhost failed
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [kplayobjectfactory.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.1.4/work/kdelibs-
3.1.4/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.1.4/work/kdelibs-
3.1.4/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4'
make: *** [all] Error 2

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

bash-2.05b# 

Expected Results:  
The build should continue and finish correctly.

The system is running on my laptop (P3 933) under VMWare. I'm under X with twm. 
The only programs that are being run are an XTerm with the emerge in it, the 
distccmon-gnome program, and vmware-toolbox. This is a fresh install (that I'm 
still working on). Versions of stuff:

GCC: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
distcc: distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
  built Jan 11 2004 22:13:26
ccache: ccache, a compiler cache. Version 2.3

Tell me if you need more.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-01-18 08:14:49 UTC
too aggressive cflags, bad glibc, bad hardware, not enough swap, gcc bug lots of things could be causing this.  you could always try it without distcc and see if that helps too.
Comment 2 Michael Cook 2004-01-18 09:56:54 UTC
My CFLAGS are all default, and I'm running in VMWare with a ton of RAM and swap, so I don't know what the problem was. But the new version (3.1.5) had no problems. Go figure.
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2004-02-09 06:06:14 UTC
Can we close this? 3.1.5 supersedes 3.1.4 and the newer version seems to work.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-03-16 05:27:25 UTC
yep - it's some kind of local hardware problem.