GNU bug report logs - #32965
Icedtea 'out' and 'jdk' outputs must not be installed at the same time

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Mathieu Lirzin <mthl@HIDDEN>; dated Sun, 7 Oct 2018 09:50:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to 'Icedtea 'out' and 'jdk' outputs must not be installed at the same time' from '‘./gradlew’ fails to compile after Icedtea upgrade' Request was from Mathieu Lirzin <mthl@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 32965 <at> debbugs.gnu.org:


Received: (at 32965) by debbugs.gnu.org; 7 Oct 2018 16:32:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 07 12:32:10 2018
Received: from localhost ([127.0.0.1]:39575 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g9ByT-0001SD-Qq
	for submit <at> debbugs.gnu.org; Sun, 07 Oct 2018 12:32:10 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57859)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mthl@HIDDEN>) id 1g9ByS-0001Ry-GG
 for 32965 <at> debbugs.gnu.org; Sun, 07 Oct 2018 12:32:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mthl@HIDDEN>) id 1g9ByJ-0002qJ-4j
 for 32965 <at> debbugs.gnu.org; Sun, 07 Oct 2018 12:32:01 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43837)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mthl@HIDDEN>)
 id 1g9ByH-0002p7-3U; Sun, 07 Oct 2018 12:31:57 -0400
Received: from 2a02-8428-80d1-9b01-79d5-ad84-85b5-c289.rev.sfr.net
 ([2a02:8428:80d1:9b01:79d5:ad84:85b5:c289]:46716 helo=token)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <mthl@HIDDEN>)
 id 1g9ByF-0001Qv-BR; Sun, 07 Oct 2018 12:31:56 -0400
From: Mathieu Lirzin <mthl@HIDDEN>
To: Julien Lepiller <julien@HIDDEN>
Subject: Re: bug#32965: =?utf-8?B?4oCYLi9ncmFkbGV34oCZ?= fails to compile
 after Icedtea upgrade
References: <87pnwmxfrf.fsf@HIDDEN> <20181007180735.16df7d9e@HIDDEN>
Date: Sun, 07 Oct 2018 18:31:52 +0200
In-Reply-To: <20181007180735.16df7d9e@HIDDEN> (Julien Lepiller's message
 of "Sun, 7 Oct 2018 18:07:35 +0200")
Message-ID: <874ldxd8g7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32965
Cc: 32965 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Hello Julien,

Julien Lepiller <julien@HIDDEN> writes:

> Le Sun, 07 Oct 2018 11:33:40 +0200,
> Mathieu Lirzin <mthl@HIDDEN> a =C3=A9crit :
>
>> For about 2-3 months doing =E2=80=98guix package -u icedtea=E2=80=99 mak=
es the
>> =E2=80=98gradle=E2=80=99 build process of a software I am using at work =
fail.
>>=20
>> Here is the output I get:
>>=20
>> --8<---------------cut here---------------start------------->8---
>> $ ./gradlew
>> :compileJava UP-TO-DATE
>> :processResources UP-TO-DATE
>> :classes UP-TO-DATE
>> :jar UP-TO-DATE
>> :assemble UP-TO-DATE
>> :compileTestJava FAILED
>>=20
>> FAILURE: Build failed with an exception.
>>=20
>> * What went wrong:
>> Execution failed for task ':compileTestJava'.
>> > Could not find tools.jar. Please check
>> > that /gnu/store/3b3p13yq4x2db2b5hh47mwazyhy7pp8k-icedtea-3.7.0
>> > contains a valid JDK installation.=20=20
>
> /gnu/store/3b3p13yq4x2db2b5hh47mwazyhy7pp8k-icedtea-3.7.0 is
> icedtea:out, but the JDK is in icedtea:jdk, hence the error message.
> You probably have both icedtea:out and icedtea:jdk in your profile and
> icedtea:out is picked first. Could you try removing icedtea from your
> profile (keeping icedtea:jdk)?

\o/

Thanks for the diagnose, =E2=80=98guix package -r icedtea:out -u icedtea:jd=
k=E2=80=99
worked nicely!

I was unaware that =E2=80=98icedtea:out=E2=80=99 and =E2=80=98icedtea:jdk=
=E2=80=99 were not meant to be
installed in the same profile.  In fact I find it confusing since in
general package outputs are used to add things that are optional (doc,
debug, ...) more than defining alternative.

--=20
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37




Information forwarded to bug-guix@HIDDEN:
bug#32965; Package guix. Full text available.

Message received at 32965 <at> debbugs.gnu.org:


Received: (at 32965) by debbugs.gnu.org; 7 Oct 2018 16:07:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 07 12:07:47 2018
Received: from localhost ([127.0.0.1]:39557 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g9Bat-0000qv-5J
	for submit <at> debbugs.gnu.org; Sun, 07 Oct 2018 12:07:47 -0400
Received: from lepiller.eu ([89.234.186.109]:42602)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1g9Bar-0000qk-IB
 for 32965 <at> debbugs.gnu.org; Sun, 07 Oct 2018 12:07:46 -0400
Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79])
 by lepiller.eu (OpenSMTPD) with ESMTPSA id 10feae3a
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Sun, 7 Oct 2018 16:07:38 +0000 (UTC)
Date: Sun, 7 Oct 2018 18:07:35 +0200
From: Julien Lepiller <julien@HIDDEN>
To: Mathieu Lirzin <mthl@HIDDEN>
Subject: Re: bug#32965: =?UTF-8?B?4oCYLi9ncmFkbGV34oCZ?= fails to compile
 after Icedtea upgrade
Message-ID: <20181007180735.16df7d9e@HIDDEN>
In-Reply-To: <87pnwmxfrf.fsf@HIDDEN>
References: <87pnwmxfrf.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32965
Cc: 32965 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Le Sun, 07 Oct 2018 11:33:40 +0200,
Mathieu Lirzin <mthl@HIDDEN> a =C3=A9crit :

> Hello,
>=20
> For about 2-3 months doing =E2=80=98guix package -u icedtea=E2=80=99 make=
s the
> =E2=80=98gradle=E2=80=99 build process of a software I am using at work f=
ail.
>=20
> Here is the output I get:
>=20
> --8<---------------cut here---------------start------------->8---
> $ ./gradlew
> :compileJava UP-TO-DATE
> :processResources UP-TO-DATE
> :classes UP-TO-DATE
> :jar UP-TO-DATE
> :assemble UP-TO-DATE
> :compileTestJava FAILED
>=20
> FAILURE: Build failed with an exception.
>=20
> * What went wrong:
> Execution failed for task ':compileTestJava'.
> > Could not find tools.jar. Please check
> > that /gnu/store/3b3p13yq4x2db2b5hh47mwazyhy7pp8k-icedtea-3.7.0
> > contains a valid JDK installation. =20

/gnu/store/3b3p13yq4x2db2b5hh47mwazyhy7pp8k-icedtea-3.7.0 is
icedtea:out, but the JDK is in icedtea:jdk, hence the error message.
You probably have both icedtea:out and icedtea:jdk in your profile and
icedtea:out is picked first. Could you try removing icedtea from your
profile (keeping icedtea:jdk)?

>=20
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info
> or --debug option to get more log output.
>=20
> BUILD FAILED
>=20
> Total time: 3.407 secs
> --8<---------------cut here---------------end--------------->8---
>=20
> Fortunately I am able to roll back, and every thing is fine after
> that! However since this issue seems to persist I would like it to be
> fixed to be able to drop the =E2=80=98--do-not-upgrade=3Dicedtea=E2=80=99=
 option I am
> adding every time I am upgrading.
>=20
> For now I have no clue regarding the origin of the problem which can
> be reproduced from guix e90ce11 with the following commands:
>=20
>   $ wget http://www-eu.apache.org/dist/ofbiz/apache-ofbiz-16.11.05.zip
>   $ unzip apache-ofbiz-16.11.05.zip
>   $ cd apache-ofbiz-16.11.05
>   $ ./gradlew
>=20
>=20
> Unfortunately the generation manifest containing the working jdk
> predates the channel and inferior features so I can't easily describe
> how to reproduce the working scenario.  The faulty generation diff is
> the following:
>=20
> --8<---------------cut here---------------start------------->8---
> Generation 133	Oct 06 2018 23:43:20	(current)
>  + icedtea	3.7.0
> out	/gnu/store/3b3p13yq4x2db2b5hh47mwazyhy7pp8k-icedtea-3.7.0
>  + icedtea	3.7.0
> doc	/gnu/store/59iksqbfzx415rwiw5cdz5x4i447fxf7-icedtea-3.7.0-doc
>  + icedtea	3.7.0
> jdk	/gnu/store/4gqcigy8pax6q7zs146lrk0pmqg92rff-icedtea-3.7.0-jdk
>  - icedtea	3.7.0
> jdk	/gnu/store/mlldkkmkqwxazvsjk3db9kf9nbvg6fj9-icedtea-3.7.0-jdk
>  - icedtea	3.7.0
> doc	/gnu/store/84ijp91xcibg9bkg8ggs546lbvymc0cx-icedtea-3.7.0-doc
>  - icedtea	3.7.0
> out	/gnu/store/cvbql6ryimlcp4q2jgbkx116d87iy2zc-icedtea-3.7.0
> --8<---------------cut here---------------end--------------->8---
>=20
> Thanks.
>=20





