Package Details: planck 2.25.0-1

Git Clone URL: https://aur.archlinux.org/planck.git (read-only, click to copy)
Package Base: planck
Description: A stand-alone ClojureScript REPL
Upstream URL: http://planck-repl.org/
Keywords: clojure lisp repl
Licenses: EPL-1.0
Conflicts: planck-git
Submitter: bennya
Maintainer: None
Last Packager: rpodgorny
Votes: 6
Popularity: 0.000000
First Submitted: 2017-08-20 11:18 (UTC)
Last Updated: 2022-01-30 15:23 (UTC)

Dependencies (9)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

rpodgorny commented on 2022-01-30 14:59 (UTC)

hmm, seems like mike has returned to keep the project running. i see some recent activity on github - among that is fixing the build bug... ...but no version has been released, yet. i don't have much time to watch it myself so please be sure to ping me when 2.26 (or any new version) is out. thanks!

rpodgorny commented on 2022-01-22 18:45 (UTC)

planck seems utterly broken and unmaintained upstream - until the developmnent resumes, i'm orphaning this package...

kyptin commented on 2020-08-07 20:40 (UTC)

I had the following error when trying to build this package.

aura >>= Building planck...
aura >>= Building failed. Would you like to see the error? [Y/n] y
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   126  100   126    0     0    656      0 --:--:-- --:--:-- --:--:--   652
100  647k    0  647k    0     0   331k      0 --:--:--  0:00:01 --:--:--  697k
    2.24.0.tar.gz ... Passed
