Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 141974
Alias:
Product:
Component:
Status: RESOLVED
Resolution: NEEDINFO
Assigned To: OpenOffice Team <openoffice@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Max Arnold <lwarxx@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
strace.txt Output of strace -f ooffice2 text/plain Max Arnold 2006-07-27 23:28 0000 386.64 KB Details
recently_merged recently merged package listing text/plain Rob Couto 2006-10-24 15:54 0000 1023 bytes Details
systeminfo emerge --info text/plain Rob Couto 2006-10-25 13:12 0000 6.78 KB Details
emerge-info.txt my current emerge --info text/plain Max Arnold 2007-03-08 03:47 0000 2.55 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 141974 depends on: Show dependency tree
Bug 141974 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-27 23:26 0000
Any program from openoffice2 suite crashes with following output:
-------
terminate called after throwing an instance of
'com::sun::star::configuration::InvalidBootstrapFileException'
/usr/lib/openoffice/program/soffice: line 236:  6498 Aborted                
"$sd_prog/$sd_binary" "$@"

** (process:6486): WARNING **: Unknown error forking main binary / abnormal
early exit ...
-------

gcc version 3.4.4

openoffice-2.0.3
USE="cairo firefox gtk java pam xml"
LINGUAS="en_GB ru"

dev-java/blackdown-jre-1.4.2.03
dev-java/blackdown-jdk-1.4.2.03

Linux 2.6.17-gentoo-r4

CFLAGS="-Os -march=c3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

CPU:
vendor_id       : CentaurHauls
cpu family      : 6
model           : 7
model name      : VIA Samuel 2
stepping        : 3
cpu MHz         : 599.784
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu de tsc msr cx8 mtrr pge mmx 3dnow up
bogomips        : 1200.46

------- Comment #1 From Max Arnold 2006-07-27 23:28:16 0000 -------
Created an attachment (id=92892) [details]
Output of strace -f ooffice2

Output of 'strace -f ooffice2'

------- Comment #2 From Andreas Proschofsky 2006-07-28 14:55:56 0000 -------
Could it be that you ran out of diskspace during the build (which could have
lead to a broken install)

------- Comment #3 From Max Arnold 2006-07-28 22:04:07 0000 -------
Now, after installation there is about 7 GB free disk space.  I think it is
enough  for OO.   Ccache not used.

------- Comment #4 From Max Arnold 2006-08-09 06:26:07 0000 -------
I have updated gcc to 3.4.6-r1 and recompiled OO with CFLAGS="-O2 -march=i586
-mmmx -m3dnow -pipe -fomit-frame-pointer".
Problem is still the same. Can it be related to java or other dependent
package?

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r2,
2.6.17-gentoo-r4-2006-07-26 i686)
=================================================================
System uname: 2.6.17-gentoo-r4-2006-07-26 i686 VIA Samuel 2
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-Os -march=c3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=c3 -pipe -fomit-frame-pointer"
DISTDIR="/data/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.KOI8-R"
LINGUAS="en_GB ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa bzip2 dri gif imlib jpeg ncurses nls pam png ssl tiff truetype
xprint zlib elibc_glibc input_devices_keyboard input_devices_mouse
input_devices_evdev kernel_linux linguas_en_GB linguas_ru userland_GNU
video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #5 From Andreas Proschofsky 2006-08-25 10:21:05 0000 -------
(In reply to comment #4)
> I have updated gcc to 3.4.6-r1 and recompiled OO with CFLAGS="-O2 -march=i586
> -mmmx -m3dnow -pipe -fomit-frame-pointer".
> Problem is still the same. Can it be related to java or other dependent
> package?
> 

Could be, try to rebuild your blackdown-packages and ant-core. If that doesn't
help, you could also try to emerge openoffice with -java and see if that helps

------- Comment #6 From Pascal Bodin 2006-09-11 13:24:55 0000 -------
I have what seems to be the same problem :

terminate called after throwing an instance of
'com::sun::star::configuration::InvalidBootstrapFileException'
KCrash: Application 'soffice.bin' crashing...
KCrash cannot reach kdeinit, launching directly.

** (process:27861): WARNING **: Unknown error forking main binary / abnormal
early exit ...

I tried to re-emerge java and ant-core. Still same crash. I re-emerged
OpenOffice with -java. Still same crash.
===============================
output from emerge --info :

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 VIA Samuel 2
Gentoo Base System version 1.6.14
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=i586 -m3dnow -mmmx -Os -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=i586 -m3dnow -mmmx -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mir1.ovh.net/gentoo-distfiles/"
LINGUAS="fr en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm arts asf avi berkdb bitmap-fonts cdr cli
crypt cups dlloader dri dvd eds emboss encode esd foomaticdb fortran gdbm gif
gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog java jpeg kde libg++ libwww
mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss
pam pcre pdf pdflib perl png pppd python qt3 qt4 quicktime readline reflection
sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis
win32codecs xml xmms xorg xv zlib elibc_glibc input_devices_keyboard
input_devices_mouse kernel_linux linguas_fr linguas_en userland_GNU
video_cards_via video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #7 From Andreas Proschofsky 2006-09-12 00:39:46 0000 -------
The common factor here seems to be that you both use a VIA-CPU

------- Comment #8 From Max Arnold 2006-09-12 01:05:05 0000 -------
Openoffice-bin works fine (at least for me), but it is still good to be able to
build it from source.

------- Comment #9 From Hanno Meyer-Thurow 2006-09-12 01:30:43 0000 -------
Like I said in bug 143882 I still guess that it is fixed by this:
https://bugs.gentoo.org/show_bug.cgi?id=143882#c8

But who knows. :)

