This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-05
Channels
- # adventofcode (22)
- # ai (1)
- # announcements (1)
- # babashka (3)
- # beginners (8)
- # calva (8)
- # cider (17)
- # clojure (3)
- # clojure-europe (4)
- # clojure-norway (13)
- # clojurescript (20)
- # core-logic (1)
- # data-science (3)
- # datahike (6)
- # deps-new (4)
- # events (6)
- # hoplon (4)
- # hyperfiddle (4)
- # lsp (34)
- # overtone (8)
- # podcasts-discuss (2)
- # releases (3)
- # ring (5)
- # vim (10)
- # xtdb (2)
I am trying the new Clojure 1.12-alpha5 and are getting this on "sync-deps":
(clojure.repl.deps/sync-deps)
Execution error (ExceptionInfo) at clojure.tools.deps.interop/invoke-tool (interop.clj:49).
Could not acquire write lock for 'artifact:org.bytedeco:mkl:2020.3-1.5.4'
This is probably the same problem as:
https://ask.clojure.org/index.php/12730/error-could-acquire-write-lock-artifact-org-bytedeco-opencv?show=12730#q12730
The fix using clojure
CLI is to use -Sthreads 1
. Do we have this options for (sync-deps)
?No, there’s no way to pass that right now
We have a ticket in the works for that general problem. I think you could make an alias with :threads, then start with that alias. Sync-deps will retain your start aliases