Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31773 - OpenOffice.org 1.1.0: configure: error: cannot compute suffix of object files: cannot compile
Summary: OpenOffice.org 1.1.0: configure: error: cannot compute suffix of object files...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-22 15:01 UTC by Juergen Nagel
Modified: 2004-02-03 12:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,8.29 KB, text/x-log)
2003-10-22 15:02 UTC, Juergen Nagel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Nagel 2003-10-22 15:01:17 UTC
When I try to emerge OOo 1.1.0, I get the following output: 
 
bash-2.05b# LANGUAGE=49 emerge openoffice 
Calculating dependencies ...done! 
>>> emerge (1 of 1) app-office/openoffice-1.1.0 to / 
>>> md5 src_uri ;-) OOo_1.1.0_source.tar.bz2 
>>> md5 src_uri ;-) gpc231.tar.Z 
>>> md5 src_uri ;-) freetype-2.1.4.tar.bz2 
 * **************************************************************** 
 *  It is important to note that OpenOffice.org is a very fragile 
 *  build when it comes to CFLAGS.  A number of flags have already 
 *  been filtered out.  If you experience difficulty merging this 
 *  package and use agressive CFLAGS, lower the CFLAGS and try to 
 *  merge again. 
 * **************************************************************** 
>>> Unpacking source... 
>>> Unpacking OOo_1.1.0_source.tar.bz2 to 
/var/tmp/portage/openoffice-1.1.0/work 
>>> Unpacking gpc231.tar.Z to /var/tmp/portage/openoffice-1.1.0/work 
 * Applying newstlportfix.patch...                                                                                                                    
[ ok ] 
 * Applying no-mozab.patch...                                                                                                                         
[ ok ] 
 * Fixing makefiles for multiprocess builds... 
>>> Source unpacked. 
/usr/sbin/ebuild.sh: line 357: [: too many arguments 
 * Configuring OpenOffice.org with language support for German... 
******************************************************************** 
*                                                                  * 
*   OpenOffice.org build configuration.                            * 
*                                                                  * 
*   The configure proces checks your platform to see whether       * 
*   you can build OpenOffice.org on it.                            * 
*   This proces checks all pre-requisites and generates a file     * 
*   containing the necessary environment variables.                * 
*   Source this file after configure has ended successfully.       * 
*                                                                  * 
*   Any warning that is generated during the configure process     * 
*   must be taken into account, since it can be a reason for       * 
*   an unsuccessfull build of OpenOffice.org                       * 
*                                                                  * 
******************************************************************** 
******************************************************************** 
*                                                                  * 
*   Checking the platform pre-requisites.                          * 
*                                                                  * 
******************************************************************** 
checking for gawk... gawk 
checking for gawk... /bin/gawk 
checking for sed... /bin/sed 
checking the operating system... checked (Linux) 
checking for gcc... distcc /usr/bin/ccache gcc 
checking for C compiler default output... a.out 
checking whether the C compiler works... yes 
checking whether we are cross compiling... no 
checking for suffix of executables... 
checking for suffix of object files... configure: error: cannot compute suffix 
of object files: cannot compile 
See `config.log' for more details. 
 
!!! ERROR: app-office/openoffice-1.1.0 failed. 
!!! Function src_compile, Line 376, Exitcode 1 
!!! (no error message) 
 
I've attached the config.log to this bug. 
As far as I can see, the problem seems to come from the concurrent invocation 
of distcc, ccache and gcc. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.20-gentoo-r7) 
================================================================= 
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) XP 2100+ 
Gentoo Base System version 1.4.3.10p1 
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] 
ccache version 2.3 [enabled] 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox autoaddcvs distcc ccache" 
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo 
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo  
http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/portage.local" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="x86 apm foomaticdb jpeg libg++ mad mikmod nls spell svga pam libwww xosd 
doc tcltk moznocompose tetex artswrappersuid mozsvg mozcalendar nptl -aalib 
mpeg X gtk gtk2 -gnome alsa gif opengl avi png tiff encode postgres truetype 
ipv6 ggi acpi cdr xml crypt cups slp sse usb wmf xmms xv zlib dga ethereal xml2 
quicktime ruby samba scanner mysql ncurses odbc -oss pdflib pic -evo dvd 
gphoto2 imap java lcms ldap mozilla slang readline -gpm berkdb mmx 3dnow gdbm 
-tcpd ssl arts perl python -esd imlib sdl oggvorbis qt kde motif snmp xinerama 
xvid"
Comment 1 Juergen Nagel 2003-10-22 15:02:41 UTC
Created attachment 19639 [details]
config.log
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-30 11:48:24 UTC
You are using distcc and ccache. Make sure that ccache is installed on all
distcc hosts or that you disable either ccache or distcc.
Comment 3 Heiko Wundram 2004-01-22 07:13:37 UTC
You need to reverse the order of /usr/bin/ccache and distcc for the build to successfully run. Please change the ebuild. It should always be:

/usr/bin/ccache /usr/bin/distcc gcc <options>

as we don't want the cached data to be stored on each of the distcc nodes, but rather only on the main node.
Comment 4 Lance Albertson (RETIRED) gentoo-dev 2004-01-29 06:30:33 UTC
I agree with comment #3. I just changed the order in the ebuild and it seems to be working now (still going). At least it didn't stop where it did before. Hopefully this build will finish so I know for sure!
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2004-02-03 12:35:24 UTC
This is now fixed in portage, this part wasn't necessary anymore and caused problems, distcc should now work "out of the box"
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2004-02-03 12:35:50 UTC
closing