------- Comment #10 From Andreas Proschofsky 2006-09-12 02:21:09 0000 -------
(In reply to comment #9)
> Like I said in bug 143882 I still guess that it is fixed by this:
> https://bugs.gentoo.org/show_bug.cgi?id=143882#c8
> 
> But who knows. :)
> 

So maybe someone here could unmask 2.0.4_rc1-r1 and try it out, as this should
have the fix you mention.

------- Comment #11 From Andreas Proschofsky 2006-09-12 04:33:38 0000 -------
*** Bug 143882 has been marked as a duplicate of this bug. ***

------- Comment #12 From Pascal Bodin 2006-09-14 10:54:56 0000 -------
(In reply to comment #10)

> So maybe someone here could unmask 2.0.4_rc1-r1 and try it out, as this should
> have the fix you mention.
> 

I installed the 2.0.4_rc1. I still get the same crash...

------- Comment #13 From Andreas Proschofsky 2006-09-14 11:10:35 0000 -------
(In reply to comment #12)
> (In reply to comment #10)
> 
> > So maybe someone here could unmask 2.0.4_rc1-r1 and try it out, as this should
> > have the fix you mention.
> > 
> 
> I installed the 2.0.4_rc1. I still get the same crash...
> 

Crap, here goes the hope that this was this has already been fixed...

------- Comment #14 From Andreas Proschofsky 2006-10-13 15:43:42 0000 -------
I'll just try: Any luck with 2.0.4?

------- Comment #15 From Rob Couto 2006-10-24 15:54:28 0000 -------
Created an attachment (id=100430) [details]
recently merged package listing

I had the same issue less than 3 hours ago, but I've been running "emerge world
-DNua". It works now, and I don't know what fixed it-- so here's a list of
what's been merged since I knew it was broken. It may very well be cups or
qt... I just recently upgraded to gcc-4.1.1, and OOo was broken yesterday upon
being merged, so I did "emerge -e system" overnight, and now these. Hope it
helps.

------- Comment #16 From Rob Couto 2006-10-24 16:05:42 0000 -------
Opps, scratch that. It was broken when my buddy stopped by, and qt4 was
building at the time... here's the actual version of what built since then:

qt-4.1.4-r2
qt-3.3.6-r4
cedega-5.2.3
captive-1.1.7-r1
qmpdclient-1.0.6.2
qlife-0.9

It doesn't depend on anything there but qt... try "emerge \<qt-4.0.0", and good
luck.

------- Comment #17 From Rob Couto 2006-10-25 13:12:17 0000 -------
Created an attachment (id=100482) [details]
emerge --info

OK Now it's only oowriter2 and oobase2. All the other oo-apps run normally. If
I run ooffice2 and then open an RTF it becomes Writer and runs normally...

$ oobase2
pure virtual method called
terminate called without an active exception

** (process:3463): WARNING **: Unknown error forking main binary / abnormal
early exit ...


I didn't log out once since it last worked. I emerged world again today which
only included these packages:

sys-apps/portage-2.1.2_pre3-r8
net-misc/openssh-4.4_p1-r5
media-sound/audacious-1.2.1
media-video/cinelerra-cvs-20061020
sci-libs/blas-atlas-3.7.11-r1

So it looks like my guess is bad... I'm attaching the usual info. "Unknown CPU
Typ" is how my mobo identifies an AthlonXP 2500+. Yea. I just emerged strace
and ran it once on /usr/lib/openoffice/programs/soffice.bin, which crashed.
Then I ran 'strace oowriter2', which suddenly runs. So I ran oowriter2 alone,
and it runs. Damn. oobase2 runs also. I'm lost.

------- Comment #18 From Jakub Moc (RETIRED) 2006-12-09 01:30:55 0000 -------
*** Bug 157558 has been marked as a duplicate of this bug. ***

------- Comment #19 From Tom Fredrik Blenning Klaussen 2007-01-11 00:48:29 0000 -------
I tried to upgrade the severity of this bug to critical, as I am directly cut
off from my ability to read and process MS Office and ODS documents at home,
since this app doesn't work.

I suspect this to be a configuration problem, but I'm unable to trace it down.
I use fluxbox as my windowmanager and thus doesn't have an ordinary Gnome/KDE
configuration. I have done some straces and have deleted all configuration
files I know of, but still get this problem. But couldnæt pinpoint the
location.
Could configuration be the problem?

Or is this an upstream problem?
I am a little bit confused as to what should be treated at the distribution
level, and what should be directed upstream. I therefore post all my bugs here,
please advice me if this is wrong.

------- Comment #20 From Hanno Meyer-Thurow 2007-01-11 06:26:45 0000 -------
JFYI, another reason why openoffice could segfault is broken languages. You may
try to start openoffice like:

LC_ALL=C LANG=C oo<app>

or

LC_ALL=your_lang.utf8 LANG=your_lang.utf8 oo<app>

as temporary workaround until upstream fixes this.

See Frugalware bugreport:
http://bugs.frugalware.org/task/1564?histring=

------- Comment #21 From Tom Fredrik Blenning Klaussen 2007-01-11 23:31:47 0000 -------
(In reply to comment #18)
> *** Bug 157558 has been marked as a duplicate of this bug. ***
> 

Are you really sure that you think this is the same bug. I've read the
bugreport with a lense now, and I fail to see that this is the same bug as I
reported in #157558

------- Comment #22 From Tom Fredrik Blenning Klaussen 2007-01-11 23:38:16 0000 -------
(In reply to comment #20)
> JFYI, another reason why openoffice could segfault is broken languages. You may
> try to start openoffice like:
> 
> LC_ALL=C LANG=C oo<app>
> 
> or
> 
> LC_ALL=your_lang.utf8 LANG=your_lang.utf8 oo<app>
> 
> as temporary workaround until upstream fixes this.
> 
> See Frugalware bugreport:
> http://bugs.frugalware.org/task/1564?histring=
> 

(In reply to comment #21)
> (In reply to comment #18)
> > *** Bug 157558 has been marked as a duplicate of this bug. ***
> > 
> 
> Are you really sure that you think this is the same bug. I've read the
> bugreport with a lense now, and I fail to see that this is the same bug as I
> reported in #157558

Sorry to bug you even more, but I believe that the problems experienced by Rob
Couto and I are the same, and different from the orignal bug report.

Rob, do you also experience an information box before exiting?

------- Comment #23 From Rob Couto 2007-01-15 14:15:41 0000 -------
Not quite... the only message box is KDE's crash notifier, and of course then
only when starting from KDE.

I merged 2.0.4 on a new amd64 box the same day 2.1.0 made it to both ~amd64 and
~x86. Too bad I didn't sync before that 10-hour run-- but I was able to see
that both versions worked on amd64. And of course, 2.1.0 on the x86 box has the
same basic problem, (splash appears, progress bar never moves, program crashes)
though with a slightly different message. I thought it might be related to the
environment, because it was working in GNOME on one and crashing in KDE on the
other so I tried it in fluxbox on the x86 machine thinking maybe the UI
integration was choking (and there's no GNOME). And in fluxbox, oowriter2 works
but it looks a lot like 1.1.5, custom builtin toolkit style.

That was yesterday... Here's the rest: I upgraded to 2.1.0 on yet another
similar ~x86 machine (Barton 2500+, KT400) which was having the same problem,
and now it also works in Fluxbox but not initially in GNOME and never in KDE.
So I started comparing output of set and env, until at one point-- in KDE-- I
ran oowriter2 and got the usual:

$ oowriter2
pure virtual method called
terminate called without an active exception
KCrash: Application 'soffice.bin' crashing...

Then I ran xterm right from there, and in the xterm ran oowriter2, and it
worked. Two more checks on set and env *both within KDE* revealed that (from
env) both have GTK2_RC_FILES but only konsole has set GTK_RC_FILES. I exited
xterm back to the same konsole, unset GTK_RC_FILES and ran oowriter2... and it
worked.

I'm on Firefox in Fluxbox writing this because it didn't work in KDE last
night. I just now logged in a second time on this machine back in KDE and it
suddenly wanted to work anyway, even though that variable was still set. Isn't
this what they call a heisenbug? I'm lost... And I never even tried playing
with LANG or LC_ALL. Sorry if that's not any more enlightening, but one
variable is perhaps better than two.

------- Comment #24 From Tom Fredrik Blenning Klaussen 2007-01-15 21:56:01 0000 -------
OK, I have had some new tries on fixing this with USE flags.

I originally tried to compile with:
"gnome cups dbus eds firefox gstreamer java -kde ldap pam"

I began to expect some kind of GNOME problem, and subsequently removed "gnome"

This didn't work either, so I tried to compile with every USE flag turned off.

As you probably are all aware off, the compile time is quite daunting, so there
is only so many combinations one can try.

FYI I'm running fluxbox. Just upgraded to 2.1.0. I only difference from 2.0.4
is that the error message is a bit more explicit:

(process:22118): GLib-GObject-CRITICAL **: gtype.c:2242: initialization
assertion failed, use IA__g_type_init() prior to this function

(process:22118): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion
`GDK_IS_SCREEN (screen)' failed
InsertFromHorizontalBitmap - empty image!

(process:22118): GLib-GObject-CRITICAL **: gtype.c:2242: initialization
assertion failed, use IA__g_type_init() prior to this function

(process:22118): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion
`GDK_IS_SCREEN (screen)' failed

------- Comment #25 From Kenton Groombridge 2007-01-17 17:35:24 0000 -------
I am having the exact same problems as noted in comment #23 and comment #24.  I
compiled 2.0.4 not long ago and it was working fine.  

Not sure why, but sometimes openoffice 2.1.0 will run fine.  I quit, attempt to
run again, and then it fails.

emerge --info
Portage 2.1.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-ck2-r3
i686)
=================================================================
System uname: 2.6.19-ck2-r3 i686 AMD Athlon(tm)
Gentoo Base System version 1.12.9
Timestamp of tree: Wed, 17 Jan 2007 16:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -mmmx
-msse -m3dnow -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer
-mmmx -msse -m3dnow -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="ftp://gentoo.kems.net/mirrors/gentoo http://gentoo.kems.net
http://mirror.datapipe.net/gentoo
http://ftp.club-internet.fr/pub/mirrors/gentoo
ftp://mirror.datapipe.net/gentoo"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=99999"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext S3TC X a52 aac acpi alsa amarok apache2 arts asf asm
audiofile bash-completion berkdb binary-drivers bzip2 cairo cddb cdparanoia cdr
cdrom cli cracklib crypt css cups curl dbus dlloader dri dv dvd dvdr dvdread
eds emoticon encode fame ffmpeg firefox flac foomaticdb gdbm gif gimp
glibc-omitfp glut gstreamer gtk gtk2 gzip iconv ieee1394 imagemagick imlib
iproute2 isdnlog jack java javascript joystick jpeg jpeg2k kde kdeenablefinal
kdehiddenvisibility lame libwww live logitech-mouse lzo mad mikmod mjpeg mmx
mmxext motif mozsvg mp3 mpeg mpeg2 mplayer musicbrainz ncurses network nforce2
nls nntp no-old-linux nomalloccheck nptl nptlonly nsplugin nspr nvidia ogg
openal opengl pam pango pcre pdf perl physfs png python qt3 qt4 quicktime
readline real reflection rtc samba scanner sdl spell sse ssl subtitles svg
sysfs tcpd theora threadsafe tiff transcode truetype truetype-fonts type1
type1-fonts udev unicode urandom usb userlocales v4l v4l2 vcd visualization
vorbis win32codecs wmf wmp x86 xcomposite xine xml xorg xpm xscreensaver xv
xvid xvmc zlib" ALSA_CARDS="emu10k1 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter mulaw multi null plug rate route share shm softvol"
ELIBC="glibc" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en
en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS

------- Comment #26 From Kenton Groombridge 2007-01-24 17:06:30 0000 -------
(In reply to comment #25)
> I am having the exact same problems as noted in comment #23 and comment #24.

I noticed that a 2.1.1 update downloaded last night.  I rebuilt openoffice and
it is running fine although when I start it, it still comes up with these
messages, but I can live with that:


(process:12077): GLib-GObject-CRITICAL **: gtype.c:2242: initialization
assertion failed, use IA__g_type_init() prior to this function

(process:12077): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion
`GDK_IS_SCREEN (screen)' failed

(process:12077): GLib-GObject-CRITICAL **: gtype.c:2242: initialization
assertion failed, use IA__g_type_init() prior to this function

(process:12077): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion
`GDK_IS_SCREEN (screen)' failed

(process:12077): GLib-GObject-CRITICAL **: gtype.c:2242: initialization
assertion failed, use IA__g_type_init() prior to this function

(process:12077): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion
`GDK_IS_SCREEN (screen)' failed

------- Comment #27 From Max Arnold 2007-03-08 03:45:39 0000 -------
Recently I've upgraded my gentoo world and decided to compile OO again.

I removed openoffice-bin-2.1.0 which worked fine and compiled openoffice-2.0.4
with USE="branding cairo dbus firefox gtk java pam" and LINGUAS="en en_GB ru"
(take about 35 hours on my 600MHz barebone VIA C3).
It works!

The only issue I've noticed is revdep-rebuild, claiming that
"broken /usr/lib/openoffice/program/libofficebean.so (requires  libjawt.so)"
(despite the fact that OO compiled _after_ updating world and all lib
dependencies should be ok). I guess some tweaks with java paths may help
(anyone knows what is required?).

------- Comment #28 From Max Arnold 2007-03-08 03:47:18 0000 -------
Created an attachment (id=112506) [details]
my current emerge --info

------- Comment #29 From Max Arnold 2007-03-08 04:40:39 0000 -------
$ find / -name libjawt.so 2> /dev/null |grep libjawt
/opt/sun-jdk-1.5.0.10/jre/lib/i386/libjawt.so

$ grep -E "(jdk|jre)" /etc/ld.so.conf 
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/native_threads/
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/client/
/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/server/

$ cat /etc/env.d/20java
# Autogenerated by java-config
# Command: --set-system-vm=blackdown-jdk-1.4.2.03
JDK_HOME=/opt/blackdown-jdk-1.4.2.03
JAVAC=/opt/blackdown-jdk-1.4.2.03/bin/javac
PATH="/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin"
ROOTPATH="/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin"
LDPATH="/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/:/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/native_threads/:/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/client/:/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/server/"
# VERSION="Blackdown JDK 1.4.2.03"
MANPATH=${MANPATH}:/opt/blackdown-jdk-1.4.2.03/man
JAVA_HOME=/opt/blackdown-jdk-1.4.2.03

$ java-config -v -O -o -f
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode)
/opt/sun-jdk-1.5.0.10
/opt/sun-jdk-1.5.0.10
sun-jdk-1.5

$ java-check-environment
* Checking generation_1_system_vm ...
 * No Generation-1 System VM is set! (no /etc/env.d/20java)
 * It doesn't look like java-config-1 sees any installed VMs.
 * It is most likely because you don't have a 1.4 JDK installed
 * This is required for generation-1 to work properly.
 * You will want to emerge =virtual/jdk-1.4*

$ equery list |grep -E "(java|jdk|jre)"
dev-java/ant-core-1.6.5-r14
dev-java/java-config-1.3.7
dev-java/java-config-2.0.31
dev-java/java-config-wrapper-0.12-r1
dev-java/javatoolkit-0.2.0-r1
dev-java/sun-jdk-1.5.0.10
virtual/jdk-1.5.0
virtual/jre-1.5.0

Should I emerge blackdown-jdk (which was removed during world upgrades and
replaced with sun-jdk) again or current jdk/jre can be used as generation-1
VM???

------- Comment #30 From Andreas Proschofsky 2007-03-08 06:05:50 0000 -------
(In reply to comment #27)
> Recently I've upgraded my gentoo world and decided to compile OO again.
> 
> I removed openoffice-bin-2.1.0 which worked fine and compiled openoffice-2.0.4
> with USE="branding cairo dbus firefox gtk java pam" and LINGUAS="en en_GB ru"
> (take about 35 hours on my 600MHz barebone VIA C3).
> It works!
> 
> The only issue I've noticed is revdep-rebuild, claiming that
> "broken /usr/lib/openoffice/program/libofficebean.so (requires  libjawt.so)"
> (despite the fact that OO compiled _after_ updating world and all lib
> dependencies should be ok). I guess some tweaks with java paths may help
> (anyone knows what is required?).
> 

1) Thanks for reproting back, good to see that it now works for you

2) The problem you describe is well known, non -harmful and should be fixed by
and upgrade to the latest java-config-version in unstable

3) Someone else still getting the original bug, or can we happily close this?

------- Comment #31 From Max Arnold 2007-03-08 07:16:42 0000 -------
(In reply to comment #30)
> 2) The problem you describe is well known, non-harmful and should be fixed by
> and upgrade to the latest java-config-version in unstable

Confirm. I've simply copied
http://adelie.polymtl.ca/gentoo-portage/dev-java/java-config/files/60-java to
/etc/revdep-rebuild/ and revdep-rebuild now ignores this dependency. More
information here: http://bugs.gentoo.org/show_bug.cgi?id=152039

------- Comment #32 From Tom Fredrik Blenning Klaussen 2007-03-08 14:41:42 0000 -------
(In reply to comment #30)
> (In reply to comment #27)
> > Recently I've upgraded my gentoo world and decided to compile OO again.
> > 
> > I removed openoffice-bin-2.1.0 which worked fine and compiled openoffice-2.0.4
> > with USE="branding cairo dbus firefox gtk java pam" and LINGUAS="en en_GB ru"
> > (take about 35 hours on my 600MHz barebone VIA C3).
> > It works!
> > 
> > The only issue I've noticed is revdep-rebuild, claiming that
> > "broken /usr/lib/openoffice/program/libofficebean.so (requires  libjawt.so)"
> > (despite the fact that OO compiled _after_ updating world and all lib
> > dependencies should be ok). I guess some tweaks with java paths may help
> > (anyone knows what is required?).
> > 
> 
> 1) Thanks for reproting back, good to see that it now works for you
> 
> 2) The problem you describe is well known, non -harmful and should be fixed by
> and upgrade to the latest java-config-version in unstable
> 
> 3) Someone else still getting the original bug, or can we happily close this?

I'm not sure I really caught the error here, what do I need to do to avoid it?

I upgraded to the latest java-config, and changed my VM to sun-jdk, but I'm
still getting the error. For obvious reasons, I haven't had the time to
recompile though.

Please advice.

------- Comment #33 From Andreas Proschofsky 2007-04-24 21:23:57 0000 -------
(In reply to comment #32)
> (In reply to comment #30)
> > (In reply to comment #27)
> > > Recently I've upgraded my gentoo world and decided to compile OO again.
> > > 
> > > I removed openoffice-bin-2.1.0 which worked fine and compiled openoffice-2.0.4
> > > with USE="branding cairo dbus firefox gtk java pam" and LINGUAS="en en_GB ru"
> > > (take about 35 hours on my 600MHz barebone VIA C3).
> > > It works!
> > > 
> > > The only issue I've noticed is revdep-rebuild, claiming that
> > > "broken /usr/lib/openoffice/program/libofficebean.so (requires  libjawt.so)"
> > > (despite the fact that OO compiled _after_ updating world and all lib
> > > dependencies should be ok). I guess some tweaks with java paths may help
> > > (anyone knows what is required?).
> > > 
> > 
> > 1) Thanks for reproting back, good to see that it now works for you
> > 
> > 2) The problem you describe is well known, non -harmful and should be fixed by
> > and upgrade to the latest java-config-version in unstable
> > 
> > 3) Someone else still getting the original bug, or can we happily close this?
> 
> I'm not sure I really caught the error here, what do I need to do to avoid it?
> 
> I upgraded to the latest java-config, and changed my VM to sun-jdk, but I'm
> still getting the error. For obvious reasons, I haven't had the time to
> recompile though.
> 
> Please advice.
> 

Do you still get this with 2.1.0-r1 and 2.2.0?

------- Comment #34 From Andreas Proschofsky 2007-09-20 07:58:20 0000 -------
No Feedback for a long time, ancient bug, closing

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug