From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: bug#32965: =?UTF-8?Q?=E2=80=98./gradlew=E2=80=99?= fails to compile after Icedtea upgrade Date: Sun, 07 Oct 2018 11:33:40 +0200 Message-ID: <87pnwmxfrf.fsf@gnu.org> 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]:34872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g95hM-0001ts-7e for bug-guix@gnu.org; Sun, 07 Oct 2018 05:50:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g95hL-0002qh-4J for bug-guix@gnu.org; Sun, 07 Oct 2018 05:50:04 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34799) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g95hL-0002qZ-0V for bug-guix@gnu.org; Sun, 07 Oct 2018 05:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g95hK-0001L9-Ur for bug-guix@gnu.org; Sun, 07 Oct 2018 05:50:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g95gM-0001Dd-M4 for bug-guix@gnu.org; Sun, 07 Oct 2018 05:49:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g95RW-0003K5-MV for bug-guix@gnu.org; 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 ) id 1g95RW-0003Jv-HA for bug-guix@gnu.org; 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 ) id 1g95RW-0001mY-7B for bug-guix@gnu.org; Sun, 07 Oct 2018 05:33:42 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 32965@debbugs.gnu.org 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