GNU bug report logs - #40067
clojure does not find namespace "clojure.set"

Previous Next

Package: guix;

Reported by: Jesse Gibbons <jgibbons2357 <at> gmail.com>

Date: Sun, 15 Mar 2020 04:05:02 UTC

Severity: normal

Done: Eugen Stan <eugen.stan <at> netdava.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40067 in the body.
You can then email your comments to 40067 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40067; Package guix. (Sun, 15 Mar 2020 04:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jesse Gibbons <jgibbons2357 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 15 Mar 2020 04:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: clojure does not find namespace "clojure.set"
Date: Sat, 14 Mar 2020 22:04:07 -0600
A simple way to tell if clojure can find a namespace is to use the dir
macro on the repl. The following command should output items in the
clojure.string namespace followed by the items in the clojure.set
namespace:

java -jar `guix build clojure`/share/java/clojure.jar <<EOF
(dir clojure.string)
(dir clojure.set)
EOF

The first command is successful, but when it gets to the second command
it fails with the following error:

user=> Execution error at user/eval9637 (REPL:1).
No namespace: clojure.set found




I unzip'd the jar and found that the set$*.class files are indeed in
there. This is with openjdk, built with guix commit
ce226e9d8d52d2530f057f2000d36c0d55380ade. It also happens with openjdk.


-Jesse





Information forwarded to bug-guix <at> gnu.org:
bug#40067; Package guix. (Mon, 15 Mar 2021 20:21:02 GMT) Full text and rfc822 format available.

Message #8 received at 40067 <at> debbugs.gnu.org (full text, mbox):

From: Alex ter Weele <alex.ter.weele <at> gmail.com>
To: 40067 <at> debbugs.gnu.org
Subject: clojure does not find namespace "clojure.set"
Date: Mon, 15 Mar 2021 16:20:05 -0400
Hi Jesse,

I found that dir works once the namespace has been "require"d, so this
works:

user=> (require 'clojure.set)
nil
user=> (dir clojure.set)
difference
index
...


Given that, I'm not sure why (dir clojure.string) works, but I'm
guessing that once clojure starts, something has already done (require
'clojure.string).

I don't think there's a bug with the Guix clojure package here.




Reply sent to Eugen Stan <eugen.stan <at> netdava.com>:
You have taken responsibility. (Fri, 05 May 2023 06:54:04 GMT) Full text and rfc822 format available.

Notification sent to Jesse Gibbons <jgibbons2357 <at> gmail.com>:
bug acknowledged by developer. (Fri, 05 May 2023 06:54:05 GMT) Full text and rfc822 format available.

Message #13 received at 40067-done <at> debbugs.gnu.org (full text, mbox):

From: Eugen Stan <eugen.stan <at> netdava.com>
To: 40067-done <at> debbugs.gnu.org
Subject: clojure does not find namespace "clojure.set"
Date: Fri, 5 May 2023 00:21:53 +0300
[Message part 1 (text/plain, inline)]
I can confirm solution from Alex ter Weele .

This issue can be closed.

-- 
Eugen Stan

+40770 941 271  / https://www.netdava.com
[eugen_stan.vcf (text/vcard, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 Jun 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 328 days ago.

Previous Next


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