Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 11612

Summary: openoffice-1.0.1-r2 does'nt compile with gcc 3.2
Product: Gentoo Linux Reporter: Arnaud Boudou <skuldeuh>
Component: Current packagesAssignee: Seth Chandler <sethbc>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arnaud Boudou 2002-12-05 02:25:28 UTC
When I try to emerge openoffice-1.0.1-r2 with gcc 3.2, I get the following 
error: 
 
ln -s libgcc_s.so.1 ../unxlngi4.pro/bin/udk3.0.1/linux/lib/libgcc_s.so
dmake:  Error --
`/var/tmp/portage/openoffice-1.0.1-
r2/work/oo_1.0.1_src/solver/641/unxlngi4.pro/lib/libstdc++.so.5.0.1'
not found, and can't be made
---* RULES.MK *---

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-1.0.1-r2/work/oo_1.0.1_src/product/util

!!! ERROR: app-office/openoffice-1.0.1-r2 failed.
!!! Function src_compile, Line 254, Exitcode 1
!!! Build failed!
Comment 1 Arnaud Boudou 2002-12-06 07:57:02 UTC
I'm not we could close this bug.
I still have this build failure.
Comment 2 Seth Chandler 2002-12-06 14:30:17 UTC
rsync and try again, it should be fixed
Comment 3 Arnaud Boudou 2002-12-07 02:11:39 UTC
I synced and tried again, and I still have the same error
Comment 4 Seth Chandler 2002-12-07 02:56:18 UTC
are you on irc?  if you are hit me up on irc.openproject.net in #gentoo

I think my current fix should work...i just updated the build agian, i was
making the symlink 1 directory too low...i guess try one more time...thanks for
all your input ;-)
Comment 5 Arnaud Boudou 2002-12-08 10:43:39 UTC
I rsync, got a new ebuild, but I still have the same error
Comment 6 Seth Chandler 2002-12-08 14:56:08 UTC
hrm alright...let me go about solving this another way then....are you totally 
up to date with ~x86? it would seem to me you don't have the latest gcc...I'm 
gonna give it a shot over here and see what the deal is...


seth
Comment 7 Arnaud Boudou 2002-12-08 15:21:22 UTC
skuld@skuld# sudo emerge -up --deep world

These are the packages that I would merge, in order.

Calculating world dependencies ...done!
[ebuild    U ] app-office/openoffice-1.0.1-r2

skuld@skuld# sudo emerge -s gcc
Searching...
[ Results for search key : gcc ]
[ Applications found : 4 ]

...

*  sys-devel/gcc
      Latest version available: 2.95.3-r7 <-- I'm using a Gentoo 1.2
      Latest version installed: 3.2-r2
      Size of downloaded files: 12,609 kB

Comment 8 Seth Chandler 2002-12-08 16:20:15 UTC
hrm, is it not telling you you're not allowed to install OOo?  the build is 
only supported for GCC 3.2...it should say that at the beginning of the 
ebuild...

if you need OOo please install openoffice-bin, or upgrade to a 1.4 machine 
(the instructions are on www.gentoo.org)

Comment 9 Arnaud Boudou 2002-12-09 00:37:02 UTC
My current OpenOffice build forced me to install gcc 3.2-r2, then used it to
emerge itself.

OpenOffice 1.0.1-r2 also use my gcc 3.2, but fails during emerge process (after
4 hours)
Comment 10 Seth Chandler 2002-12-09 00:54:56 UTC
open office in no way forces you to install gcc 3.2...that is explicitly why i 
do not put them in the depends.  Further more, the instructions in the ebuild 
say to use the most recent version of gcc, which is at this point gcc 3.2.1-
r5...

it would be much simpler for you to install openoffice-bin.  I understand 
you'd like to compile this from source, but as i said before you should try 
and do that from a 1.4rc machine.  Simply emerging gcc 3.2 could have horrible 
effects on your system, even though it is slotted.  

again, let me recommend that untill you get a 1.4 box, you install openoffice-
bin
Comment 11 Arnaud Boudou 2002-12-09 01:20:20 UTC
Ok, i'll do that
thanks for your help :-)