Downloading: org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.pom from central
Downloading: org/clojure/tools.reader/1.3.0/tools.reader-1.3.0.pom from central
Downloading: org/clojure/tools.reader/1.3.0/tools.reader-1.3.0.jar from central
Downloading: org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar from central
planck/io.js:894:
Originally at:
planck/io.cljs:273: WARNING - Left operand of || operator is always falsy.
    (if (satisfies? planck.core/IReader x)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

planck/io.js:921:
Originally at:
planck/io.cljs:281: WARNING - Left operand of || operator is always falsy.
    (if (satisfies? planck.core/IInputStream x)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

planck/io.js:934:
Originally at:
planck/io.cljs:285: WARNING - Left operand of || operator is always falsy.
    (if (satisfies? planck.core/IOutputStream x)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

planck/io.js:1589:
Originally at:
planck/io.cljs:621: WARNING - Left operand of || operator is always falsy.
                        :reader #(implements? planck.core/IReader %)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 error(s), 4 warning(s)
planck/core.js:718:
Originally at:
planck/core.cljs:231: WARNING - Left operand of || operator is always falsy.
               :unary (s/cat :reader #(satisfies? IPushbackReader %))
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

planck/core.js:732:
Originally at:
planck/core.cljs:232: WARNING - Left operand of || operator is always falsy.
               :binary (s/cat :opts map? :reader #(satisfies? IPushbackReader %))
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

planck/core.js:746:
Originally at:
planck/core.cljs:233: WARNING - Left operand of || operator is always falsy.
               :ternary (s/cat :reader #(satisfies? IPushbackReader %) :eof-error? boolean? :eof-value any?)))
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

planck/core.js:1201:
Originally at:
planck/core.cljs:494: WARNING - Left operand of || operator is always falsy.
  :args (s/cat :rdr #(satisfies? IPushbackReader %))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 error(s), 4 warning(s)
fipp/ednize.js:41:
Originally at:
fipp/ednize.cljs:13: WARNING - Left operand of || operator is always falsy.
  (satisfies? IEdn x))
  ^^^^^^^^^^^^^^^^^^^^

fipp/ednize.js:135:
Originally at:
fipp/ednize.cljs:61: WARNING - Left operand of || operator is always falsy.
    (satisfies? IEdn x)
    ^^^^^^^^^^^^^^^^^^^

0 error(s), 2 warning(s)
cljs/test.js:353:
Originally at:
cljs/test.cljs:437: WARNING - Left operand of || operator is always falsy.
  (satisfies? IAsyncTest x))
  ^^^^^^^^^^^^^^^^^^^^^^^^^^

0 error(s), 1 warning(s)
cljs/spec/alpha.js:200:
Originally at:
cljs/spec/alpha.cljs:77: WARNING - Left operand of || operator is always falsy.
  (when (implements? Spec x)
        ^^^^^^^^^^^^^^^^^^^^

0 error(s), 1 warning(s)
cljs/tools/reader/reader_types.js:629:
Originally at:
cljs/tools/reader/reader_types.cljs:210: WARNING - Left operand of || operator is always falsy.
  (implements? IndexingReader rdr))
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 error(s), 1 warning(s)
cljs/core.js:4838:
Originally at:
cljs/core.cljs:1395: WARNING - Left operand of || operator is always falsy.
  (satisfies? Inst x))
  ^^^^^^^^^^^^^^^^^^^^

cljs/core.js:6619:
Originally at:
cljs/core.cljs:2011: WARNING - Left operand of || operator is always falsy.
  (or ^boolean (goog/isFunction f) (satisfies? Fn f)))
                                   ^^^^^^^^^^^^^^^^^^^

cljs/core.js:7250:
Originally at:
cljs/core.cljs:2137: WARNING - Left operand of || operator is always falsy.
  [x] (satisfies? IFind x))
      ^^^^^^^^^^^^^^^^^^^^^

cljs/core.js:21212:
Originally at:
cljs/core.cljs:5953: WARNING - Left operand of || operator is always falsy.
    (if (implements? APersistentVector v)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

cljs/core.js:21292:
Originally at:
cljs/core.cljs:5927: WARNING - Left operand of || operator is always falsy.
    (if (implements? APersistentVector v)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

cljs/core.js:21302:
Originally at:
cljs/core.cljs:5931: WARNING - Left operand of || operator is always falsy.
    (if (implements? APersistentVector v)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

cljs/core.js:34868:
Originally at:
cljs/core.cljs:10706: WARNING - Left operand of || operator is always falsy.
     (satisfies? IEncodeJS k) (-clj->js k)
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

cljs/core.js:34925:
Originally at:
cljs/core.cljs:10726: WARNING - Left operand of || operator is always falsy.
                        (satisfies? IEncodeJS x) (-clj->js x)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

cljs/core.js:35159:
Originally at:
cljs/core.cljs:10755: WARNING - Left operand of || operator is always falsy.
                (satisfies? IEncodeClojure x)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

cljs/core.js:37009:
Originally at:
cljs/core.cljs:11294: WARNING - Left operand of || operator is always falsy.
  [x] (implements? IUUID x))
      ^^^^^^^^^^^^^^^^^^^^^^

0 error(s), 10 warning(s)
/usr/bin/ld: CMakeFiles/planck.dir/clock.c.o:(.bss+0x0): multiple definition of `block_until_engine_ready_failed_msg'; CMakeFiles/planck.dir/archive.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/planck.dir/engine.c.o:(.data.rel.local+0x0): multiple definition of `block_until_engine_ready_failed_msg'; CMakeFiles/planck.dir/archive.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/planck.dir/functions.c.o:(.bss+0x3e8): multiple definition of `block_until_engine_ready_failed_msg'; CMakeFiles/planck.dir/archive.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/planck.dir/http.c.o:(.bss+0x0): multiple definition of `block_until_engine_ready_failed_msg'; CMakeFiles/planck.dir/archive.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/planck.dir/main.c.o:(.bss+0xc0): multiple definition of `block_until_engine_ready_failed_msg'; CMakeFiles/planck.dir/archive.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/planck.dir/repl.c.o:(.bss+0x88): multiple definition of `block_until_engine_ready_failed_msg'; CMakeFiles/planck.dir/archive.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/planck.dir/shell.c.o:(.bss+0x0): multiple definition of `block_until_engine_ready_failed_msg'; CMakeFiles/planck.dir/archive.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/planck.dir/sockets.c.o:(.bss+0x0): multiple definition of `block_until_engine_ready_failed_msg'; CMakeFiles/planck.dir/archive.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/planck.dir/timers.c.o:(.bss+0x0): multiple definition of `block_until_engine_ready_failed_msg'; CMakeFiles/planck.dir/archive.c.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/planck.dir/build.make:404: planck] Error 1
make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/planck.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

aura >>= There was a makepkg failure.
aura >>= Would you like to continue anyway? [Y/n] n
aura >>= Building failed.

rpodgorny commented on 2019-11-10 11:50 (UTC)

so i've pushed 2.24 with your workaround until we find a proper solution. thanks again!

rpodgorny commented on 2019-11-10 11:00 (UTC)

hmmm, interesting. thanks for the effort!

btw, this is what i've found so far:

https://github.com/planck-repl/planck/issues/1021

vitorqb commented on 2019-11-09 17:44 (UTC)

@rpodgorny

I don't have any good solution, but my google adventure led me to an old cljs bug that was very very similar (https://clojure.atlassian.net/browse/CLJS-2152). The bug should have been fixed, but maybe it is a regression.

Anyway, it seems that this is caused by some weird behavior with the :libs cljs build argument. One of the workaround is changing the path used in :libs.

I tried a few things and this patch seems to be a valid workaround:

diff --git a/PKGBUILD b/PKGBUILD
index 037fcb9..14fe753 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,6 +18,7 @@ sha256sums=('b4b1b36786fd55be829a6b0a42771d9134152b503dafa92ee0f2c6e57c8cb3ca')

 build() {
   cd "$srcdir/${_pkgnamever}"
+  sed 's_lib/closure_lib/closure/goog_' -i planck-cljs/script/build.clj
   script/build
 }

As I said, it is a very dirty hack, but at least to me the installation worked fine with it.

rpodgorny commented on 2019-11-09 12:21 (UTC)

thanks for reporting this. i recently also stumbled upon this. didn't have time to find the culprit, yet. if you know how to fix that, please post it and i'll merge it immediatelly. otherwise, be patient, please... ;-)

vitorqb commented on 2019-11-09 12:17 (UTC)

I'm having the following error on build:

==> Starting build()... Creating an optimized build, using build cache to speed up build. Specifying --fast skips optimizations and takes less than two minutes.

Building planck-cljs

Syntax error (IllegalArgumentException) compiling at (script/build.clj:30:1). /git-aur/planck/src/planck-2.24.0/planck-cljs/out/goog/i18n/datetimesymbols.js is not a relative path

Full report at: /tmp/clojure-12705141405214826193.edn Build Failed. ==> ERROR: A failure occurred in build(). Aborting...

gunar commented on 2019-09-03 19:16 (UTC)

I'm getting this error

planck: error while loading shared libraries: libicuio.so.63: cannot open shared object file: No such file or directory

bennya commented on 2018-09-19 15:51 (UTC)

Orphaned as I don't use ArchLinux any longer. Sorry for not noticing this before.