Information forwarded to bug-guix@HIDDEN:
bug#32965; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Oct 2018 09:49:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 07 05:49:12 2018
Received: from localhost ([127.0.0.1]:39055 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g95gV-0001Jf-L0
	for submit <at> debbugs.gnu.org; Sun, 07 Oct 2018 05:49:11 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53331)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mthl@HIDDEN>) id 1g95gU-0001JF-0e
 for submit <at> debbugs.gnu.org; Sun, 07 Oct 2018 05:49:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mthl@HIDDEN>) id 1g95gO-0001Ms-1U
 for submit <at> debbugs.gnu.org; Sun, 07 Oct 2018 05:49:04 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54541)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mthl@HIDDEN>) id 1g95gN-0001MV-Sa
 for submit <at> debbugs.gnu.org; Sun, 07 Oct 2018 05:49:03 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34668)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mthl@HIDDEN>) id 1g95gM-0001Dd-M4
 for bug-guix@HIDDEN; Sun, 07 Oct 2018 05:49:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mthl@HIDDEN>) id 1g95RW-0003K5-MV
 for bug-guix@HIDDEN; Sun, 07 Oct 2018 05:33:43 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37803)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mthl@HIDDEN>)
 id 1g95RW-0003Jv-HA
 for bug-guix@HIDDEN; Sun, 07 Oct 2018 05:33:42 -0400
Received: from 2a02-8428-80d1-9b01-79d5-ad84-85b5-c289.rev.sfr.net
 ([2a02:8428:80d1:9b01:79d5:ad84:85b5:c289]:44254 helo=token)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <mthl@HIDDEN>) id 1g95RW-0001mY-7B
 for bug-guix@HIDDEN; Sun, 07 Oct 2018 05:33:42 -0400
From: Mathieu Lirzin <mthl@HIDDEN>
To: bug-guix@HIDDEN
Subject: =?utf-8?B?4oCYLi9ncmFkbGV34oCZ?= fails to compile after Icedtea
 upgrade
Date: Sun, 07 Oct 2018 11:33:40 +0200
Message-ID: <87pnwmxfrf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Hello,

For about 2-3 months doing =E2=80=98guix package -u icedtea=E2=80=99 makes =
the =E2=80=98gradle=E2=80=99
build process of a software I am using at work fail.

Here is the output I get:

--8<---------------cut here---------------start------------->8---
$ ./gradlew
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestJava'.
> Could not find tools.jar. Please check that /gnu/store/3b3p13yq4x2db2b5hh=
47mwazyhy7pp8k-icedtea-3.7.0 contains a valid JDK installation.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --d=
ebug option to get more log output.

BUILD FAILED

Total time: 3.407 secs
--8<---------------cut here---------------end--------------->8---

Fortunately I am able to roll back, and every thing is fine after that!
However since this issue seems to persist I would like it to be fixed to
be able to drop the =E2=80=98--do-not-upgrade=3Dicedtea=E2=80=99 option I a=
m adding every
time I am upgrading.

For now I have no clue regarding the origin of the problem which can be
reproduced from guix e90ce11 with the following commands:

  $ wget http://www-eu.apache.org/dist/ofbiz/apache-ofbiz-16.11.05.zip
  $ unzip apache-ofbiz-16.11.05.zip
  $ cd apache-ofbiz-16.11.05
  $ ./gradlew


Unfortunately the generation manifest containing the working jdk
predates the channel and inferior features so I can't easily describe
how to reproduce the working scenario.  The faulty generation diff is
the following:

--8<---------------cut here---------------start------------->8---
Generation 133	Oct 06 2018 23:43:20	(current)
 + icedtea	3.7.0	out	/gnu/store/3b3p13yq4x2db2b5hh47mwazyhy7pp8k-icedtea-3.=
7.0
 + icedtea	3.7.0	doc	/gnu/store/59iksqbfzx415rwiw5cdz5x4i447fxf7-icedtea-3.=
7.0-doc
 + icedtea	3.7.0	jdk	/gnu/store/4gqcigy8pax6q7zs146lrk0pmqg92rff-icedtea-3.=
7.0-jdk
 - icedtea	3.7.0	jdk	/gnu/store/mlldkkmkqwxazvsjk3db9kf9nbvg6fj9-icedtea-3.=
7.0-jdk
 - icedtea	3.7.0	doc	/gnu/store/84ijp91xcibg9bkg8ggs546lbvymc0cx-icedtea-3.=
7.0-doc
 - icedtea	3.7.0	out	/gnu/store/cvbql6ryimlcp4q2jgbkx116d87iy2zc-icedtea-3.=
7.0
--8<---------------cut here---------------end--------------->8---

Thanks.

--=20
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37




Acknowledgement sent to Mathieu Lirzin <mthl@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#32965; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.