Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143882 - OpenOffice 2.0.3 fails to start with "Unknown error forking main binary"
Summary: OpenOffice 2.0.3 fails to start with "Unknown error forking main binary"
Status: RESOLVED DUPLICATE of bug 141974
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-14 06:14 UTC by Marcin Kurek
Modified: 2006-09-12 04:33 UTC (History)
2 users (show)

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


Attachments
emerge --info (info.txt,4.34 KB, text/plain)
2006-08-14 06:15 UTC, Marcin Kurek
Details
strace output from faulty oowriter2 run (oowriter2-strace.tar.gz,151.71 KB, application/octet-stream)
2006-08-14 06:17 UTC, Marcin Kurek
Details
strace output from direct run of sofice.bin executable (sofice.bin.tar.gz,175.28 KB, application/octet-stream)
2006-08-14 06:54 UTC, Marcin Kurek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kurek 2006-08-14 06:14:10 UTC
As another atempt to compile OOo on my machine fails I give a try to binpkg from http://gentooexperimental.org/~pylon/packages/openoffice-2.0.3.tbz2 but with no luck too.

All OOo components cause following message:

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

Generaly diging using google gives me info that similar error occured on Debian for example: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377163
Comment 1 Marcin Kurek 2006-08-14 06:15:17 UTC
Created attachment 94229 [details]
emerge --info
Comment 2 Marcin Kurek 2006-08-14 06:17:41 UTC
Created attachment 94230 [details]
strace output from faulty oowriter2 run

Generaly my exp is not enough to see something wrong here, but maybe this would be helpful. Compressed because it's quite huge.
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2006-08-14 06:21:07 UTC
(In reply to comment #0)
> As another atempt to compile OOo on my machine fails I give a try to binpkg
> from http://gentooexperimental.org/~pylon/packages/openoffice-2.0.3.tbz2 but
> with no luck too.

Note from my side: That binpkg is a product of 2006.1's GRP set for generic-ppc.
Comment 4 Marcin Kurek 2006-08-14 06:54:14 UTC
Created attachment 94234 [details]
strace output from direct run of sofice.bin executable

The output is smaller and maybe it will be easier to read.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-08-14 07:36:48 UTC
Really not sure why is this in Gentoo bugzilla or why are you even using such stuff. emerge app-office/openoffice, we can't support some third-party binary packages.
Comment 6 Lars Weiler (RETIRED) gentoo-dev 2006-08-14 11:07:57 UTC
Blah.  I don't have any clue about this bug, even after viewing at the strace-output.  Only, which resource is busy?

And it's not "some third-party binary".  It's the binary from 2006.1's GRP, as a simple "app-office/openoffice" does not work due to another strange bug.  Yes, OOo on ppc is not easy.

Assigning to OOo-maintainer.
Comment 7 Marcin Kurek 2006-08-15 23:49:21 UTC
Today I was able to build a valid and working OOo using 2006.1 G4 profile. Generaly I was unable to build it previously because error when installing (Unable to register all components and fail on Python UNO modules)

It seems we was hit by compiler error. Normaly I use this flags 
CFLAGS="-mcpu=G4 -mtune=G4 -O2 -maltivec -mabi=altivec -fommit-frame-pointer -pipe" and the installation fails. I give a try to more generic flags by setting CFLAGS="-mcpu=7400 -O2 -maltivec -mabi=altivec -pipe" and the package builds just fine and it seems to work without any bigger problems.
Comment 8 Hanno Zysik (geki) 2006-08-18 13:42:33 UTC
I may be wrong but this issue could be solved by this commit:

2006-08-18  Jan Holesovsky  <kendy@suse.cz>

	* patches/src680/unxsplash-desktop-unx-source.diff:
	  - fixed (my) bitmap reading stupidity in splashx.c
	  - fork first, then take care of the splash
	  - read settings from sofficerc
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2006-08-25 10:24:37 UTC
Don't have the hardware to test this, the strace doesn't look very helpful either. It should work when compiled from source, so I guess it is either a packaging issue or a local problem. Not a lot I can do here.

The pyuno problem on the contrary is well known, regcomp is very flaky. this is mostly caused by too agressive CFLAGS when compiling python, but you've already figured that out in Bug #139412
Comment 10 Marcin Kurek 2006-08-27 10:26:31 UTC
But my python is compiled with standard flags for PPC G4 profile. Nothing special here.

And I definitly was able to compile OOo when switch CFLAGS as described in #7. I know this way works not only for me at last two of my friends was able to compile OOo this way on Pegasos.
Comment 11 Lars Weiler (RETIRED) gentoo-dev 2006-08-27 12:22:55 UTC
Adding ppc.  Probably it's really a CFLAGS issue.
Comment 12 Andreas Proschofsky (RETIRED) gentoo-dev 2006-09-12 02:21:54 UTC
Could you please try 2.0.4_rc1-r1 (which has the fix Hanno mentions) and see if you still get this problem?
Comment 13 Andreas Proschofsky (RETIRED) gentoo-dev 2006-09-12 04:33:38 UTC
Please continue discussion in the other bug

*** This bug has been marked as a duplicate of 141974 ***