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

Bug 34869

Summary: openoffice-ximian-1.1.46 emerged, but doesn't work
Product: Gentoo Linux Reporter: Priit Laes (IRC: plaes) <plaes>
Component: New packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Priit Laes (IRC: plaes) 2003-12-02 00:52:17 UTC
After 
Decoder root # LANGUAGE="ESTONIAN" emerge openoffice-ximian

i get this:

amd@Decoder amd $ qpkg -l openoffice-ximian
app-office/openoffice-ximian-1.1.46 *
CONTENTS:
/etc
/etc/openoffice
/etc/openoffice/autoresponse-1.1.0.conf
/opt
/opt/Ximian-OpenOffice
/opt/Ximian-OpenOffice/user
/opt/Ximian-OpenOffice/user/temp
/opt/Ximian-OpenOffice/user/temp/.keep
/opt/Ximian-OpenOffice/user/store
/opt/Ximian-OpenOffice/user/store/.keep
/opt/Ximian-OpenOffice/user/autocorr
/opt/Ximian-OpenOffice/user/autocorr/.keep
/opt/Ximian-OpenOffice/user/template
/opt/Ximian-OpenOffice/user/template/.keep
/opt/Ximian-OpenOffice/user/backup
/opt/Ximian-OpenOffice/user/backup/.keep
/opt/Ximian-OpenOffice/user/plugin
/opt/Ximian-OpenOffice/user/plugin/.keep
/opt/Ximian-OpenOffice/user/registry
/opt/Ximian-OpenOffice/user/registry/res
/opt/Ximian-OpenOffice/user/registry/res/en-us
/opt/Ximian-OpenOffice/user/registry/res/en-us/org
/opt/Ximian-OpenOffice/user/registry/res/en-us/org/openoffice
/opt/Ximian-OpenOffice/user/registry/res/en-us/org/openoffice/ucb
/opt/Ximian-OpenOffice/user/registry/res/en-us/org/openoffice/ucb/.keep
/opt/Ximian-OpenOffice/user/registry/res/en-us/org/openoffice/Office
/opt/Ximian-OpenOffice/user/registry/res/en-us/org/openoffice/Office/.keep
/opt/Ximian-OpenOffice/user/psprint
/opt/Ximian-OpenOffice/user/psprint/fontmetric
/opt/Ximian-OpenOffice/user/psprint/fontmetric/.keep
/opt/Ximian-OpenOffice/user/psprint/driver
/opt/Ximian-OpenOffice/user/psprint/driver/.keep
/usr
/usr/bin
/usr/bin/ooweb -> ooffice
/usr/bin/ooimpress -> ooffice
/usr/bin/oocalc -> ooffice
/usr/bin/oodraw -> ooffice
/usr/bin/oomath -> ooffice
/usr/bin/oowriter -> ooffice
/usr/bin/ooffice
/usr/bin/oosetup -> ooffice
/usr/share
/usr/share/gnome
/usr/share/gnome/apps
/usr/share/gnome/apps/OpenOffice.org
/usr/share/gnome/apps/OpenOffice.org/drawing.desktop
/usr/share/gnome/apps/OpenOffice.org/textdoc.desktop
/usr/share/gnome/apps/OpenOffice.org/spreadsheet.desktop
/usr/share/gnome/apps/OpenOffice.org/presentation.desktop
/usr/share/pixmaps
/usr/share/pixmaps/ximian-openoffice-math.png
/usr/share/pixmaps/ximian-openoffice-writer.png
/usr/share/pixmaps/ximian-openoffice-impress.png
/usr/share/pixmaps/ximian-openoffice-web.png
/usr/share/pixmaps/ximian-openoffice-template.png
/usr/share/pixmaps/ximian-openoffice-draw.png
/usr/share/pixmaps/ximian-openoffice-calc.png
/opt/Ximian-OpenOffice/setup -> program/setup

and OO.o doesn't work. :(
Unfortunately i didn't save a compile log (it took 17 hours) :(
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2003-12-03 01:09:49 UTC
Those contents indeed are missing major parts of the program. One thing to note is that language support with ximian-openoffice seems to be currently broken.
Comment 2 Priit Laes (IRC: plaes) 2003-12-03 01:52:29 UTC
Ok.. after ~20 hours of compiling.. 

Decoder root # LANGUAGE=ESTONIAN ebuild  usr/portage/app-office/openoffice-ximian/openoffice-ximian-1.1.46.ebuild install
>>> md5 src_uri ;-) OOo_1.1.0_source.tar.bz2
>>> md5 src_uri ;-) ooo-build-1.1.46.tar.gz
>>> md5 src_uri ;-) ooo-icons-OOO_1_1-6.tar.gz
 * ****************************************************************
 *  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.
 * ****************************************************************
