This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Anyone know if the way you build polylith has change, I was updating a package from .18 to .19 but I get this error now when building.
+ clojure -T:build uberjar :project poly
WARNING: Specified aliases are undeclared and are not being used: [:build]
Downloading: org/clojure/clojure/1.11.1/clojure-1.11.1.pom from central
Downloading: org/clojure/spec.alpha/0.3.218/spec.alpha-0.3.218.pom from central
Downloading: org/clojure/core.specs.alpha/0.2.62/core.specs.alpha-0.2.62.pom from central
Downloading: org/clojure/pom.contrib/1.1.0/pom.contrib-1.1.0.pom from central
Downloading: org/clojure/spec.alpha/0.3.218/spec.alpha-0.3.218.jar from central
Downloading: org/clojure/core.specs.alpha/0.2.62/core.specs.alpha-0.2.62.jar from central
Downloading: org/clojure/clojure/1.11.1/clojure-1.11.1.jar from central
Unqualified function can't be resolved: uberjar
All I change this end was to update to the newer tar.gz and run the build.
You can see the current build file here in case anything look wrong.
https://github.com/getsolus/packages/blob/main/packages/p/polylith/package.ymlSounds like you ran the clojure
command in the wrong directory?
(~/clojure)-(!2008)-> git clone
Cloning into 'polylith'...
remote: Enumerating objects: 23012, done.
remote: Counting objects: 100% (570/570), done.
remote: Compressing objects: 100% (220/220), done.
remote: Total 23012 (delta 142), reused 548 (delta 133), pack-reused 22442
Receiving objects: 100% (23012/23012), 43.78 MiB | 23.04 MiB/s, done.
Resolving deltas: 100% (9134/9134), done.
Sun Apr 07 02:35:09
(~/clojure)-(!2009)-> cd polylith/
Sun Apr 07 02:35:11
(~/clojure/polylith)-(!2010)-> clojure -T:build uberjar :project poly
Downloading: org/clojure/clojure/maven-metadata.xml from central
Downloading: org/clojure/clojure/maven-metadata.xml from clojars
Downloading: org/clojure/clojure/maven-metadata.xml from sonatype
Downloading: org/babashka/http-client/0.3.11/http-client-0.3.11.pom from clojars
Downloading: metosin/malli/0.15.0/malli-0.15.0.pom from clojars
Downloading: metosin/malli/0.15.0/malli-0.15.0.jar from clojars
Downloading: org/babashka/http-client/0.3.11/http-client-0.3.11.jar from clojars
Downloading: org/clojure/tools.deps/0.19.1417/tools.deps-0.19.1417.pom from central
Downloading: org/clojure/tools.deps/0.19.1417/tools.deps-0.19.1417.jar from central
Compiling polylith.clj.core.poly-cli.core...
Building uberjar target/poly.jar...
Uberjar is built.
Sun Apr 07 02:36:15
(~/clojure/polylith)-(!2011)->
Looking at the .tar.gz
file, it's all in a polylith-0.2.19
folder, so I'd expect you would need cd polylith-0.2.19
before you ran clojure ...
?
(although the 0.2.18 asset is in a polylith-0.2.18
folder...)
I just downloaded and unpacked that asset and ran clojure ..
inside it, and it worked:
(~/clojure/polylith/polylith-0.2.19)-(!2021)-> clojure -T:build uberjar :project poly
Compiling polylith.clj.core.poly-cli.core...
Building uberjar target/poly.jar...
Uberjar is built.
Sun Apr 07 02:45:58
(~/clojure/polylith/polylith-0.2.19)-(!2022)->
wow I will try that, I had not spent much time on it as I just updated the tar.gz so was suprised it stopped working I will take a look and see if that the case thanks for that probably enough there for me to get things going again 🙂
oh it even more simple that that I grabbed the wrong tar.gz which is why files would have been missing grabbed the binary not the src should have know it woudl have been user error, thanks a lot @U04V70XH6 always helpful 🙂