From owner-freebsd-java@FreeBSD.ORG Thu Nov 4 08:33:30 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADDFB106566C; Thu, 4 Nov 2010 08:33:30 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 58D518FC16; Thu, 4 Nov 2010 08:33:30 +0000 (UTC) Received: by qwg8 with SMTP id 8so1000189qwg.13 for ; Thu, 04 Nov 2010 01:33:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.232.205 with SMTP id jv13mr385498qcb.68.1288857989349; Thu, 04 Nov 2010 01:06:29 -0700 (PDT) Received: by 10.220.203.1 with HTTP; Thu, 4 Nov 2010 01:06:29 -0700 (PDT) X-Originating-IP: [128.95.133.122] In-Reply-To: References: <201011032110.oA3LABd5097970@freefall.freebsd.org> <201011031751.47171.jkim@FreeBSD.org> <201011031934.17767.jkim@FreeBSD.org> Date: Thu, 4 Nov 2010 01:06:29 -0700 Message-ID: From: Rob Farmer To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: David DEMELIER , bug-followup@freebsd.org, Jung-uk Kim , freebsd-java@freebsd.org Subject: Re: ports/151923: [patch] java/openjdk6: free and native openjdk bootstrap X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 08:33:30 -0000 On Thu, Nov 4, 2010 at 00:35, Baptiste Daroussin 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