Hi, I'm trying to compile planck on arch linux.
met a exception when execute script/build
@doglooksgood Do you have the deps listed here installed? https://github.com/mfikes/planck/wiki/Building#arch
Or, perhaps a better question: What exception did you see?
my network is bad, so uploading snippet takes time..😂
the first time, it download dependencies successfully. I think
It's looks like missing the clojurescript jar in classpath?
please give me some tips to figure out where's the problem.
@doglooksgood Are you trying to build a released beta version, or master?
on master branch
@doglooksgood My guess would be that if you did a script/clean
and then a script/build
then it might clear the problem. The root cause might be that you may not have lein set up or somesuch that caused it.
which branch should i use
The head of master doesn’t need to build ClojureScript itself.
Is the snippet above from the very beginning of the output?
yes, it begin with ### Building planck-cljs
.
seems script/clean
does not work
@doglooksgood In the lib
subdirectory of where you cloned planck
does it have a cljs-1.9.330-1.jar
file?
yes, it does
~/ ps uax|grep java
tianshu 18011 122 1.7 3331632 69856 pts/2 Sl+ 23:52 0:01 java -Xbootclasspath/a:/home/tianshu/.lein/self-installs/leiningen-2.7.0-standalone.jar -Dfile.encoding=UTF-8 -Dmaven.wagon.http.ssl.easy=false -Dmaven.wagon.rto=10000 -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Dleiningen.original.pwd=/home/tianshu/repos/planck/planck-cljs -Dleiningen.script=script/lein -classpath /home/tianshu/.lein/self-installs/leiningen-2.7.0-standalone.jar clojure.main -m leiningen.core.main with-profile build classpath
this is the process when bulid is running.I’m going to set up a Arch VM and see if I can reproduce the issue.
Are you running a particular version of Arch?
before this, is it possible caused by my leiningen version is 2.7.1?
it still download the 2.7.0, so I have two jar in self-installs
.
I’m using lein 2.7.1
so, will the build script download lein 2.7.0?
Yes, there is a planck-cljs/script/lein
that it uses
~/.lein/ cat /proc/version Linux version 4.8.11-1-ARCH (builduser@tobias) (gcc version 6.2.1 20160830 (GCC) ) #1 SMP PREEMPT Sun Nov 27 09:26:14 CET 2016
OK. I have Linux archlinux.vagrant.vm 4.5.0-1-ARCH #1 SMP PREEMPT Tue Mar 15 09:41:03 CET 2016 x86_64 GNU/Linux
set up now. Perhaps that is close enough.
yes
I’m updating that VM to ensure it has the latest...
Looks like it is getting linux-4.8.12-2-x86_64
I just look at the process I've post above, it seems like the clojurescript jar is not located in classpath?
or the lib directory is added by default?
i think i have to go to bed for now. 💤 it's midnight here
@doglooksgood Thanks for sharing. I was able to build in that VM. I did discover another issue with the built planck binary that I’ll log, but otherwise things built.