Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212115 - app-office/openoffice-2.3.1-r1 fails to compile
Summary: app-office/openoffice-2.3.1-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 212415 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-02 20:19 UTC by José Manuel Ferrer Ortiz
Modified: 2008-03-28 10:18 UTC (History)
1 user (show)

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


Attachments
My 'emerge --info' output (emerge--info.txt,3.80 KB, text/plain)
2008-03-02 20:25 UTC, José Manuel Ferrer Ortiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Manuel Ferrer Ortiz 2008-03-02 20:19:51 UTC
The ebuild is unable to complete the compiling phase of openoffice-2.3.1-r1. Moreover I've found exactly the same problem since openoffice-2.3.0.

It seems like at www.openoffice.org know about this bug and they have a solution for it: http://www.openoffice.org/issues/show_bug.cgi?id=84499

Reproducible: Always

Steps to Reproduce:
1. On my machine: 'emerge openoffice'
Comment 1 José Manuel Ferrer Ortiz 2008-03-02 20:22:21 UTC
This is the error message I get:

Making: ../unxlngx6.pro/lib/libsb680lx.so
x86_64-pc-linux-gnu-g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -shared -L../unxlngx6.pro/lib -L../lib -L/var/tmp/portage/app-office/openoffice-2.3.1-r1/work/ooo/build/OOG680_m9/solenv/unxlngx6/lib
(...)
../unxlngx6.pro/slo/sb_dflt_version.o -o ../unxlngx6.pro/lib/libsb680lx.so ../unxlngx6.pro/slo/basmgr.o ../unxlngx6.pro/slo/basicmanagerrepository.o
(...)
../unxlngx6.pro/slo/sbxdec.o -luno_cppu -luno_cppuhelpergcc3 -ltl680lx -lsvt680lx -lsvl680lx -lvcl680lx -lvos3gcc3 -luno_sal -lcomphelp4gcc3 -lutl680lx -lsot680lx -lvos3gcc3 -lxcr680lx -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc

../unxlngx6.pro/slo/image.o: In function `SbiImage::Load(SvStream&, unsigned int&)':
image.cxx:(.text+0x7b9): undefined reference to `PCodeBuffConvertor<unsigned short, unsigned int>::convert()'
image.cxx:(.text+0x7c3): undefined reference to `PCodeBuffConvertor<unsigned short, unsigned int>::convert()'
../unxlngx6.pro/slo/image.o: In function `SbiImage::Save(SvStream&, unsigned int)':
image.cxx:(.text+0x1554): undefined reference to `PCodeBuffConvertor<unsigned int, unsigned short>::convert()'
image.cxx:(.text+0x155e): undefined reference to `PCodeBuffConvertor<unsigned int, unsigned short>::convert()'
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../unxlngx6.pro/lib/libsb680lx.so'
Comment 2 José Manuel Ferrer Ortiz 2008-03-02 20:25:26 UTC
Created attachment 145131 [details]
My 'emerge --info' output
Comment 3 José Manuel Ferrer Ortiz 2008-03-02 20:46:25 UTC
I had to let you know that I don't have GCC 4.3, but this version:

gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2)
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-02 22:01:13 UTC
So your bug actually neither is a gcc-4.3 issue nor has it anything to do with the mentioned upstream issue? This report is seriously misleading...
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-03-02 22:57:50 UTC
(In reply to comment #4)
> So your bug actually neither is a gcc-4.3 issue nor has it anything to do with
> the mentioned upstream issue? This report is seriously misleading...

Apparently... sigh. Sorry about this.
Comment 6 José Manuel Ferrer Ortiz 2008-03-03 12:28:28 UTC
Hi, it's in fact the same issue as upstream (although they found it using GCC 4.3 and I did using GCC version Gentoo 4.1.2 p1.0.2). I'm sure about this because I got the same error message (and in the same source file), and after manually applying the patch they posted (to /var/tmp/portage/app-office/openoffice-2.3.1-r1/work/ooo/build/OOG680_m9/basic/source/comp/codegen.cxx source file, the only one I found with that name, and the one that caused the linking error) it has compiled fine and now works perfectly on my machine.
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-03 12:38:49 UTC
Anyway: Should be gone with OOo 2.4.0 which will be released in the next few days, so not going to backport it.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-03-05 20:24:11 UTC
*** Bug 212415 has been marked as a duplicate of this bug. ***
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-28 10:18:11 UTC
2.4.0 is in the tree, closing