>>> Checking OOo_1.1.0_source.tar.bz2's mtime...
>>> Checking ooo-build-1.1.46.tar.gz's mtime...
>>> Checking ooo-icons-OOO_1_1-6.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> It appears that openoffice-ximian is already compiled; skipping.
>>> (clean to force compilation)
 
>>> Install openoffice-ximian-1.1.46 into /home/tmp/portage/openoffice-ximian-1.1.46/image/ category app-office
 * Installing OpenOffice.org into build root...
glibc version: 2.3.2
 
Initializing installation program...................
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
 
 * Removing build root from registry...
grep: /home/tmp/portage/openoffice-ximian-1.1.46/image//opt/Ximian-OpenOffice/*: No such file or directory
 * Fixing permissions...
chmod: failed to get attributes of `/home/tmp/portage/openoffice-ximian-1.1.46/image//opt/Ximian-OpenOffice/share/config/webcast/*.pl': No such file or directory
 * Installing Menu shortcuts (need "gnome" or "kde" in USE)...
man:
prepallstrip:
strip:
strip:
>>> Completed installing into /home/tmp/portage/openoffice-ximian-1.1.46/image/
 
I currently have compiled sources in my portage tempdir, any ideas what could i try?
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2003-12-03 02:05:07 UTC
Could you attach the results of
"find /home/tmp/portage/openoffice-ximian-1.1.46/image/" ?
Comment 4 Priit Laes (IRC: plaes) 2003-12-03 02:23:07 UTC
Decoder image # pwd
/home/tmp/portage/openoffice-ximian-1.1.46/image
Decoder image # find
.
./etc
./etc/openoffice
./etc/openoffice/autoresponse-1.1.0.conf
./opt
./opt/Ximian-OpenOffice
./opt/Ximian-OpenOffice/user
./opt/Ximian-OpenOffice/user/temp
./opt/Ximian-OpenOffice/user/temp/.keep
./opt/Ximian-OpenOffice/user/store
./opt/Ximian-OpenOffice/user/store/.keep
./opt/Ximian-OpenOffice/user/autocorr
./opt/Ximian-OpenOffice/user/autocorr/.keep
./opt/Ximian-OpenOffice/user/template
./opt/Ximian-OpenOffice/user/template/.keep
./opt/Ximian-OpenOffice/user/backup
./opt/Ximian-OpenOffice/user/backup/.keep
./opt/Ximian-OpenOffice/user/plugin
./opt/Ximian-OpenOffice/user/plugin/.keep
./opt/Ximian-OpenOffice/user/registry
./opt/Ximian-OpenOffice/user/registry/res
./opt/Ximian-OpenOffice/user/registry/res/en-us
./opt/Ximian-OpenOffice/user/registry/res/en-us/org
./opt/Ximian-OpenOffice/user/registry/res/en-us/org/openoffice
./opt/Ximian-OpenOffice/user/registry/res/en-us/org/openoffice/ucb
./opt/Ximian-OpenOffice/user/registry/res/en-us/org/openoffice/ucb/.keep
./opt/Ximian-OpenOffice/user/registry/res/en-us/org/openoffice/Office
./opt/Ximian-OpenOffice/user/registry/res/en-us/org/openoffice/Office/.keep
./opt/Ximian-OpenOffice/user/psprint
./opt/Ximian-OpenOffice/user/psprint/fontmetric
./opt/Ximian-OpenOffice/user/psprint/fontmetric/.keep
./opt/Ximian-OpenOffice/user/psprint/driver
./opt/Ximian-OpenOffice/user/psprint/driver/.keep
./opt/Ximian-OpenOffice/setup
./usr
./usr/bin
./usr/bin/ooweb
./usr/bin/ooimpress
./usr/bin/oocalc
./usr/bin/oodraw
./usr/bin/oomath
./usr/bin/oowriter
./usr/bin/ooffice
./usr/bin/oosetup
./usr/share
./usr/share/gnome
./usr/share/gnome/apps
./usr/share/gnome/apps/OpenOffice.org
./usr/share/gnome/apps/OpenOffice.org/drawing.desktop
./usr/share/gnome/apps/OpenOffice.org/textdoc.desktop
./usr/share/gnome/apps/OpenOffice.org/spreadsheet.desktop
./usr/share/gnome/apps/OpenOffice.org/presentation.desktop
./usr/share/pixmaps
./usr/share/pixmaps/ximian-openoffice-math.png
./usr/share/pixmaps/ximian-openoffice-writer.png
./usr/share/pixmaps/ximian-openoffice-impress.png
./usr/share/pixmaps/ximian-openoffice-web.png
./usr/share/pixmaps/ximian-openoffice-template.png
./usr/share/pixmaps/ximian-openoffice-draw.png
./usr/share/pixmaps/ximian-openoffice-calc.png
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2004-01-03 12:05:46 UTC
Hi!

Have you been able to solve the problem in the meantime? Did one of the newer versions help? Did you try it without estonian language support? Did you try with plain openoffice?

Also I want to emphasise, that we need a build log to find out why not all necessary parts are being built for you. So: Could you provide one and attach it to the bug?

Anyway: Estonian language support is not in the "official" Ximian-build system for OpenOffice.org, so I think we should remove it from the ebuild (and maybe even from plain OpenOffice.org)
Comment 6 Priit Laes (IRC: plaes) 2004-01-03 13:20:34 UTC
No, no, no and no :(
I'm currently building app-office/openoffice-ximian-1.1.47.3
When this is finished (almost 24 hours already) i'll try again building Estonian localized OO.o and then i'll submit the build log here or as new bug.
Comment 7 Christian Storzer 2004-01-03 15:26:44 UTC
How can I make a build log? 
I had the same problem with OO-Ximian-1.1.47.3, built without language support except english.
the /opt/OpenOffice-Ximian directory had just a 'user' directory and the program directory was missing completely.
Comment 8 Priit Laes (IRC: plaes) 2004-01-03 15:44:18 UTC
emerge openoffice-ximian >output.log 2>&1
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2004-01-03 16:01:18 UTC
In response to Comment #7

Just to clear it up: You mean OpenOffice-Ximian did not build with any language support except english? Not even german?

Anyway, a build log would be great, otherwise I can just guess, as it works for me
Comment 10 Christian Storzer 2004-01-04 00:43:42 UTC
I merged the ebuild once 
- with german suppport -> /opt/OpenOffice-Ximian/program was missing completely
- without german, just plain english normal ebuild :) -> program dir was missing completely also
anyway, iam building it now with a log, ill attach it later
Comment 11 Christian Storzer 2004-01-04 09:23:54 UTC
dont ask me why... it works now, I built it the same way like the 2 times before 
emerge openoffice-ximian-1.1.47.3 :)
The only difference: i now used a xterm within X, the last times before i used the console

as Priit Laes posted:

>>> Install openoffice-ximian-1.1.46 into /home/tmp/portage/openoffice-ximian-1.1.46/image/ category app-office
 * Installing OpenOffice.org into build root...
glibc version: 2.3.2
 
Initializing installation program...................
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering

maybe the setup needs to be in X11 for some strage reason? it looks like that setup wanted to start an X session
Comment 12 Priit Laes (IRC: plaes) 2004-01-04 13:29:16 UTC
Well, dunno about these libGL errors. But i need to restart X after this to be able to use direct rendering.
Comment 13 Andreas Proschofsky (RETIRED) gentoo-dev 2004-01-17 09:35:37 UTC
My guess is that this is a problem with virtualmake, there is now a new version of 1.1.49.2 in portage, which aims to solve it, could you please try out (under the same circumstances where it failed before) and report?
Comment 14 Priit Laes (IRC: plaes) 2004-01-18 05:30:11 UTC
Well, it compiles fine now, and works too :D
Though the menus are still in English after fiddling with locale settings... :(
I know that Estonian language i18n reached 100%, maybe it just isn't available in official package. I'll investigate further.
Thanks, Andreas.
Comment 15 Andreas Proschofsky (RETIRED) gentoo-dev 2004-01-18 09:36:56 UTC
Did you emerge it also with

LANGUAGE="ESTONIAN" emerge openoffice-ximian

this time, and you still don't get localized menus? If yes: Estonian is not under the officially supported languages in Ximian-Openoffice, so I think for the moment we will have to remove it from the supported languages list in the ebuild...

sorry, hopefully it will come back in soon again...
Comment 16 Andreas Proschofsky (RETIRED) gentoo-dev 2004-01-18 10:09:20 UTC
Another idea: Did you try to start it with 

LANG="estonian" oowriter

(or similar). Does that change anything for you?
Comment 17 Priit Laes (IRC: plaes) 2004-01-18 11:07:01 UTC
amd@Decoder amd $ LANG="estonian" oowriter
I18N: X Window System doesn't support locale "estonian"

Well, i think that removing Estonian language support from ebuild is not relevant. It should just stay there. Anyway, i'll try find out the differences between the localized source (which is available from the OO.o-et website)and the official source and try to submit a patch if i get something done.
Comment 18 Andreas Proschofsky (RETIRED) gentoo-dev 2004-01-24 10:29:27 UTC
The original bug is resolved with recent versions of openoffice-ximian so closing this