From unknown Sun Jun 22 00:40:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#32295] [PATCH] gnu: clojure: Fix index generation. Resent-From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 28 Jul 2018 06:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32295 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 32295@debbugs.gnu.org Cc: =?UTF-8?Q?G=C3=A1bor?= Boskovits X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.153275815116389 (code B ref -1); Sat, 28 Jul 2018 06:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jul 2018 06:09:11 +0000 Received: from localhost ([127.0.0.1]:60700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjIPe-0004GF-V9 for submit@debbugs.gnu.org; Sat, 28 Jul 2018 02:09:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjIPd-0004G1-Fd for submit@debbugs.gnu.org; Sat, 28 Jul 2018 02:09:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjIPX-00045g-GH for submit@debbugs.gnu.org; Sat, 28 Jul 2018 02:09: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=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54653) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fjIPX-00045Y-Cv for submit@debbugs.gnu.org; Sat, 28 Jul 2018 02:09:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjIPV-00017Y-QW for guix-patches@gnu.org; Sat, 28 Jul 2018 02:09:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjIPS-00044E-L5 for guix-patches@gnu.org; Sat, 28 Jul 2018 02:09:01 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:34569) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fjIPS-00043B-Dg for guix-patches@gnu.org; Sat, 28 Jul 2018 02:08:58 -0400 Received: by mail-wr1-x42c.google.com with SMTP id c13-v6so7063754wrt.1 for ; Fri, 27 Jul 2018 23:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9sjwIJkA/lcafn2cRQcZViaIRBcvpQL39Na9eoPT3P0=; b=PpluTsMPmGVIZleNdJEO2UXHkydvc9hGVWtDjlCEkdB2hXUwHs5nZVfU6Jyorp9xWb l8ZsLC/iNpC6DQhR5SchUzxFXpPQkWq3787TDZJrp4b8tv1g2rBQTM0CamtaOvaRPhID lKt7n6Kx1sAIe3X3Sul2XKI4MxOkY49KVv3ABU8tfgwOVvIn74JV3rtUfUpq7DPIldiN QxIwcg4dq8KVGqgdtO9WfZjSGCC1a0aO0TCq/lMbcETlYhp6i4g2BsnQtNzgrtoNzew8 P5I1V8257xrjaqd9zi4/0PrJnLuVt6qZ503qMu5YvIr65e83HIwMNhmDNhypulsg2Jmp p5+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9sjwIJkA/lcafn2cRQcZViaIRBcvpQL39Na9eoPT3P0=; b=MEorYreYhsDLH7GBHGMNsEZsy0pKslyuzkmNtFaYIvlYRP8Jgoh3ic0dGG1n8AYn2a CEHCaHgV4YI40z55kvO9IJdnNsxhcGmUW+P2h/ysscghIgP4jjkPVbkzP53Jr03lo3Ie Ng8ZWFTJbCECIkx4X3vmKcYNiDa816+hvMlPVJpSBcpq3/vvOi/rBMc7tYN2WaprbTBO 7xoM97US5muDzGQL/LvKsAOusKeD9Wwde27iDg3VrAP15dLC1iv00k4gPZuFXO52dpET RdP1AKG4pjgiMcrccZH6vxs+NltXJr1LH0bWtf87zipj64tT7aPvkyNd7pHJnFheOBKQ YNeg== X-Gm-Message-State: AOUpUlHK07bnvkIM0sfDzEjW8wSlZTC9AqDuS0qNBDbYOAc4Zt/f+Afz iYidqy454ISxB/yCHe/pwftw/4w= X-Google-Smtp-Source: AAOMgpfWxXm3GNCf4WHhslW4xtB8gjrY4MJaYsbIyi9cyxVmqIp2zYCTzV5lMNpwRkobgbJu0NURpw== X-Received: by 2002:adf:ed8e:: with SMTP id c14-v6mr7707197wro.264.1532758136974; Fri, 27 Jul 2018 23:08:56 -0700 (PDT) Received: from localhost.localdomain (51B79998.dsl.pool.telekom.hu. [81.183.153.152]) by smtp.gmail.com with ESMTPSA id t13-v6sm7446139wrr.74.2018.07.27.23.08.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 23:08:56 -0700 (PDT) From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Date: Sat, 28 Jul 2018 08:08:45 +0200 Message-Id: <20180728060845.22800-1-boskovits@gmail.com> X-Mailer: git-send-email 2.18.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/packages/java.scm (clojure)[arguments]: Add phase 'fix-manifest-classpath to remove offending directory entry making indexing fail. --- gnu/packages/java.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 2ba6d76ca..0ff92c763 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1862,6 +1862,11 @@ new Date();")) "test-generative-src" "tools-namespace-src")) #t)) + (add-after 'unpack 'fix-manifest-classpath + (lambda _ + (substitute* "build.xml" + (("") "")) + #t)) ;; The javadoc target is not built by default. (add-after 'build 'build-doc (lambda _ -- 2.18.0 From unknown Sun Jun 22 00:40:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#32295] [PATCH] gnu: clojure: Fix index generation References: <20180728060845.22800-1-boskovits@gmail.com> In-Reply-To: <20180728060845.22800-1-boskovits@gmail.com> Resent-From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 28 Jul 2018 06:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32295 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 32295@debbugs.gnu.org Received: via spool by 32295-submit@debbugs.gnu.org id=B32295.153275939918232 (code B ref 32295); Sat, 28 Jul 2018 06:30:02 +0000 Received: (at 32295) by debbugs.gnu.org; 28 Jul 2018 06:29:59 +0000 Received: from localhost ([127.0.0.1]:60707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjIjm-0004k0-O6 for submit@debbugs.gnu.org; Sat, 28 Jul 2018 02:29:58 -0400 Received: from mail-io0-f171.google.com ([209.85.223.171]:36579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjIjl-0004jn-D7 for 32295@debbugs.gnu.org; Sat, 28 Jul 2018 02:29:57 -0400 Received: by mail-io0-f171.google.com with SMTP id r15-v6so5883995ioa.3 for <32295@debbugs.gnu.org>; Fri, 27 Jul 2018 23:29:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=cBybS3cb1LkCMLYKCsZPmVvDk2wyHQAEiuQL7Yu3+VU=; b=VJ8CRwjkpgpAPa7fqyJvhiqpxZd3UzAk2Tvj0SlSpkCAdDCMO+NOkZtkLU9cXOpU1/ //XmRw4wFXDNjbtA/atdm/3+pAGGn2eHLN6NwzKJjSUhJVrMdv+TIvz5i9XvAQQy6jV7 R6ElpGOzedch1aT3BnsZLDaf8us/dNtXaa0q3vQPVW2/4asG3eRRFw4llySVhCry3fN+ yWbxBe0Ia7dBxrgpawVLqcWuCy2pXvSmH1O6Lx+1L8Sq6TOc8CCweTHKHbn6RmKeq0zD rq0+/oMbPCtTWEhKh0BZ4aMedGXxtmNJ6od8FwswdLic56pqzb2mPaHVieq82lWdLpzV nd9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cBybS3cb1LkCMLYKCsZPmVvDk2wyHQAEiuQL7Yu3+VU=; b=f6zxl23kN3HvRfx2bMMUPyydButVOR3G+OGOmIs8/TdmDeTuSPWtTpJKsrVPRvZ966 A58Qk96RrUklxuQpR2zAh3L7A75LWio/we9sdjLnna+f1PT6SiJ2FaPx6WVh1WkWI3q3 5sdvGF5oAqSdJRDirtSUBTA1Umt7NZ/oya1mT9WHBGNNBKW+XCORw8q1S44EqmuQqLtb GtW2cGbY+J6aH6x68X5RZJwf0CZ7IvuTOhKdQ2Yur0WL3616BmEyCgUvQC79PGzm1ALJ R6LnnUqoVpu4AN49SHPFAbyIpOXppCqH6OSlMXj4vEWBjakv9eTmxIi7m2cbs3bT54gI n0XQ== X-Gm-Message-State: AOUpUlEssk9fprF2nDEgr7Fdib74Q9FoTfXd/39jSY4RQFWbtLUgM7PH RnUkFS6jPeXe8oDZECSi7pj8y0wUDaMYoQjo6fLw X-Google-Smtp-Source: AAOMgpev2Xw3ByprIxiL1clUnusu4EPN9VVOVHDF4k5D2QmD+TrMi41fYIdpXnVn9y5PSsuI9L6imAonKszFex9fHcs= X-Received: by 2002:a5e:950d:: with SMTP id r13-v6mr7011969ioj.224.1532759391661; Fri, 27 Jul 2018 23:29:51 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Date: Sat, 28 Jul 2018 08:29:40 +0200 Message-ID: Content-Type: multipart/alternative; boundary="00000000000010f6200572095bdf" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000010f6200572095bdf Content-Type: text/plain; charset="UTF-8" I could use some help from someone more familiar with clojure uses. On current master clojure does not build, as the manifest contains Class-Path: . and jar -i throws exception in phase 'generate-jar-indices. The patch I proposed removes the classpath from the manifest. Do you think this can interfere with normal uses of clojure? Another possible solution would be to delete the index generation phase, but I'm not sure about the implications here either. WDYT? --00000000000010f6200572095bdf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I could use some help from someone more familiar with cloj= ure uses.

