Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2007 20:05:32 GMT
From:      Yi-Ren Chen <yiren@csie.nctu.edu.tw>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   java/116841: cannot build java/jdk16 by using java/linux-sun-jdk16
Message-ID:  <200710022005.l92K5Wea032134@www.freebsd.org>
Resent-Message-ID: <200710022010.l92KA24s095730@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116841
>Category:       java
>Synopsis:       cannot build java/jdk16 by using java/linux-sun-jdk16
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 02 20:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Ren Chen
>Release:        FreeBSD 6.2-STABLE
>Organization:
>Environment:
FreeBSD ns.mydomain 6.2-STABLE FreeBSD 6.2-STABLE #10: Sat Sep 29 15:30:43 CST 2007     root@ns.mydomain:/usr/obj/usr/src/sys/MYKERNEL  i386

>Description:
Using java/diablo-jdk15 to build java/jdk16 works fine.
But I'd like to try using java/linux-sun-jdk16 to build java/jdk16.

I have already removed javavmwrapper, jdk16, and diablo-jdk15.
After linux-sun-jdk16 installed, 'portupgrade -m "-DWITH_LINUX_BOOTSTRAP" -N /usr/ports/java/jdk16'.

====
gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product'
cd bsd_i486_compiler2/product && ./test_gamma
There was an error trying to initialize the HPI library.
Could not create the Java virtual machine.
gmake[3]: *** [product] Error 1
gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir'
gmake[2]: *** [generic_build2] Error 2
gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make'
gmake: *** [hotspot-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.24310.0 env make -DWITH_LINUX_BOOTSTRAP
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! java/jdk16    (unknown build error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

>How-To-Repeat:
1. install java/linux-sun-jdk16
2. install java/jdk16 (-DWITH_LINUX_BOOTSTRAP)

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710022005.l92K5Wea032134>