* Help request for new Clojure package definition
@ 2022-11-01 22:38 Fabio Natali
2022-11-05 18:50 ` Gary Johnson
0 siblings, 1 reply; 3+ messages in thread
From: Fabio Natali @ 2022-11-01 22:38 UTC (permalink / raw)
To: help-guix
Hi! :)
I'm trying to package Riddley [0], apparently a dependency for a Clojure
package I'm interested in.
I haven't done much - I started from one of the existing Clojure
definitions as an example and I went through a few iterations of
"build-fail-fix-repeat" until I reached the version below. Then I hit a
wall.
#+begin_src scheme
(define-public clojure-riddley
(package
(name "clojure-riddley")
(version "0.2.0")
(home-page "https://github.com/ztellman/riddley")
(source (origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1wpcjxsryzv36bf7ld0y9dw38dqhgji0wb8gsim6dmkgynbmz3q2"))))
(build-system clojure-build-system)
(arguments
'(#:source-dirs '("src/riddley")
#:java-source-dirs '("src/riddley")
#:test-dirs '("test/riddley")
#:doc-dirs '()))
(synopsis "A Clojure library for walking and transforming code")
(description "This library provides a correct
@code{riddley.walk/macroexpand-all}, which preserves the binding information in
@code{&env} and expands inlined functions, and @code{riddley.walk/walk-exprs},
which is a general mechanism for code walking and transformation.")
(license license:expat)))
#+end_src
This gives me an error that says:
#+begin_src text
[...]
Syntax error compiling at (REPL:1:1).
namespace 'compiler' not found after loading '/compiler'
[...]
#+end_src
Not sure how to go past this. Anyone has any idea on what the problem
could be?
Full error log attached. I'm launching the build in a repo checkout with
the following command:
#+begin_src shell :noeval
./pre-inst-env guix build clojure-riddley
#+end_src
Thanks, Fabio.
- [0] https://github.com/ztellman/riddley
#+begin_src text
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/bin:/gnu/store/08kr05d6iccn3x0pzk3p4hq8jigzr7kh-zip-3.0/bin:/gnu/store/g2ajyl8xk9aarxrgjbng2hkj3qm2v0z2-tar-1.34/bin:/gnu/store/iixwcv3k49ks1rf34pjgfzmzyhhgwng3-gzip-1.10/bin:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/bin:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/bin:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin:/gnu/store/ahmmvw21p11ik80lg1f953y7fd8bqkjm-diffutils-3.8/bin:/gnu/store/z39hnrwds1dgcbpfgj8dnv2cngjb2xbl-patch-2.7.6/bin:/gnu/store/39rsx3nl4c31952jybbjb8d6idr5hx7r-findutils-4.8.0/bin:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/bin:/gnu/store/wxgv6i8g0p24q5gcyzd0yr07s8kn9680-sed-4.8/bin:/gnu/store/xjwp2hsd9256icjjybfrmznppjicywf6-grep-3.6/bin:/gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32/bin:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin:/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin:/gnu/store/s2pg5k98fl2g2szg9dykxyd9zl3xihv9-ld-wrapper-0/bin:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/bin:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/sbin'
environment variable `BASH_LOADABLES_PATH' unset
environment variable `C_INCLUDE_PATH' set to `/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/include:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/include:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/include:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/include:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/include:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/include:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/include:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/include:/gnu/store/6mjww4iz4xdan74d5bbjfh7il8rngfkk-linux-libre-headers-5.10.35/include'
environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/include:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/include:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/include:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/include:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/include:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/include:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/include:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include/c++:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/include:/gnu/store/6mjww4iz4xdan74d5bbjfh7il8rngfkk-linux-libre-headers-5.10.35/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/lib:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/lib:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/lib:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/lib:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/lib:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib:/gnu/store/4jdghmc65q7i7ib89zmvq66l0ghf7jc4-glibc-2.33-static/lib:/gnu/store/fnr1z6xsan0437r0yg48d0y8k32kqxby-glibc-utf8-locales-2.33/lib'
environment variable `GUIX_LOCPATH' set to `/gnu/store/fnr1z6xsan0437r0yg48d0y8k32kqxby-glibc-utf8-locales-2.33/lib/locale'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
using 'en_US.utf8' locale for category "LC_ALL"
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
`/gnu/store/xmp88aj6dlfdwh83lf3dn6bqb434nlbw-clojure-riddley-0.2.0-checkout/.travis.yml' -> `./.travis.yml'
`/gnu/store/xmp88aj6dlfdwh83lf3dn6bqb434nlbw-clojure-riddley-0.2.0-checkout/README.md' -> `./README.md'
`/gnu/store/xmp88aj6dlfdwh83lf3dn6bqb434nlbw-clojure-riddley-0.2.0-checkout/project.clj' -> `./project.clj'
`/gnu/store/xmp88aj6dlfdwh83lf3dn6bqb434nlbw-clojure-riddley-0.2.0-checkout/.gitignore' -> `./.gitignore'
`/gnu/store/xmp88aj6dlfdwh83lf3dn6bqb434nlbw-clojure-riddley-0.2.0-checkout/test/riddley/walk_test.clj' -> `./test/riddley/walk_test.clj'
`/gnu/store/xmp88aj6dlfdwh83lf3dn6bqb434nlbw-clojure-riddley-0.2.0-checkout/docs/riddley.jpg' -> `./docs/riddley.jpg'
`/gnu/store/xmp88aj6dlfdwh83lf3dn6bqb434nlbw-clojure-riddley-0.2.0-checkout/src/riddley/walk.clj' -> `./src/riddley/walk.clj'
`/gnu/store/xmp88aj6dlfdwh83lf3dn6bqb434nlbw-clojure-riddley-0.2.0-checkout/src/riddley/Util.java' -> `./src/riddley/Util.java'
`/gnu/store/xmp88aj6dlfdwh83lf3dn6bqb434nlbw-clojure-riddley-0.2.0-checkout/src/riddley/compiler.clj' -> `./src/riddley/compiler.clj'
phase `unpack' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `configure'
phase `configure' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `compile-java'
[parsing started RegularFileObject[src/riddley/Util.java]]
[parsing completed 10ms]
[search path for source files: /gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure-1.11.1.jar,/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/applets/MoleculeViewer/MoleculeViewer.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/applets/WireFrame/WireFrame.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/CodePointIM/CodePointIM.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/FileChooserDemo/FileChooserDemo.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Font2DTest/Font2DTest.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Metalworks/Metalworks.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Notepad/Notepad.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/SampleTree/SampleTree.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/SwingApplet/SwingApplet.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/TableExample/TableExample.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/TransparentRuler/TransparentRuler.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jpda/examples.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/heapTracker/heapTracker.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/minst/minst.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/mtrace/mtrace.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/FullThreadDump/FullThreadDump.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/JTop/JTop.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/MemoryMonitor/MemoryMonitor.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/VerboseGC/VerboseGC.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/nio/zipfs/zipfs.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/scripting/jconsole-plugin/jconsole-plugin.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/charsets.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/cldrdata.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/dnsns.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/jaccess.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/localedata.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/nashorn.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunec.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunjce_provider.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunpkcs11.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/zipfs.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jce.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jfr.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jsse.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/management-agent.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/resources.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/rt.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/limited/US_export_policy.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/limited/local_policy.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/unlimited/US_export_policy.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/unlimited/local_policy.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/dt.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/jconsole.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/sa-jdi.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/tools.jar]
[search path for class files: /gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/resources.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/rt.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/sunrsasign.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jsse.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jce.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/charsets.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jfr.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/classes,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/dnsns.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/zipfs.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunpkcs11.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/jaccess.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/nashorn.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunec.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/localedata.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunjce_provider.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/cldrdata.jar,/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure-1.11.1.jar,/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/applets/MoleculeViewer/MoleculeViewer.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/applets/WireFrame/WireFrame.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/CodePointIM/CodePointIM.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/FileChooserDemo/FileChooserDemo.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Font2DTest/Font2DTest.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Metalworks/Metalworks.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Notepad/Notepad.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/SampleTree/SampleTree.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/SwingApplet/SwingApplet.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/TableExample/TableExample.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/TransparentRuler/TransparentRuler.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jpda/examples.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/heapTracker/heapTracker.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/minst/minst.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/mtrace/mtrace.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/FullThreadDump/FullThreadDump.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/JTop/JTop.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/MemoryMonitor/MemoryMonitor.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/VerboseGC/VerboseGC.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/nio/zipfs/zipfs.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/scripting/jconsole-plugin/jconsole-plugin.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/charsets.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/cldrdata.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/dnsns.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/jaccess.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/localedata.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/nashorn.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunec.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunjce_provider.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunpkcs11.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/zipfs.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jce.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jfr.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jsse.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/management-agent.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/resources.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/rt.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/limited/US_export_policy.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/limited/local_policy.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/unlimited/US_export_policy.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/unlimited/local_policy.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/dt.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/jconsole.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/sa-jdi.jar,/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/tools.jar]
[loading ZipFileIndexFileObject[/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure-1.11.1.jar(clojure/lang/Symbol.class)]]
[loading ZipFileIndexFileObject[/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure-1.11.1.jar(clojure/lang/Compiler.class)]]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Object.class)]]
[loading ZipFileIndexFileObject[/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure-1.11.1.jar(clojure/lang/Compiler$LocalBinding.class)]]
[checking riddley.Util]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/io/Serializable.class)]]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/lang/AutoCloseable.class)]]
[loading ZipFileIndexFileObject[/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure-1.11.1.jar(clojure/asm/Opcodes.class)]]
[loading ZipFileIndexFileObject[/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure-1.11.1.jar(clojure/lang/Compiler$Expr.class)]]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Byte.class)]]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Character.class)]]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Short.class)]]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Long.class)]]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Float.class)]]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Integer.class)]]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Double.class)]]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Boolean.class)]]
[loading ZipFileIndexFileObject[/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Void.class)]]
[loading ZipFileIndexFileObject[/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure-1.11.1.jar(clojure/lang/Compiler$C.class)]]
[loading ZipFileIndexFileObject[/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure-1.11.1.jar(clojure/lang/Compiler$PathNode.class)]]
[wrote RegularFileObject[java-classes/riddley/Util.class]]
[total 235ms]
phase `compile-java' succeeded after 0.4 seconds
starting phase `build'
Syntax error compiling at (REPL:1:1).
namespace 'compiler' not found after loading '/compiler'
Full report at:
/tmp/clojure-6593307330301642065.edn
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "java" arguments: ("-classpath" "/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure-1.11.1.jar:/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/applets/MoleculeViewer/MoleculeViewer.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/applets/WireFrame/WireFrame.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/CodePointIM/CodePointIM.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/FileChooserDemo/FileChooserDemo.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Font2DTest/Font2DTest.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Metalworks/Metalworks.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Notepad/Notepad.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/SampleTree/SampleTree.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/SwingApplet/SwingApplet.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/TableExample/TableExample.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/TransparentRuler/TransparentRuler.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jpda/examples.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/heapTracker/heapTracker.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/minst/minst.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/mtrace/mtrace.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/FullThreadDump/FullThreadDump.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/JTop/JTop.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/MemoryMonitor/MemoryMonitor.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/VerboseGC/VerboseGC.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/nio/zipfs/zipfs.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/scripting/jconsole-plugin/jconsole-plugin.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/charsets.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/cldrdata.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/dnsns.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/jaccess.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/localedata.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/nashorn.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunec.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunjce_provider.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunpkcs11.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/zipfs.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jce.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jfr.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jsse.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/management-agent.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/resources.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/rt.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/limited/US_export_policy.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/limited/local_policy.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/unlimited/US_export_policy.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/unlimited/local_policy.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/dt.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/jconsole.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/sa-jdi.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/tools.jar:classes/:java-classes/:src/riddley" "clojure.main" "--eval" "(run! compile (quote (compiler walk)))") exit-status: 1 term-signal: #f stop-signal: #f>
phase `build' failed after 0.6 seconds
command "java" "-classpath" "/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure-1.11.1.jar:/gnu/store/kdfrcfgxc18s782j5dw0gk8akllzr8p9-clojure-1.11.1/share/java/clojure.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/applets/MoleculeViewer/MoleculeViewer.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/applets/WireFrame/WireFrame.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/CodePointIM/CodePointIM.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/FileChooserDemo/FileChooserDemo.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Font2DTest/Font2DTest.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Metalworks/Metalworks.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/Notepad/Notepad.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/SampleTree/SampleTree.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/SwingApplet/SwingApplet.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/TableExample/TableExample.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jfc/TransparentRuler/TransparentRuler.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jpda/examples.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/heapTracker/heapTracker.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/minst/minst.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/jvmti/mtrace/mtrace.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/FullThreadDump/FullThreadDump.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/JTop/JTop.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/MemoryMonitor/MemoryMonitor.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/management/VerboseGC/VerboseGC.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/nio/zipfs/zipfs.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/demo/scripting/jconsole-plugin/jconsole-plugin.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/charsets.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/cldrdata.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/dnsns.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/jaccess.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/localedata.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/nashorn.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunec.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunjce_provider.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/sunpkcs11.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/ext/zipfs.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jce.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jfr.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/jsse.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/management-agent.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/resources.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/rt.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/limited/US_export_policy.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/limited/local_policy.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/unlimited/US_export_policy.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/jre/lib/security/policy/unlimited/local_policy.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/dt.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/jconsole.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/sa-jdi.jar:/gnu/store/n76xcsaac6cv205xlab1rnkv4y9acvy1-icedtea-3.19.0-jdk/lib/tools.jar:classes/:java-classes/:src/riddley" "clojure.main" "--eval" "(run! compile (quote (compiler walk)))" failed with status 1
#+end_src
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help request for new Clojure package definition
2022-11-01 22:38 Help request for new Clojure package definition Fabio Natali
@ 2022-11-05 18:50 ` Gary Johnson
2022-11-07 9:08 ` Fabio Natali
0 siblings, 1 reply; 3+ messages in thread
From: Gary Johnson @ 2022-11-05 18:50 UTC (permalink / raw)
To: Fabio Natali; +Cc: help-guix
Fabio Natali <me@fabionatali.com> writes:
> I'm trying to package Riddley [0], apparently a dependency for a Clojure
> package I'm interested in.
>
> I haven't done much - I started from one of the existing Clojure
> definitions as an example and I went through a few iterations of
> "build-fail-fix-repeat" until I reached the version below. Then I hit a
> wall.
>
> #+begin_src scheme
> (define-public clojure-riddley
> (package
> (name "clojure-riddley")
> (version "0.2.0")
> (home-page "https://github.com/ztellman/riddley")
> (source (origin
> (method git-fetch)
> (uri (git-reference
> (url home-page)
> (commit version)))
> (file-name (git-file-name name version))
> (sha256
> (base32
> "1wpcjxsryzv36bf7ld0y9dw38dqhgji0wb8gsim6dmkgynbmz3q2"))))
> (build-system clojure-build-system)
> (arguments
> '(#:source-dirs '("src/riddley")
> #:java-source-dirs '("src/riddley")
> #:test-dirs '("test/riddley")
> #:doc-dirs '()))
> (synopsis "A Clojure library for walking and transforming code")
> (description "This library provides a correct
> @code{riddley.walk/macroexpand-all}, which preserves the binding information in
> @code{&env} and expands inlined functions, and @code{riddley.walk/walk-exprs},
> which is a general mechanism for code walking and transformation.")
> (license license:expat)))
> #+end_src
>
Hi Fabio,
You are quite close. Remember that #:source-dirs and #:test-dirs are
added to the Java classpath when building and running your Clojure
programs. Because the Clojure namespaces in the clojure-riddley package
are riddley.compiler and riddley.walk, you have to make sure not to
include "riddley" in the #:source-dirs or #:test-dirs paths. Here is an
updated package definition that successfully builds on my machine with
the current version of Guix:
#+begin_src clojure
(define-public clojure-riddley
(package
(name "clojure-riddley")
(version "0.2.0")
(home-page "https://github.com/ztellman/riddley")
(source (origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1wpcjxsryzv36bf7ld0y9dw38dqhgji0wb8gsim6dmkgynbmz3q2"))))
(build-system clojure-build-system)
(arguments
'(#:source-dirs '("src")
#:java-source-dirs '("src/riddley")
#:test-dirs '("test")
#:doc-dirs '()))
(synopsis "A Clojure library for walking and transforming code")
(description "This library provides a correct
@code{riddley.walk/macroexpand-all}, which preserves the binding information in
@code{&env} and expands inlined functions, and @code{riddley.walk/walk-exprs},
which is a general mechanism for code walking and transformation.")
(license expat)))
#+end_src
--
GPG Key ID: 7BC158ED
Use `gpg --search-keys lambdatronic' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
=======================================================================
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
Why is HTML email a security nightmare? See https://useplaintext.email/
Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help request for new Clojure package definition
2022-11-05 18:50 ` Gary Johnson
@ 2022-11-07 9:08 ` Fabio Natali
0 siblings, 0 replies; 3+ messages in thread
From: Fabio Natali @ 2022-11-07 9:08 UTC (permalink / raw)
To: Gary Johnson; +Cc: help-guix
On 2022-11-05, 14:50 -0400, Gary Johnson <lambdatronic@disroot.org> wrote:
> Remember that #:source-dirs and #:test-dirs are added to the Java
> classpath when building and running your Clojure programs. Because the
> Clojure namespaces in the clojure-riddley package are riddley.compiler
> and riddley.walk, you have to make sure not to include "riddley" in
> the #:source-dirs or #:test-dirs paths.
Hey Gary, thanks for helping with this, a very clear explanation. It's a
joy to finally see the green light at the end of the build! Yay.
Have a lovely day, Fabio.
--
Fabio Natali, Director
Reckon Digital Ltd
20 Farringdon St, London, EC4A 4AB, United Kingdom
Registered in England and Wales, Company n. 09069017, VAT n. 188838636
https://reckondigital.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-07 9:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-01 22:38 Help request for new Clojure package definition Fabio Natali
2022-11-05 18:50 ` Gary Johnson
2022-11-07 9:08 ` Fabio Natali
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.