Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92378 - openoffice-bin 1.9.95 doesn't run, complains about java
Summary: openoffice-bin 1.9.95 doesn't run, complains about java
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 100395 101973 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-12 07:31 UTC by Bruno Lustosa
Modified: 2005-12-08 09:51 UTC (History)
8 users (show)

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


Attachments
sun-jre-bin-1.5.0.05.ebuild (sun-jre-bin-1.5.0.05.ebuild,5.40 KB, text/plain)
2005-10-23 16:06 UTC, Shea Levy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Lustosa 2005-05-12 07:31:48 UTC
I emerged the beta version of OO.org to try it out. It is marked ~amd64.
Emerge went fine, however, it just doesn't load. Here is the output:

$ /usr/bin/oowriter
javaldx: Could not find a Java Runtime Environment!
Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72: _dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' failed!

However, I do hava java installed (blackdown-jdk-1.4.2.01-r2).
I'm not sure what's happening. Perhaps OOo can't find it?

Reproducible: Always
Steps to Reproduce:
1. unmask openoffice-bin beta
2. emerge openoffice-bin
3. /usr/bin/oowriter




Portage 2.0.51.21-r1 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.11-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.5-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com
http://open-systems.ufl.edu/mirrors/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirror.nutsmaas.nl/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo
http://gentoo.mirrors.tds.net/gentoo ftp://ftp.heanet.ie/pub/gentoo/
http://ftp.heanet.ie/pub/gentoo/ http://gentoo.ccccom.com
http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.ccccom.com
http://linuv.uv.es/mirror/gentoo/ http://gentoo.mirror.icd.hu/
ftp://ftp.ndlug.nd.edu/pub/gentoo/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://gentoo.osuosl.org/ http://ftp.linux.ee/pub/gentoo/distfiles/
ftp://mirrors1.netvisao.pt/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/
http://gentoo.seren.com/gentoo
ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/
http://gentoo.blueyonder.co.uk ftp://gentoo.blueyonder.co.uk/mirrors/gentoo
http://mirror.aiya.ru/pub/gentoo/"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 16bit X aac aalib acpi acpi4linux aim alsa apache2 avi
bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdr crypt cups curl
dga dvd eds esd exif fam font-server foomaticdb fortran ftp gd gdbm gif gnome
gphoto2 gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib jabber java jp2
jpeg libwww lzw lzw-tiff mad maildir mikmod motif mozilla moznocompose moznoirc
moznomail mp3 mpeg msn multilib ncurses nls nvidia offensive ogg oggvorbis
opengl oss pam pam_console perl png postgres ppds readline sasl sdl ssl tcpd
tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis
xml xml2 xmms xpm xrandr xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-05-12 15:16:47 UTC
OOo is Sun-ware - what do you expect...
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2005-05-12 15:30:29 UTC
Reassigning
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-05-12 18:07:51 UTC
Best guess: you have 64-bit java, and openoffice-bin is 32-bit.  You will need a 32-bit java, such as Sun's java.
Comment 4 Bruno Lustosa 2005-05-12 19:31:21 UTC
Then there should be some modification in the ebuild, either taking out the ~amd64 keyword, or making sure a 32-bit java is installed as a dependency.
Is there a way to install a 32-bit java using portage or must I install it by hand?
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2005-05-19 00:52:27 UTC
There's no way as by default amd64 jdks are used on amd64. Your best bet is to
wait until groups like debian have completed their task of making things work
with gcj.
Comment 6 Octavio Ruiz (Ta^3) 2005-06-30 03:18:28 UTC
I just modified blackdown-j* ebuilds in order to install the 32bits ones insted
of 64bits and worked great. dev-java/sun-jdk are masked on amd64, and
dev-java/sun-jre-bin install a 64bit version (I think it could be modified too,
but I prefeer blackdown). The cool thing about having a java runtime enviroment
in 32bits is to have *all* (realplayer, flash..) netscape plugins working with
mozilla-firefox-bin. :-)
Comment 7 t35t0r 2005-07-06 12:25:51 UTC
Solution:

