Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31403 - OpenOffice 1.1 needs dev-util/ccache!
Summary: OpenOffice 1.1 needs dev-util/ccache!
Status: RESOLVED DUPLICATE of bug 30636
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-18 04:54 UTC by Oliver Schneider
Modified: 2005-07-17 13:06 UTC (History)
4 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 Oliver Schneider 2003-10-18 04:54:27 UTC
I couldn't emerge OpenOffice 1.1. The last message had been something like this:
checking the operating system... checked (Linux)
checking for gcc... /usr/bin/ccache gcc
checking for C compiler default output... configure: error: C compiler cannot
create executables
See `config.log' for more details.

!!! ERROR: app-office/openoffice-1.1.0-r1 failed.
!!! Function src_compile, Line 369, Exitcode 77
!!! (no error message)

After istalling ccache with "emerge dev-util/ccache" it's compiling fine right now :-)

Hence, this dependency should be in the ebuild! May something like

DEPEND="${RDEPEND}
	app-shells/tcsh
	dev-util/ccache
	!app-office/openoffice-bin
	!sys-apps/star"

By the way: Good work :-) !!!!
Oli
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-10-18 07:57:38 UTC
maybe a bad gcc-config setting

did you unmerge ccache resently ?
Comment 2 Graham Hudspith 2003-10-18 09:14:18 UTC
I had the same problem as Oliver, and did the same fix.

What output do you want from gcc-config to determine whether or not it is
a
bad setting?

Never had ccache installed before, so "did an unmerge ccache recently" is
not an option.

Did notice that I had a /usr/bin/ccache directory, with lots of symlinks
from
various compilers to (a non-existant) ccache. Various postings in the forums
suggested just removing this directory before emerging openoffice 1.1.

Or doing an "emerge ccache" followed by an "unmerge ccache".

The "emerge ccache" seems to remove the /usr/bin/ccache directory and replace
it with a binary. Another ccache directory is then created in /usr/lib, and
this then has the various symlinks from compilers to the (now installed)
ccache
binary.

Perhaps the install for openoffice is searching for ccache in the PATH and
checking that it is executable? Would a directory in /usr/bin satisfy these
checks?

Two problems then (perhaps):

    * openoffice install is (optionally) dependent on ccache and fluffing
up
      the checks for its availability
    * the install for Gentoo 1.4 (actually, mine was from an RC of 1.4) seems
      to leave this partial install ccache "cruft" lying around confusing
      people and ebuilds alike

emerge of openoffice 1.0.3 did not have this problem, BTW.
Comment 3 SpanKY gentoo-dev 2003-10-18 11:40:53 UTC

*** This bug has been marked as a duplicate of 30636 ***