ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap

Rob Farmer rfarmer at predatorlabs.net
Thu Nov 4 08:10:15 UTC 2010


The following reply was made to PR ports/151923; it has been noted by GNATS.

From: Rob Farmer <rfarmer at predatorlabs.net>
To: Baptiste Daroussin <bapt at freebsd.org>
Cc: Jung-uk Kim <jkim at freebsd.org>, David DEMELIER <demelier.david at gmail.com>, bug-followup at freebsd.org, 
	freebsd-java at freebsd.org
Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap
Date: Thu, 4 Nov 2010 01:06:29 -0700

 On Thu, Nov 4, 2010 at 00:35, Baptiste Daroussin <bapt at freebsd.org> wrote:
 > Bootstrapping jdk has always been an issue because it depends on
 > non-free binary packages. Try to setup a package build cluster from
 > scratch it won't work =A0because of openjdk.
 >
 > This solution is the easiest way to get openjdk6 without too much pain
 > for the user. he will just have to portmaster java/openjdk6 or the way
 > they usually install ports on there systems without being forced to
 > install prebuilt dependencies or install non free software.
 
 Indeed - that's what I like about this - you can do everything within
 the normal ports work-flow - no using packages or dealing with the
 diablo distfiles. It would be much more seamless for users. In the
 suggested alternative, I would need to:
 1) pkg_add openjdk
 2) build openjdk from ports
 3) uninstall openjdk from the package
 4) install openjdk from the port
 
 portmaster/upgrade can help with 2-4 but it still need manual
 intervention beyond normal "make install clean."
 
 And of course it assumes I know this situation exists - if I don't,
 then I end up with an error related to fetching diablo distfiles that
 doesn't present a way forward, other than install diablo as a build
 dependency.
 
 Also, what about using the official packages from the cluster as the
 bootstrap instead? That would solve the problem of manually built
 packages getting behind.
 
 --=20
 Rob Farmer


More information about the freebsd-java mailing list