Bug 116841 - cannot build java/jdk16 by using java/linux-sun-jdk16
Summary: cannot build java/jdk16 by using java/linux-sun-jdk16
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Greg Lewis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-02 21:10 UTC by Yi-Ren Chen
Modified: 2010-10-01 07:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi-Ren Chen 2007-10-02 21:10:01 UTC
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)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-09-14 19:41:46 UTC
Responsible Changed
From-To: freebsd-java->glewis

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-10-01 07:08:39 UTC
glewis      2010-10-01 06:08:33 UTC

  FreeBSD ports repository

  Modified files:
    java/jdk16           Makefile 
  Log:
  . Disable bootstrapping with linux-sun-jdk1{5,6} since that doesn't work.
  
  PR:             116841
  
  Revision  Changes    Path
  1.183     +5 -68     ports/java/jdk16/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Greg Lewis freebsd_committer freebsd_triage 2010-10-01 07:48:22 UTC
State Changed
From-To: open->closed

Agreed, this does not work.  I've eliminated that option and only allowed 
for native JDKs for bootstrapping.