On current master clojure does not build, as t= he manifest contains
Class-Path: .
and jar -i throws ex= ception in phase 'generate-jar-indices.

The pa= tch I proposed removes the classpath from the manifest. Do you think this c= an interfere with normal uses of clojure?

Another = possible solution would be to delete the index generation phase, but I'= m not sure about the implications here either.

WDY= T?
--00000000000010f6200572095bdf-- From unknown Sun Jun 22 00:40:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#32295] [PATCH] gnu: clojure: Fix index generation Resent-From: Alex ter Weele Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Jul 2018 03:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32295 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?G=C3=A1bor?= Boskovits Cc: 32295@debbugs.gnu.org Received: via spool by 32295-submit@debbugs.gnu.org id=B32295.15328335189869 (code B ref 32295); Sun, 29 Jul 2018 03:06:01 +0000 Received: (at 32295) by debbugs.gnu.org; 29 Jul 2018 03:05:18 +0000 Received: from localhost ([127.0.0.1]:33184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjc1F-0002Z7-N7 for submit@debbugs.gnu.org; Sat, 28 Jul 2018 23:05:17 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:36523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjc1D-0002Yu-U4 for 32295@debbugs.gnu.org; Sat, 28 Jul 2018 23:05:16 -0400 Received: by mail-qt0-f193.google.com with SMTP id t5-v6so8945080qtn.3 for <32295@debbugs.gnu.org>; Sat, 28 Jul 2018 20:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=4MMh3kP4bFFwvNfSRKNGJ7o18ndRQRoFpYpI/aKJTHM=; b=VpokZqpa9LBrslt/ZcoTFPDr9bB3mV7HUXThi9JH/MuEFCL6LuL52es4/ERsWlysZG bGUdCoK+vhHPy6ajL3Zl2Zf+cgNoH7iEZRVe7SWecmtjasSGuNq4r1glmaHKBmBGiCRz LhQUoh/iBBSc/lcw+kJXB0uOT8BwQXSU04MGyYpu3m3ppa9+ikytM8+j89Vs5+5q8qvp 9qcNT9YVNimTuTs6q06gmO/bWYekCTb+6bVgKjGjTu1iXI/AiHYXdSVsbFF3XJ964pX3 9p9+xt3HALiqP00XdDMqxFcAld5lSFjEnowgiF96/uo6NWNtiiBfV6k6lG9py/r3ZoGS oNLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=4MMh3kP4bFFwvNfSRKNGJ7o18ndRQRoFpYpI/aKJTHM=; b=Z3nV5uyG30D5291r9OAmbnd5orFwUltcBcS8yBrE1L7nWBBlmn6ZXpI8taUZ2+wHr9 +L8FUnMgngSsmaRdvhLN2WU63JgikP6JV2VpXjOQuTQbJm9cIGi52uh5Agt2XepHoQht fczhHk5EL6x3sw5CZ2j2tpPrhjdAVD8VXzuTD0kOB8HPNmXVJcxmPkmp6gmBV5Vd4Q9Z +BwXAX2GkWxJpDUyNlJqavI2toCDJk249/PbyhXlEhUFBY0nnZggzWSF5d9igBdKdYtS 8QMzskTYsGu3QtNj91IPnZ+edlJPVGanfUnVabxcVXgut9kLJxgSSnGXuiFw6zutDaYT dCLw== X-Gm-Message-State: AOUpUlHQmyNWbZg2tF8B/I7BlUlHCShuortvn7aH5MPOa4w8qFoEmlz2 KrFGprVi9XDdKeVUgdPcIC+H3ECW X-Google-Smtp-Source: AAOMgpfGy1zkaRwu77OcuvhMD6Ks0sf/ZjLEz7a1pLvX2EKUspzU+KkpSzlclEE/B7lbw+qZK7hk9Q== X-Received: by 2002:a0c:d0e3:: with SMTP id b32-v6mr10681085qvh.236.1532833510333; Sat, 28 Jul 2018 20:05:10 -0700 (PDT) Received: from librem (24-148-50-16.s5644.c3-0.mart-ubr1.chi-mart.il.cable.rcncustomer.com. [24.148.50.16]) by smtp.gmail.com with ESMTPSA id y8-v6sm5623608qta.42.2018.07.28.20.05.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Jul 2018 20:05:09 -0700 (PDT) From: Alex ter Weele X-Google-Original-From: Alex ter Weele References: <20180728060845.22800-1-boskovits@gmail.com> Date: Sat, 28 Jul 2018 22:05:08 -0500 In-Reply-To: ("=?UTF-8?Q?G=C3=A1bor?= Boskovits"'s message of "Sat, 28 Jul 2018 08:29:40 +0200") Message-ID: <87d0v6rbbv.fsf@librem.i-did-not-set--mail-host-address--so-tickle-me> 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-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) G=C3=A1bor Boskovits writes: > I could use some help from someone more familiar with clojure uses. > > On current master clojure does not build, as the manifest contains > Class-Path: . > and jar -i throws exception in phase 'generate-jar-indices. > > The patch I proposed removes the classpath from the manifest. Do you > think this can interfere with normal uses of clojure? > G=C3=A1bor, I applied your patch and did the following: $ guix environment guix -- make -j4 && ./pre-inst-env guix environment --ad= -hoc icedtea clojure ... $ java -jar $GUIX_ENVIRONMENT/share/java/clojure-1.9.0.jar Clojure 1.9.0 user=3D> (inc 0) 1 user=3D> (clojure.set/difference #{1 2} #{1}) ClassNotFoundException clojure.set java.net.URLClassLoader.findClass (URLC= lassLoader.java:381) user=3D> (require 'clojure.set) nil user=3D> (clojure.set/difference #{1 2} #{1}) #{2} Constructing the environment caused Clojures's test suite to run with no failures. Based on a cursory test, I think that Clojure is working as expected. I also looked into what the removed line means. https://ant.apache.org/manual/Tasks/jar.html explains that in the "jar" task specifies an inline manifest. https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.ht= ml#classpath explains the meaning of a Class-Path in a manifest. So, I believe that means that at runtime, JARs in the same directory as the Clojure JAR will be available on the classpath. I believe that the line was added in this commit https://github.com/clojure/clojure/commit/36868a7734f15c51eb1831aa9d72a1454= 4496987#diff-2cccd7bf48b7a9cc113ff564acd802a8R30. The age of the commit and the commit message lead me to believe that it was added as a convenience during the early development of Clojure and may be removable upstream now. I may ask about that on the Clojure mailing list. > Another possible solution would be to delete the index generation > phase, but I'm not sure about the implications here either. > > WDYT? I also tried this and did the same as above. Clojure's test suite ran again and had no failures. However, generate-jar-indices in (guix build ant-build-system) has a docstring which suggests that the phase is necessary to prevent garbage collection of the dependencies of the JAR file. So it would seem like your patch is the best way to go =E2=98=BA P.S.: G=C3=A1bor, thanks for your work on Java packages recently! With a maven-build-system, I think I can bootstrap leiningen, which I'd really like to see in the distribution. From unknown Sun Jun 22 00:40:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#32295] [PATCH] gnu: clojure: Fix index generation Resent-From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Jul 2018 06:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32295 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: alex.ter.weele@gmail.com Cc: 32295@debbugs.gnu.org Received: via spool by 32295-submit@debbugs.gnu.org id=B32295.153284633830579 (code B ref 32295); Sun, 29 Jul 2018 06:39:01 +0000 Received: (at 32295) by debbugs.gnu.org; 29 Jul 2018 06:38:58 +0000 Received: from localhost ([127.0.0.1]:33206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjfM2-0007x8-BF for submit@debbugs.gnu.org; Sun, 29 Jul 2018 02:38:58 -0400 Received: from mail-io0-f175.google.com ([209.85.223.175]:36532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjfLz-0007ws-Ii for 32295@debbugs.gnu.org; Sun, 29 Jul 2018 02:38:56 -0400 Received: by mail-io0-f175.google.com with SMTP id r15-v6so7364425ioa.3 for <32295@debbugs.gnu.org>; Sat, 28 Jul 2018 23:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IdxsAHbNuKURhUtDSMCW7gy+oZ/AFF79ig129p1z+Mc=; b=czufB6EKEfUVT7WcnfBQbCNaPaW1YrbVX8x28dNvGPztVOW+0G2hookApsdzZSdxrZ 8pY4m5nHxs9VwMeDbEaEgG3r+YUtj4fe8lVo6TvrEFjcFa6kwxnwgUli1ypKM3UJWBrh zjVbpNl387jZ55Vh8pxDY+sP9e/j/IKlcuAnZoyJTu4l0YcRU/Q37YR3MjUk9DDh9Gkv 8zp7RLnwWp3oHmLdneTG3FTDgWcL9AYCoBguzCGkMTZgqKqU7gq/XabNEshutxNRbeRm 2j+0vRRjbqY+qx6chANnjmzSza+3cwzCJbnc81d+bWLT4XZMM2xipoGb6XNgor1+FaCI 4lVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IdxsAHbNuKURhUtDSMCW7gy+oZ/AFF79ig129p1z+Mc=; b=TR/THdaWw3vvXpVbItWUItF1nQR6AiNz2u+BATeV5sUrl7soeRuyPZEGvIF/mfoJR/ VboVZx2N4/T9GsCWclVKxrAwyCNR/mQ1rI3RutYWIOcMom8b7j4B99uK+xA4oFzzI4lh l+jdAymetzVLFhWzJI5L8Niumr7IHcFMquHOyHwsTSs3BAfojmoN45GRiEfXP89yrw+k r2AzpXj0RPuOoLVDZBjMucRLiN/NUMAflCjYMVivn6ZrsaPHw/+b8RXpylb4Oin7I7vS mCS3EOupCvWtM4B2Jbn8Kz6X6ABAytKnT9B5MXA52SRTH5KXrFOQmRSB6NNFo4WlN+kS IZtg== X-Gm-Message-State: AOUpUlHF0GyMw7BV7C3iD1fnQL1RgY67B3JgL3DBN+EGOvp9OKVKD/Ws 1BDNFisVNyx2/rdGRWYo/jcXdteJBfWa3o6l2w== X-Google-Smtp-Source: AAOMgpcqJzkJL/HSU1qh8Qng/FF5Bxe+OvHPT8UXVm8yYLiX+v/IRaYSRwHpczzM3Lt2y4x2T5dPHbK1xjQVk5BtF8I= X-Received: by 2002:a5e:950d:: with SMTP id r13-v6mr9445844ioj.224.1532846329900; Sat, 28 Jul 2018 23:38:49 -0700 (PDT) MIME-Version: 1.0 References: <20180728060845.22800-1-boskovits@gmail.com> <87d0v6rbbv.fsf@librem.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <87d0v6rbbv.fsf@librem.i-did-not-set--mail-host-address--so-tickle-me> From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Date: Sun, 29 Jul 2018 08:38:38 +0200 Message-ID: Content-Type: multipart/alternative; boundary="000000000000fd354405721d98df" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000fd354405721d98df Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Alex ter Weele ezt =C3=ADrta (id=C5=91pont: 2018= . j=C3=BAl. 29., V, 5:05): > G=C3=A1bor Boskovits writes: > > > I could use some help from someone more familiar with clojure uses. > > > > On current master clojure does not build, as the manifest contains > > Class-Path: . > > and jar -i throws exception in phase 'generate-jar-indices. > > > > The patch I proposed removes the classpath from the manifest. Do you > > think this can interfere with normal uses of clojure? > > > > G=C3=A1bor, > > I applied your patch and did the following: > > $ guix environment guix -- make -j4 && ./pre-inst-env guix environment > --ad-hoc icedtea clojure > ... > $ java -jar $GUIX_ENVIRONMENT/share/java/clojure-1.9.0.jar > Clojure 1.9.0 > user=3D> (inc 0) > 1 > user=3D> (clojure.set/difference #{1 2} #{1}) > ClassNotFoundException clojure.set java.net.URLClassLoader.findClass > (URLClassLoader.java:381) > user=3D> (require 'clojure.set) > nil > user=3D> (clojure.set/difference #{1 2} #{1}) > #{2} > > Constructing the environment caused Clojures's test suite to run with no > failures. Based on a cursory test, I think that Clojure is working as > expected. > > Thanks for the review, I will apply this patch then. > I also looked into what the removed line > means. https://ant.apache.org/manual/Tasks/jar.html explains that > in the "jar" task specifies an inline > manifest. > https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html#class= path > explains the meaning of a Class-Path in a manifest. So, I believe that > means that at runtime, JARs in the same directory as the Clojure JAR > will be available on the classpath. > > I believe that the line was > added in this commit > > https://github.com/clojure/clojure/commit/36868a7734f15c51eb1831aa9d72a14= 544496987#diff-2cccd7bf48b7a9cc113ff564acd802a8R30. > The > age of the commit and the commit message lead me to believe that it was > added as a convenience during the early development of Clojure and may > be removable upstream now. I may ask about that on the Clojure mailing > list. > > > Another possible solution would be to delete the index generation > > phase, but I'm not sure about the implications here either. > > > > WDYT? > > I also tried this and did the same as above. Clojure's test suite ran > again and had no failures. However, generate-jar-indices in (guix build > ant-build-system) has a docstring which suggests that the phase is > necessary to prevent garbage collection of the dependencies of the JAR > file. So it would seem like your patch is the best way to go =E2=98=BA > > P.S.: G=C3=A1bor, thanks for your work on Java packages recently! With a > maven-build-system, I think I can bootstrap leiningen, which I'd really > like to see in the distribution. > > --000000000000fd354405721d98df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Alex ter Weele= <alex.ter.weele@gmail.com> ezt =C3=ADrta (id=C5=91pont: 2018. j=C3=BAl. 29., V, 5:05):
G=C3=A1bor Boskovits <boskovits@gmail.com> writes:<= br>
> I could use some help from someone more familiar with clojure uses. >
> On current master clojure does not build, as the manifest contains
> Class-Path: .
> and jar -i throws exception in phase 'generate-jar-indices.
>
> The patch I proposed removes the classpath from the manifest. Do you > think this can interfere with normal uses of clojure?
>

