From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: java: switch to icedtea-8 as default JDK Date: Wed, 29 Nov 2017 20:58:26 +0100 Message-ID: <87mv34q2l9.fsf@elephly.net> References: <87375czhqj.fsf@elephly.net> <873756herx.fsf@gmail.com> <87y3myv7k9.fsf@elephly.net> <87d141mvgn.fsf@gmail.com> <878tepmud6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eK8kh-00035W-7G for guix-devel@gnu.org; Wed, 29 Nov 2017 15:14:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eK8kd-0001S3-8k for guix-devel@gnu.org; Wed, 29 Nov 2017 15:14:39 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eK8kd-0001Rj-0f for guix-devel@gnu.org; Wed, 29 Nov 2017 15:14:35 -0500 In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?utf-8?Q?G=C3=A1bor?= Boskovits Cc: guix-devel Hi G=C3=A1bor, > We could split the bootsrap part out of java.scm, to something like > java-bootstrap.scm. I agree that it would be good to separate the language bootstrap from all other packages. > The have a file like java-checkpoint.scm only with definitions like (defi= ne > idectea8 icedtea8-bootstrap). > This would make the checkpoints we discussed on the Reproducible Build > Summit more visible, and explicitly declare which packages are the real > base of java. We do not allow using java-bootstrap from anywhere else, bu= t > from the checkpoint. I don=E2=80=99t know if using a separate module would be necessary here. T= he primary checkpoint for Java is the JDK and Ant, and all that the bootstrap module would have to provide is these two packages. > Another thing we could is have something like java-defaults.scm with > definitions like (define icedtea icedtea8). This would make default > settings more visible, and might server as the basis of an alternatives > like system. I=E2=80=99d rather not start a new module just for that, to be honest. We already have these definitions for the default GCCs and fortran compilers. > Also with java9 coming we should be prepared to do another iteration on > this, and a cleaner sturcture might make that easier. This would merely add one additional step to the bootstrap chain. Once we decide to switch to that version, we just update the defaults again. But I agree that a cleaner module structure could help. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net