GNU bug report logs - #73317
Clojure: Couldn't find 'java'. Please set JAVA_HOME.

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: "Brennan Vincent" <brennan@HIDDEN>; dated Tue, 17 Sep 2024 15:03:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 17 Sep 2024 15:02:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 17 11:02:33 2024
Received: from localhost ([127.0.0.1]:55723 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sqZiq-0001kp-PO
	for submit <at> debbugs.gnu.org; Tue, 17 Sep 2024 11:02:33 -0400
Received: from lists.gnu.org ([209.51.188.17]:40694)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brennan@HIDDEN>) id 1sqZio-0001ke-VS
 for submit <at> debbugs.gnu.org; Tue, 17 Sep 2024 11:02:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <brennan@HIDDEN>)
 id 1sqZiZ-0002Kt-JS
 for bug-guix@HIDDEN; Tue, 17 Sep 2024 11:02:15 -0400
Received: from smtp.umanwizard.com ([54.203.248.109])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <brennan@HIDDEN>) id 1sqZiY-00058V-0o
 for bug-guix@HIDDEN; Tue, 17 Sep 2024 11:02:15 -0400
Received: from localhost ([174.229.35.99]) by smtp.umanwizard.com ;
 17 Sep 2024 15:02:10 +0000
X-Fes-Received-For: bug-guix@HIDDEN
X-Fes-Received-From: <brennan@HIDDEN>
From: "Brennan Vincent" <brennan@HIDDEN>
To: bug-guix@HIDDEN
Subject: Clojure: Couldn't find 'java'. Please set JAVA_HOME.
Date: Tue, 17 Sep 2024 11:02:08 -0400
Message-ID: <87v7yu5nnz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Fes-Encrypted: true
X-Fes-Ehlo-Domain: localhost
Received-SPF: pass client-ip=54.203.248.109;
 envelope-from=brennan@HIDDEN; helo=smtp.umanwizard.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
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: -2.4 (--)

Trying to run clojure in clojure-tools doesn't work:

$ guix shell --pure clojure-tools -- clojure
Couldn't find 'java'. Please set JAVA_HOME.

This comes closer:

$ guix shell --pure clojure-tools openjdk -- clojure
/gnu/store/v11866kb8y4rznf0b45zblvn718spnb6-profile/bin/clojure: line
285: mkdir: command not found

This works:

$ guix shell --pure clojure-tools openjdk coreutils -- clojure

So I guess we need to add openjdk and coreutils to the dependencies of clojure-tools.





Acknowledgement sent to "Brennan Vincent" <brennan@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#73317; 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: Sun, 12 Jan 2025 05:45:02 UTC

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