Description
Bug Report
Description
I've tried to run clojure on the cooley-tukey code example. This is a default clojure setup (using the devcontainer setup, but should be the same on a fresh install).
This is the output:
Downloading: org/clojure/clojure/1.10.3/clojure-1.10.3.pom from central
Downloading: org/clojure/spec.alpha/0.2.194/spec.alpha-0.2.194.pom from central
Downloading: org/clojure/pom.contrib/0.3.0/pom.contrib-0.3.0.pom from central
Downloading: org/clojure/core.specs.alpha/0.2.56/core.specs.alpha-0.2.56.pom from central
Downloading: org/clojure/core.specs.alpha/0.2.56/core.specs.alpha-0.2.56.jar from central
Downloading: org/clojure/spec.alpha/0.2.194/spec.alpha-0.2.194.jar from central
Downloading: org/clojure/clojure/1.10.3/clojure-1.10.3.jar from central
WARNING: Implicit use of clojure.main with options is deprecated, use -M
Syntax error (FileNotFoundException) compiling at (contents/cooley_tukey/code/clojure/fft.clj:1:1).
Could not locate complex/core__init.class, complex/core.clj or complex/core.cljc on classpath.
A clear and concise description of what the bug is.
Content of the .edn
:
{:clojure.main/message
"Syntax error (FileNotFoundException) compiling at (contents/cooley_tukey/code/clojure/fft.clj:1:1).\nCould not locate complex/core__init.class, complex/core.clj or complex/core.cljc on classpath.\n",
:clojure.main/triage
{:clojure.error/phase :compile-syntax-check,
:clojure.error/line 1,
:clojure.error/column 1,
:clojure.error/source "fft.clj",
:clojure.error/path "contents/cooley_tukey/code/clojure/fft.clj",
:clojure.error/class java.io.FileNotFoundException,
:clojure.error/cause
"Could not locate complex/core__init.class, complex/core.clj or complex/core.cljc on classpath."},
:clojure.main/trace
{:via
[{:type clojure.lang.Compiler$CompilerException,
:message
"Syntax error compiling at (/workspaces/algorithm-archive/contents/cooley_tukey/code/clojure/fft.clj:1:1).",
:data
{:clojure.error/phase :compile-syntax-check,
:clojure.error/line 1,
:clojure.error/column 1,
:clojure.error/source
"/workspaces/algorithm-archive/contents/cooley_tukey/code/clojure/fft.clj"},
:at [clojure.lang.Compiler load "Compiler.java" 7652]}
{:type java.io.FileNotFoundException,
:message
"Could not locate complex/core__init.class, complex/core.clj or complex/core.cljc on classpath.",
:at [clojure.lang.RT load "RT.java" 462]}],
:trace
[[clojure.lang.RT load "RT.java" 462]
[clojure.lang.RT load "RT.java" 424]
[clojure.core$load$fn__6856 invoke "core.clj" 6115]
[clojure.core$load invokeStatic "core.clj" 6114]
[clojure.core$load doInvoke "core.clj" 6098]
[clojure.lang.RestFn invoke "RestFn.java" 408]
[clojure.core$load_one invokeStatic "core.clj" 5897]
[clojure.core$load_one invoke "core.clj" 5892]
[clojure.core$load_lib$fn__6796 invoke "core.clj" 5937]
[clojure.core$load_lib invokeStatic "core.clj" 5936]
[clojure.core$load_lib doInvoke "core.clj" 5917]
[clojure.lang.RestFn applyTo "RestFn.java" 142]
[clojure.core$apply invokeStatic "core.clj" 669]
[clojure.core$load_libs invokeStatic "core.clj" 5974]
[clojure.core$load_libs doInvoke "core.clj" 5958]
[clojure.lang.RestFn applyTo "RestFn.java" 137]
[clojure.core$apply invokeStatic "core.clj" 669]
[clojure.core$require invokeStatic "core.clj" 5996]
[clojure.core$require doInvoke "core.clj" 5996]
[clojure.lang.RestFn invoke "RestFn.java" 408]
[fft.core$eval138$loading__6737__auto____139 invoke "fft.clj" 1]
[fft.core$eval138 invokeStatic "fft.clj" 1]
[fft.core$eval138 invoke "fft.clj" 1]
[clojure.lang.Compiler eval "Compiler.java" 7181]
[clojure.lang.Compiler eval "Compiler.java" 7170]
[clojure.lang.Compiler load "Compiler.java" 7640]
[clojure.lang.Compiler loadFile "Compiler.java" 7578]
[clojure.main$load_script invokeStatic "main.clj" 475]
[clojure.main$script_opt invokeStatic "main.clj" 535]
[clojure.main$script_opt invoke "main.clj" 530]
[clojure.main$main invokeStatic "main.clj" 664]
[clojure.main$main doInvoke "main.clj" 616]
[clojure.lang.RestFn applyTo "RestFn.java" 137]
[clojure.lang.Var applyTo "Var.java" 705]
[clojure.main main "main.java" 40]],
:cause
"Could not locate complex/core__init.class, complex/core.clj or complex/core.cljc on classpath.",
:phase :compile-syntax-check}}
Steps to Reproduce
From the root of the AAA run clojure contents/cooley_tukey/code/clojure/fft.clj
Expected behavior
It shouldn't give any errors.
For Algorithm Archive Developers
- The bug can be reproduced
- The bug can be fixed (if not, please explain why not in a comment below)
- There is a timeline to fix the bug
- The bug has been fixed (Please link the PR)