1) Download the 32 bit linux java from sun
(https://sdlcweb1a.sun.com/ECom/EComActionServlet/DownloadPage:~:com.sun.sunit.sdlc.content.DownloadPageInfo;jsessionid=2C6D75956756AB8BE55C097842655073;jsessionid=2C6D75956756AB8BE55C097842655073)

2) Install by running the .bin file.

3) Put in /opt as jre_blah_blah_32bit or whatever you want

4) start ooffice, tools -> options -> java and set it to the /opt/jre_blah_blah
directory.

Until we have an ebuild to build a 64bit version of this ooffice beast or an
ebuild for a 64bit binary, then this is the only very quick fix.

Someone mark this as closed/resolved.
Comment 8 Octavio Ruiz (Ta^3) 2005-07-06 16:25:03 UTC
Emmm, I can't see anything resolved/closed. :-\
Comment 9 t35t0r 2005-07-06 16:27:53 UTC
resolve bug, changing resolution to fixed
Comment 10 Octavio Ruiz (Ta^3) 2005-07-06 16:57:01 UTC
Eggg., I mean, there are no solution for this bug. Maybe it could be an INVALID
bug, but particularly here, I think that it should exist the possibility on
MULTI_ABI systems to install 32bit JRE/JDK rather than just 64bits.

The other one is, just wait for an *stable* openoffice-bin v.2 in 64bits. :-)
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-07-26 12:40:31 UTC
*** Bug 100395 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2005-07-26 12:56:21 UTC
Uhm, the duplicate bug with exactly the same error message reports, that running
'opengl-update xorg-x11' (!) fixes the problem and it breaks again after
'opengl-update nvidia'. Huh, go figure...
Comment 13 Pavel Vondricka 2005-08-03 06:25:19 UTC
I got a similar problem, but WITHOUT the first line with "javaldx:...".  
This problem only arises with 1.9.118, but not with 1.9.109.  
  
Comment 14 Pavel Vondricka 2005-08-04 07:10:16 UTC
Please, can you put back the 1.9.109 ebuild into portage tree? I tried the 122 
version now, but still without luck. However, the 109 ebuild is away and I 
cannot emerge that version anymore. Thanks. 
Comment 15 t35t0r 2005-08-04 07:50:46 UTC
If you're problem is a java error then all you need to do is get a 32 bit java
from sun and point the openoffice to it. You can download 109 from openoffice's
website.
Comment 16 Thomas 2005-08-04 10:36:05 UTC
If you need the version 1.9.109 extract it from a snapshot (e.g.
http://distro.ibiblio.org/pub/linux/distributions/gentoo/snapshots/portage-20050803.tar.bz2)
and copy it to your portage-overlay!
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2005-08-04 10:43:29 UTC
(In reply to comment #14)
> Please, can you put back the 1.9.109 ebuild into portage tree?

http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-office/openoffice-bin/
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2005-08-10 06:25:28 UTC
*** Bug 101973 has been marked as a duplicate of this bug. ***
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2005-08-10 06:39:54 UTC
*** Bug 101973 has been marked as a duplicate of this bug. ***
Comment 20 Simon Stelling (RETIRED) gentoo-dev 2005-09-17 03:12:40 UTC
plan is this: when 2.0 is released, we'll provide a 64bit -bin for amd64, so one
can run openoffice-bin on non-multilib systems too. till then, just use a stable
version or a 32bit jre :)
Comment 21 Simon Stelling (RETIRED) gentoo-dev 2005-10-21 08:54:29 UTC
reopening, since OOo-2 still doesn't build *sigh*
Comment 22 Shea Levy 2005-10-23 16:06:59 UTC
Created attachment 71309 [details]
sun-jre-bin-1.5.0.05.ebuild

Ebuild to install 32 bit sun JRE onto a 64 bit system
Comment 23 Andreas Proschofsky (RETIRED) gentoo-dev 2005-11-01 14:11:10 UTC
A quick question: As -java seems to work fine for AMD64, why not force it for
this arch?
Comment 24 Herbie Hopkins (RETIRED) gentoo-dev 2005-12-08 09:51:51 UTC
Added a new package, emul-linux-x86-java which installs a 32bit jre (blackdown)
and corresponding nsplugin for use in 32bit browsers. Adjusted openoffice-bin to
depend on this.