Issue 103628 - FreeBSD porting : build with OpenJDK6 : qadevOOo
Summary: FreeBSD porting : build with OpenJDK6 : qadevOOo
Status: ACCEPTED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOO310m14
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-19 01:37 UTC by maho.nakata
Modified: 2017-05-20 11:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
A workaround: setting JAR explicitly (1.03 KB, patch)
2009-07-19 10:44 UTC, maho.nakata
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description maho.nakata 2009-07-19 01:37:10 UTC
OOO310_m15 on FreeBSD 7.2-RELEASE/i386, with java/openjdk6-b16_2, build failed at
qadevOOo like following:

jar cfm ../unxfbsdi.pro/class/OOoRunnerLight.jar manifest -C
../unxfbsdi.pro/class util -C ../unxfbsdi.pro/class share -C
../unxfbsdi.pro/class stats -C ../unxfbsdi.pro/class lib -C
../unxfbsdi.pro/class complexlib -C ../unxfbsdi.pro/class helper -C
../unxfbsdi.pro/class basicrunner -C ../unxfbsdi.pro/class base -C
../unxfbsdi.pro/class org/openoffice -C ../unxfbsdi.pro/class convwatch -C
../unxfbsdi.pro/class graphical
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
dmake:  Error code 2, while making 'LIGHT'

ERROR: Error 65280 occurred while making
/work/openjdk/ports/editors/openoffice.org-3-RC/work/OOO310_m15/qadevOOo/runner
rmdir /tmp/41819
Comment 1 maho.nakata 2009-07-19 01:38:22 UTC
The reason is :
# which jar ; jar
/usr/local/openjdk6/bin/jar
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
however
# /usr/local/openjdk6/bin/jar
...
Example 1: to archive two class files into an archive called classes.jar: 
       jar cvf classes.jar Foo.class Bar.class 
Example 2: use an existing manifest file 'mymanifest' and archive all the
           files in the foo/ directory into 'classes.jar': 
       jar cvfm classes.jar mymanifest -C foo/ .

#

very strange :-(
Comment 2 maho.nakata 2009-07-19 01:39:11 UTC
reassign.
Comment 3 maho.nakata 2009-07-19 01:43:18 UTC
jkim: I'm very happy if you have a look.
Comment 4 maho.nakata 2009-07-19 02:23:12 UTC
Note
the process described above is in the OOo build environment.

cd work/OOO310_m15/qadevOOo/; source ../FreeBSDX86Env.Set ; dmake
Comment 5 maho.nakata 2009-07-19 04:52:54 UTC
openjdk6 is recognized by DEV300_m52.
Comment 6 maho.nakata 2009-07-19 10:44:24 UTC
Created attachment 63629 [details]
A workaround: setting JAR explicitly
Comment 7 maho.nakata 2009-07-21 01:25:52 UTC
jkim's comment on this issue

> Probably it was just a PATH issue, openjdk6/javavmwrapper/bsd.java.mk
> were out-of-sync, or stale JAVA_* environment variables were set?

. I'll check it out later.
Comment 8 Marcus 2017-05-20 11:33:40 UTC
Reset assigne to the default "issues@openoffice.apache.org".