G=C3=A1bor,

I applied your patch and did the following:

$ guix environment guix -- make -j4 && ./pre-inst-env guix environm= ent --ad-hoc icedtea clojure
...
$ java -jar $GUIX_ENVIRONMENT/share/java/clojure-1.9.0.jar
Clojure 1.9.0
user=3D> (inc 0)
1
user=3D> (clojure.set/difference #{1 2} #{1})
ClassNotFoundException clojure.set=C2=A0 java.net.URLClassLoader.findClass = (URLClassLoader.java:381)
user=3D> (require 'clojure.set)
nil
user=3D> (clojure.set/difference #{1 2} #{1})
#{2}

Constructing the environment caused Clojures's test suite to run with n= o
failures. Based on a cursory test, I think that Clojure is working as
expected.


Thanks for the review, I will apply th= is patch then.
=C2=A0
I also looked into what the removed line
means. https://ant.apache.org/manual/Tasks/jar.html = explains that
<manifest> in the "jar" task specifies an inline
manifest. https://docs.= oracle.com/javase/8/docs/technotes/guides/jar/jar.html#classpath
explains the meaning of a Class-Path in a manifest. So, I believe that
means that at runtime, JARs in the same directory as the Clojure JAR
will be available on the classpath.

I believe that the <attribute name=3D"Class-Path" value=3D&quo= t;."/> line was
added in this commit
https://github.com/clojure/clojure/commit/36868a7734= f15c51eb1831aa9d72a14544496987#diff-2cccd7bf48b7a9cc113ff564acd802a8R30= . The
age of the commit and the commit message lead me to believe that it was
added as a convenience during the early development of Clojure and may
be removable upstream now. I may ask about that on the Clojure mailing
list.

> Another possible solution would be to delete the index generation
> phase, but I'm not sure about the implications here either.
>
> WDYT?

I also tried this and did the same as above. Clojure's test suite ran again and had no failures. However, generate-jar-indices in (guix build
ant-build-system) has a docstring which suggests that the phase is
necessary to prevent garbage collection of the dependencies of the JAR
file. So it would seem like your patch is the best way to go =E2=98=BA

P.S.: G=C3=A1bor, thanks for your work on Java packages recently! With a maven-build-system, I think I can bootstrap leiningen, which I'd really=
like to see in the distribution.

--000000000000fd354405721d98df-- From unknown Sun Jun 22 00:40:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?G=C3=A1bor?= Boskovits Subject: bug#32295: closed (gnu: clojure: Fix index generation.) Message-ID: References: <20180728060845.22800-1-boskovits@gmail.com> X-Gnu-PR-Message: they-closed 32295 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 32295@debbugs.gnu.org Date: Sun, 29 Jul 2018 10:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1532858582-24406-1" This is a multi-part message in MIME format... ------------=_1532858582-24406-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32295: [PATCH] gnu: clojure: Fix index generation. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 32295@debbugs.gnu.org. --=20 32295: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32295 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1532858582-24406-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32295-done) by debbugs.gnu.org; 29 Jul 2018 10:02:10 +0000 Received: from localhost ([127.0.0.1]:33243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjiWf-0006KX-Sz for submit@debbugs.gnu.org; Sun, 29 Jul 2018 06:02:10 -0400 Received: from mail-io0-f180.google.com ([209.85.223.180]:34527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjiWe-0006KL-22 for 32295-done@debbugs.gnu.org; Sun, 29 Jul 2018 06:02:08 -0400 Received: by mail-io0-f180.google.com with SMTP id l7-v6so7559687ioj.1 for <32295-done@debbugs.gnu.org>; Sun, 29 Jul 2018 03:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PIJNM05a60ablbWC4ve3DvTROjglAxQzMNnunOAqYwU=; b=gBROcb+R97nJ6mRv894iSOmThlC07D+mDyUtshUk92UnyjYU7kboF9jbyZ3y+jFca3 Fu/0wE5dzeUqdgGSr861YW4zKlvn2bCSzTrl10Tp2+VIqWVhcRvuE+Vgh4N6WrP724Kn fnJ8G8ejNqALmRjOwWCRk6k+XviGF3pP2Om+gIHmVZRIKC4PnI0b5brE3+BZ879JbKS5 TO2HtsvhuKQBI9cUeycYOLU2D41OhsoBZefUnkjWn09EdQiv9wW0rgPCK+Io3WHwS6G1 UPH88MEVsOEouJ6OD47o1s/Z68YevkZ4vp6Jz94BjbY2VfwPDK+yLVuuSYYWWlzFZf5H EYiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PIJNM05a60ablbWC4ve3DvTROjglAxQzMNnunOAqYwU=; b=NilTiPW0vHjXoy2Z1a+2ASNaOyzevyWMXYVEqWkf1+4G8tsODP2BEgeOmv++3AEB0Q QOwl2l0o7+6Pa8ideTfbQWu7Ye9sxzK34ibOY6Bc+3KK82MIg6BBd2bXkKlF7UllyLSb oRDAL2czt5f/eQo7bKpaqL4+mmkBid/h0e5Rpvxl3CauUIVe8AKM7YsJbgk1Mc49Hfsw ZAz7xk0FR3EQkQ/hM0AVoxBEG4vcGKobMoBtU/JLNv14x8p4geFIuKpNOs3jBuCj2Qp7 OAsJUiYKYwPgqGdPfM3i5T3IUvIawSr5ndmVC9NWCQcJ3p2GfsYGExLsnD+fuAO6Gyts MGvw== X-Gm-Message-State: AOUpUlEkvg5AYBUXMGGBvZJ2wonPe48Wsa9nXIJ7tlXR5qvA+9s1E//o j4nDr0ShCvaZKf9zMoykh4MczwIhHME6PaTNeD5/h/M= X-Google-Smtp-Source: AAOMgpdywqEbUSONFStqdajrqK0SoPbHbpF0XIx9eH/kItmx9EOanSAGWAG+IRfQ13osfG2q8RTtSbweUw8BVF+xx/g= X-Received: by 2002:a6b:343:: with SMTP id 64-v6mr10989415iod.66.1532858522229; Sun, 29 Jul 2018 03:02:02 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Date: Sun, 29 Jul 2018 12:01:51 +0200 Message-ID: Subject: gnu: clojure: Fix index generation. To: 32295-done@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000b55ea20572206fa4" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Fixed on master as commit 62196859227a91a206deceaae2829d9c32308347. Fixed on master as commit 62196859227a91a206deceaae2829d9c32308347. [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (boskovits[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.223.180 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 1.2 HTML_OBFUSCATE_10_20 BODY: Message is 10% to 20% HTML obfuscation 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.223.180 listed in wl.mailspike.net] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 32295-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) --000000000000b55ea20572206fa4 Content-Type: text/plain; charset="UTF-8" Fixed on master as commit 62196859227a91a206deceaae2829d9c32308347. --000000000000b55ea20572206fa4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Fixed on master as commit=C2=A062196859227a91a206deceaae2829d9c32308347.
--000000000000b55ea20572206fa4-- ------------=_1532858582-24406-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Jul 2018 06:09:11 +0000 Received: from localhost ([127.0.0.1]:60700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjIPe-0004GF-V9 for submit@debbugs.gnu.org; Sat, 28 Jul 2018 02:09:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjIPd-0004G1-Fd for submit@debbugs.gnu.org; Sat, 28 Jul 2018 02:09:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjIPX-00045g-GH for submit@debbugs.gnu.org; Sat, 28 Jul 2018 02:09: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=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54653) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fjIPX-00045Y-Cv for submit@debbugs.gnu.org; Sat, 28 Jul 2018 02:09:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjIPV-00017Y-QW for guix-patches@gnu.org; Sat, 28 Jul 2018 02:09:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjIPS-00044E-L5 for guix-patches@gnu.org; Sat, 28 Jul 2018 02:09:01 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:34569) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fjIPS-00043B-Dg for guix-patches@gnu.org; Sat, 28 Jul 2018 02:08:58 -0400 Received: by mail-wr1-x42c.google.com with SMTP id c13-v6so7063754wrt.1 for ; Fri, 27 Jul 2018 23:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9sjwIJkA/lcafn2cRQcZViaIRBcvpQL39Na9eoPT3P0=; b=PpluTsMPmGVIZleNdJEO2UXHkydvc9hGVWtDjlCEkdB2hXUwHs5nZVfU6Jyorp9xWb l8ZsLC/iNpC6DQhR5SchUzxFXpPQkWq3787TDZJrp4b8tv1g2rBQTM0CamtaOvaRPhID lKt7n6Kx1sAIe3X3Sul2XKI4MxOkY49KVv3ABU8tfgwOVvIn74JV3rtUfUpq7DPIldiN QxIwcg4dq8KVGqgdtO9WfZjSGCC1a0aO0TCq/lMbcETlYhp6i4g2BsnQtNzgrtoNzew8 P5I1V8257xrjaqd9zi4/0PrJnLuVt6qZ503qMu5YvIr65e83HIwMNhmDNhypulsg2Jmp p5+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9sjwIJkA/lcafn2cRQcZViaIRBcvpQL39Na9eoPT3P0=; b=MEorYreYhsDLH7GBHGMNsEZsy0pKslyuzkmNtFaYIvlYRP8Jgoh3ic0dGG1n8AYn2a CEHCaHgV4YI40z55kvO9IJdnNsxhcGmUW+P2h/ysscghIgP4jjkPVbkzP53Jr03lo3Ie Ng8ZWFTJbCECIkx4X3vmKcYNiDa816+hvMlPVJpSBcpq3/vvOi/rBMc7tYN2WaprbTBO 7xoM97US5muDzGQL/LvKsAOusKeD9Wwde27iDg3VrAP15dLC1iv00k4gPZuFXO52dpET RdP1AKG4pjgiMcrccZH6vxs+NltXJr1LH0bWtf87zipj64tT7aPvkyNd7pHJnFheOBKQ YNeg== X-Gm-Message-State: AOUpUlHK07bnvkIM0sfDzEjW8wSlZTC9AqDuS0qNBDbYOAc4Zt/f+Afz iYidqy454ISxB/yCHe/pwftw/4w= X-Google-Smtp-Source: AAOMgpfWxXm3GNCf4WHhslW4xtB8gjrY4MJaYsbIyi9cyxVmqIp2zYCTzV5lMNpwRkobgbJu0NURpw== X-Received: by 2002:adf:ed8e:: with SMTP id c14-v6mr7707197wro.264.1532758136974; Fri, 27 Jul 2018 23:08:56 -0700 (PDT) Received: from localhost.localdomain (51B79998.dsl.pool.telekom.hu. [81.183.153.152]) by smtp.gmail.com with ESMTPSA id t13-v6sm7446139wrr.74.2018.07.27.23.08.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 23:08:56 -0700 (PDT) From: =?UTF-8?q?G=C3=A1bor=20Boskovits?= To: guix-patches@gnu.org Subject: [PATCH] gnu: clojure: Fix index generation. Date: Sat, 28 Jul 2018 08:08:45 +0200 Message-Id: <20180728060845.22800-1-boskovits@gmail.com> X-Mailer: git-send-email 2.18.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?G=C3=A1bor=20Boskovits?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/packages/java.scm (clojure)[arguments]: Add phase 'fix-manifest-classpath to remove offending directory entry making indexing fail. --- gnu/packages/java.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 2ba6d76ca..0ff92c763 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1862,6 +1862,11 @@ new Date();")) "test-generative-src" "tools-namespace-src")) #t)) + (add-after 'unpack 'fix-manifest-classpath + (lambda _ + (substitute* "build.xml" + (("") "")) + #t)) ;; The javadoc target is not built by default. (add-after 'build 'build-doc (lambda _ -- 2.18.0 ------------=_1532858582-24406-1--