compiler-explorer / compiler-explorer/compiler-explorer

[BUG]: Clojure compilation fails

Open
#8,306 0 comments 3 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
19.1k
Forks
2.1k
Avg merge
3d 15h
Merged PRs (30d)
67

Description

### Describe the bug

Clojure compilation of the default example fails with the stacktrace below.

I've tried several versions, both newest 1.12.3 and oldest 1.11.1, all fail with same error.

```
Error building classpath. /opt/compiler-explorer/clojure/1.12.2.1571/.config/.cpcache/3691751055.basis (Read-only file system)
java.io.FileNotFoundException: /opt/compiler-explorer/clojure/1.12.2.1571/.config/.cpcache/3691751055.basis (Read-only file system)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:289)
at java.base/java.io.FileOutputStream.(FileOutputStream.java:230)
at clojure.java.io$fn__11661.invokeStatic(io.clj:233)
at clojure.java.io$fn__11661.invoke(io.clj:233)
at clojure.java.io$fn__11585$G__11567__11592.invoke(io.clj:72)
at clojure.java.io$fn__11635.invokeStatic(io.clj:169)
at clojure.java.io$fn__11635.invoke(io.clj:169)
at clojure.java.io$fn__11598$G__11563__11605.invoke(io.clj:72)
at clojure.java.io$writer.invokeStatic(io.clj:122)
```

### Steps to reproduce

1. choose clojure
2. the default example is compiled
3. the following shows up in the output window:
```

# For more information see the output window
# To open the output window, click or drag the "Output" icon at the bottom of this window
```

### Expected behavior

Example compiles without errors

### Reproduction link

Not applicable

### Screenshots

Not applicable

### Operating System

_No response_

### Browser version

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.