Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12125 - Distcc build of koffice-1.2.1 (and KDE apps in general) fails.
Summary: Distcc build of koffice-1.2.1 (and KDE apps in general) fails.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 12542 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-13 16:51 UTC by Aniruddha Shankar
Modified: 2003-04-14 18:19 UTC (History)
2 users (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 Aniruddha Shankar 2002-12-13 16:51:58 UTC
distcc[2535] (dcc_scan_args) found object/output file "/usr/lib/crti.o"
distcc[2535] (dcc_scan_args) found object/output file "/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/crtbeginS.o"
distcc[2535] (dcc_scan_args) called for link?  i give up
distcc[2535] (dcc_lock_host) locked /var/tmp/portage/koffice-1.2.1/temp/distcc_00000000/lock_localhost_0000000
distcc[2535] (dcc_lock_one) compiler on localhost
distcc[2535] exec on localhost: g++ -shared -nostdlib /usr/lib/crti.o /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/crtbeginS.o .libs/koStore.o .libs/koTarStore.o .libs/koDirectoryStore.o .libs/koZipStore.o .libs/kozip.o .libs/kofilterdev.o -Wl,--rpath -Wl,/usr/kde/3/lib -Wl,--rpath -Wl,/usr/qt/3/lib -Wl,--rpath -Wl,/usr/X11R6/lib -L/usr/lib -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3 -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib /usr/kde/3/lib/libkio.so /usr/kde/3/lib/libkdeui.so /usr/kde/3/lib/libkdefx.so -lXrender /usr/kde/3/lib/libkdesu.so /usr/kde/3/lib/libkdecore.so /usr/kde/3/lib/libDCOP.so -lqt-mt -lpng -lX11 -lSM -lICE -lpthread -ldl -lXext -lresolv -lXinerama -lutil -lz /usr/lib/libfam.so -lstdc++ -lm -lc -lgcc -lc /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/crtendS.o /usr/lib/crtn.o g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=i686 -O3 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT -Wl,-soname -Wl,libkstore.so.2 -o .libs/libkstore.so.2.0.0
distcc[2535] (dcc_spawn_child) forking to execute g++ -shared -nostdlib /usr/lib/crti.o /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/crtbeginS.o .libs/koStore.o .libs/koTarStore.o .libs/koDirectoryStore.o .libs/koZipStore.o .libs/kozip.o .libs/kofilterdev.o -Wl,--rpath -Wl,/usr/kde/3/lib -Wl,--rpath -Wl,/usr/qt/3/lib -Wl,--rpath -Wl,/usr/X11R6/lib -L/usr/lib -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3 -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib /usr/kde/3/lib/libkio.so /usr/kde/3/lib/libkdeui.so /usr/kde/3/lib/libkdefx.so -lXrender /usr/kde/3/lib/libkdesu.so /usr/kde/3/lib/libkdecore.so /usr/kde/3/lib/libDCOP.so -lqt-mt -lpng -lX11 -lSM -lICE -lpthread -ldl -lXext -lresolv -lXinerama -lutil -lz /usr/lib/libfam.so -lstdc++ -lm -lc -lgcc -lc /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/crtendS.o /usr/lib/crtn.o g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=i686 -O3 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT -Wl,-soname -Wl,libkstore.so.2 -o .libs/libkstore.so.2.0.0
distcc[2535] (dcc_spawn_child) child started as pid2536
g++: g++: No such file or directory
distcc[2535] (dcc_collect_child) child 2536 terminated with status 0x100
distcc[2535] (dcc_report_rusage) g++ resource usage: 0.000000s user, 0.010000s system
distcc[2535] (dcc_critique_status) Notice: compile on twentyfive.complab failed with exit code 1
distcc[2535] (dcc_exit) Notice: exit: code 1; self: 0.010000 user 0.000000 sys; children: 0.000000 user 0.010000 sys
distcc[2535] (dcc_cleanup_tempfiles) deleted 0 temporary files
make[4]: *** [libkstore.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/koffice-1.2.1/work/koffice-1.2.1/lib/store'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/koffice-1.2.1/work/koffice-1.2.1/lib/store'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/koffice-1.2.1/work/koffice-1.2.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/koffice-1.2.1/work/koffice-1.2.1'
make: *** [all] Error 2

!!! ERROR: app-office/koffice-1.2.1 failed.
!!! Function kde_src_compile, Line -8427, Exitcode 2
!!! died running emake, kde_src_compile:make

In /etc/make.conf I have 
CC="distcc"
CXX="distcc g++"
MAKEOPTS="-j17"
DISTCC_VERBOSE=1

This is in compliance with the distcc documentation specific to Gentoo in 
http://distcc.samba.org/manual/html/distcc-2.html#ss2.11
Distcc builds fail on KDE apps 
According to http://distcc.samba.org/ distcc should be able to build KDE apps (and, I assume, by extension, Koffice.)

Aniruddha Shankar
Bangalore, India
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-03 03:52:21 UTC
*** Bug 12542 has been marked as a duplicate of this bug. ***
Comment 2 Henti Smith 2003-01-03 04:02:50 UTC
howdy :) 

Ok ... so far I have:
kde-base/arts-1.0.5a
kde-base/kdelibs-3.0.5a
kde-base/kdemultimedia-3.0.5a:
kde-base/kdegames-3.0.5a
kde-base/kdebase-3.0.5a

Have stopped testing since then ... will start again ASAP.
Comment 3 Bart Verwilst 2003-01-05 06:35:48 UTC
I don't know if this is really a gentoo bug.. any comments on this? 
Comment 4 Aniruddha Shankar 2003-01-05 08:14:23 UTC
I filed it here because according to the distcc webpage, kde apps seem to build properly without any hassles. It's specially relevant to gentoo because of the continuous compiling we do... not to mention the upcoming kde 3.1 final release.

Shall mail the distcc people and get back to you ... 

Aniruddha Shankar
Bangalore, India
Comment 5 Henti Smith 2003-01-05 08:46:57 UTC
The reason I filed the bug in the fisrt place was to find a way to reset the CC
and CXX vars for those that fail so I don't have to manually go and edit my
makefiles everytime I hit a non distcc compiling application.

I was in the process of getting all the apps I can find that does fail to see if 
adding some settings to the ebuild can fix it .. 

Anyway. I have not reported this to distcc yet, and right now it's not my top
priority. I would however like to suggest a new keyword in the ebuild, maybe
somthing like DISTCC="yes/no" and DISTMAKEOPTS to tell the compiler weather to
use the distcc settings or not, and if not use the default MAKEOPTS settings.

Basically the bug report was to geta round any automation disrupptions from
known distcc problem aps 

Henti 
Comment 6 Eric Andresen 2003-01-24 16:39:06 UTC
I'd recommend looking at bug #13897 and using distcc-1.0 which is also now in
portage (~x86 masked due to portage freeze). If you have any problems using this
solution, please comment on them.
Comment 7 Dan Armak (RETIRED) gentoo-dev 2003-01-31 07:16:12 UTC
zwelch seems to be on top of distcc things in bug #13897. I hope his distcc 1.1 ebuild will fix 
this problem. Meanwhile I don't have more than one computer, so can't really check distcc... 
Comment 8 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-12 08:35:41 UTC
is this resolved with new distcc (bug #13897 is fixed)? 
Comment 9 Eric Andresen 2003-02-12 13:06:31 UTC
The new ebuild of distcc (1.1-r8) should fully resolve this problem, as well as other known problems. With 1.1-r8, CC and CXX should NOT be changed from the initial values of 'gcc' and 'g++' respectively. Instead, user should add "distcc" to FEATURES in make.conf, or prepend /usr/lib/distcc/bin to PATH.
Comment 10 Dan Armak (RETIRED) gentoo-dev 2003-02-24 13:54:04 UTC
...the FEATURES way of doing things being better then the PATH one since emerge already has 
to have workarounds for distcc being in PATH, so let's do it the way carpaski would like. 
Aniruddha: please test the new distcc ebuild. 
Comment 11 Dan Armak (RETIRED) gentoo-dev 2003-04-14 18:19:39 UTC
Should be fixed (we're past distc 2.0 by now).