Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125251 - openoffice-2.0.2_rc4 looks for command "javac", even with USE="-java" and fails.
Summary: openoffice-2.0.2_rc4 looks for command "javac", even with USE="-java" and fails.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 08:19 UTC by Samuli Suominen (RETIRED)
Modified: 2006-03-07 17:30 UTC (History)
0 users

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


Attachments
full build log in .tar.bz2 format cause plain-text is too large to post. (4849-openoffice-2.0.2_rc4.log.tbz2,174.28 KB, application/octet-stream)
2006-03-06 09:37 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2006-03-06 08:19:27 UTC
OpenOffice 2.0.2_rc4 looks for javac command, even if USE="-java" has been set. Only Java related programs I have installed is java-config and latest (~x86) sun-jre-bin. Whole system is USE="-java" and sun-jre-bin is used only in Mozilla Firefox.

drac@unaffiliated ~ $ java
java         java-config  java_vm      javaws

unaffiliated compile_logs # emerge -av openoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] app-office/openoffice-2.0.2_rc4 [2.0.1] USE="cairo% firefox% gtk xml2 -binfilter% -curl* -eds -gnome -java -kde -ldap -mozilla" 0 kB

[ .............. ]

=============
Building project sandbox
=============
/var/tmp/portage/openoffice-2.0.2_rc4/work/ooo-build-oob680.5.0/build/oob680-m5/sandbox/com/sun/star/lib/sandbox
mkout -- version: 1.6
/var/tmp/portage/openoffice-2.0.2_rc4/work/ooo-build-oob680.5.0/build/oob680-m5/sandbox/com/sun/star/lib/sandboxdmake: Executing shell macro: +echo $(IDLPACKAGE) | $(SED) 's/\\/\//g'
Making dpj...
javac -classpath ".:../../../../../unxlngi6.pro/class:NO_JAVA_HOME/jre/lib/rt.jar:." -d ../../../../../unxlngi6.pro/class  AudioProxy.java                                    Cachable.java                                       ClassContext.java                             ClassContextImpl.java                           ClassContextProxy.java        CodeSource.java                                  Disposable.java                                 ExecutionContext.java                     Holder.java                                         ImageProducerProxy.java   JarEntry.java                                     JarInputStream.java                         Permission.java        PermissionCollection.java                    ProtectionDomain.java                           Resource.java    ResourceImpl.java                                ResourceProxy.java                              ResourceViewer.java                       SandboxMessageHandler.java                  SandboxThreadGroup.java                     SandboxSecurity.java                      SandboxSecurityException.java           WeakRef.java    WeakTable.java                                           WeakEntry.java                                          XImage.java
javac: Command not found.
dmake:  Error code 1, while making '../../../../../unxlngi6.pro/misc/lib_sandbox_dummy.java'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.2_rc4/work/ooo-build-oob680.5.0/build/oob680-m5/sandbox/com/sun/star/lib/sandbox
make: *** [stamp/build] Error 1
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2006-03-06 08:39:40 UTC
Could you please provide a full build log?
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2006-03-06 09:18:40 UTC
http://hideout.unk.fi/~drac/4849-openoffice-2.0.2_rc4.log.tbz2
http://hideout.unk.fi/~drac/4849-openoffice-2.0.2_rc4.log

-rw-r--r-- 1 drac users 3420625 2006-03-06 19:16 4849-openoffice-2.0.2_rc4.log
-rw-r--r-- 1 drac users  178460 2006-03-06 19:16 4849-openoffice-2.0.2_rc4.log.tbz2

Please download .tbz2 version of it, it's a home server :-)
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2006-03-06 09:37:10 UTC
Created attachment 81537 [details]
full build log in .tar.bz2 format cause plain-text is too large to post.
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2006-03-07 08:27:55 UTC
I've just commited a fix for this, please test and report if it works for you. Thanks for reporting
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2006-03-07 17:30:01 UTC
It's working now. :)

>>> app-office/openoffice-2.0.2_rc4 merged.

[ebuild   R   ] app-office/openoffice-2.0.2_rc4  USE="cairo firefox gtk xml2 -binfilter -curl -eds -gnome -java -kde -ldap -mozilla" 0 kB

Thanks.