From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: java: switch to icedtea-8 as default JDK Date: Wed, 20 Dec 2017 13:29:42 +0100 Message-ID: References: <87609h3dzk.fsf@gmail.com> <87o9n3gz43.fsf@gmail.com> <20171213103248.GA12880@macbook41> <877etlo2fq.fsf@elephly.net> <87y3lzgmy1.fsf@gmail.com> <877etiz7uu.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e082d20fcec736f0560c4bcfe" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRdVJ-000309-Ic for guix-devel@gnu.org; Wed, 20 Dec 2017 07:29:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRdVI-0004N5-Cs for guix-devel@gnu.org; Wed, 20 Dec 2017 07:29:45 -0500 Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231]:41918) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRdVI-0004Mb-5z for guix-devel@gnu.org; Wed, 20 Dec 2017 07:29:44 -0500 Received: by mail-io0-x231.google.com with SMTP id o2so17134406ioe.8 for ; Wed, 20 Dec 2017 04:29:44 -0800 (PST) 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: Ricardo Wurmus Cc: guix-devel --089e082d20fcec736f0560c4bcfe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2017-12-20 11:34 GMT+01:00 G=C3=A1bor Boskovits : > 2017-12-19 23:11 GMT+01:00 Ricardo Wurmus : > >> >> G=C3=A1bor Boskovits writes: >> >> > Now I have another blocking issue: >> > https://github.com/Boskovits/guix/issues/24 >> >> > Error message: >> > >> > BUILD FAILED >> > /tmp/guix-build-java-bsh-2.0b6.drv-0/beanshell-2.0b6/build.xml:654: >> > Problem: failed to create task or type junit >> > Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTas= k >> was >> > not found. >> >> Is it not just enough to add junit to the inputs of java-bsh? >> >> No, unfortunately it seems to affect all packages using junit. > I guess it is because I use ant/java8, and maybe that is more fussy about > this... > > It seems, that we should add the lib flag to the nat commend line, if we have junit as input. However junit has quite a big dependency graph with the new hamcrest-core fix, but that is needed for junit. I think we should discuss our options here, I don't feel comfortable to make such a decision without prior discussion. In the meanwhile I will create an integration branch, and start to create a list of patches that can be merged to core-updates. Where should I send those? > > >> -- >> Ricardo >> >> GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC >> https://elephly.net >> >> >> > --089e082d20fcec736f0560c4bcfe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2017= -12-20 11:34 GMT+01:00 G=C3=A1bor Boskovits <boskovits@gmail.com&g= t;:
2017-12-19 23:11 = GMT+01:00 Ricardo Wurmus <rekado@elephly.net>:

G=C3=A1bor Boskovits <boskovits@gmail.com> writes:

> Now I have another blocking issue:
> https://github.com/Boskovits/guix/issues/24=

> Error message:
>
> BUILD FAILED
> /tmp/guix-build-java-bsh-2.0b6.drv-0/beanshell-2.0b6/build.x= ml:654:
> Problem: failed to create task or type junit
> Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUn= itTask was
> not found.

Is it not just enough to add junit to the inputs of java-bsh?

No, unfortunately it seems = to affect all packages using junit.
I guess it is because I use a= nt/java8, and maybe that is more fussy about this...
=

It seems, that we= should add the lib flag to the nat commend line, if we have
juni= t as input. However junit has quite a big dependency graph with the new
hamcrest-core fix, but that is needed for junit. I think we should d= iscuss our options here,
I don't feel comfortable to make suc= h a decision without prior discussion.

In the mean= while I will create an integration branch, and start to create a list of pa= tches that
can be merged to core-updates.

Where should I send those?
=C2=A0
=C2=A0
--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6=C2=A0 2150 197A 5888 235F ACAC
https:= //elephly.net




--089e082d20fcec736f0560c4bcfe--