Bug#775450: clojure1.6: clojure 1.6 doesn't work with gij/gcj 4.9 instead of openjdk
Rogério Brito
rbrito at ime.usp.br
Thu Jan 15 19:56:09 UTC 2015
Package: clojure1.6
Version: 1.6.0+dfsg-1
Severity: normal
Hi.
First of all, thanks for packaging clojure. Unfortunately, it seems that
clojure doesn't work with simply any current installation of packages that
provide java2-runtime-headless (like gcj-4.9-jdk and its dependencies).
Here is what I get:
,----[ clojure ]
| Exception in thread "main" java.lang.NoClassDefFoundError: clojure.core.protocols$seq_reduce
| at java.lang.Class.initializeClass(libgcj.so.15)
| at clojure.core.protocols__init.load(Unknown Source:19)
| at clojure.core.protocols__init.<clinit>(Unknown Source)
| at java.lang.Class.initializeClass(libgcj.so.15)
| at java.lang.Class.forName(libgcj.so.15)
| at clojure.lang.RT.loadClassForName(RT.java:2093)
| at clojure.lang.RT.load(RT.java:430)
| at clojure.lang.RT.load(RT.java:411)
| at clojure.core$load$fn__5066.invoke(core.clj:5641)
| at clojure.core$load.doInvoke(core.clj:5640)
| at clojure.lang.RestFn.invoke(RestFn.java:408)
| at clojure.core__init.load(Unknown Source:6270)
| at clojure.core__init.<clinit>(Unknown Source)
| at java.lang.Class.initializeClass(libgcj.so.15)
| at java.lang.Class.forName(libgcj.so.15)
| at clojure.lang.RT.loadClassForName(RT.java:2093)
| at clojure.lang.RT.load(RT.java:430)
| at clojure.lang.RT.load(RT.java:411)
| at clojure.lang.RT.doInit(RT.java:447)
| at clojure.lang.RT.<clinit>(RT.java:329)
| at java.lang.Class.initializeClass(libgcj.so.15)
| at clojure.main.<clinit>(main.java:20)
| at java.lang.Class.initializeClass(libgcj.so.15)
| Caused by: java.lang.VerifyError: verification failed at PC 75 in clojure.core.protocols$seq_reduce:invoke((Ljava.lang.Object;Ljava.lang.Object;Ljava.lang.Object;)Ljava.lang.Object;): incompatible type on stack
| at java.lang.Class.initializeClass(libgcj.so.15)
| ...22 more
`----
Is there any way to keep the ability to run with gcj?
If not, perhaps getting the dependency of clojure1.6 updated to be
default-jdk would be better (but, if I recall correctly, openjdk 7 didn't
work on some of the ports---perhaps the kfreebsd ones?---and the changed
dependency wouldn't really fix this).
Opinions?
Thanks once again,
Rogério Brito.
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (250, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages clojure1.6 depends on:
ii gcj-4.9-jre-headless [java2-runtime-headless] 4.9.2-10
ii gcj-jre-headless [java2-runtime-headless] 4:4.9.2-1
ii libasm4-java 5.0.3-1
ii libjsr166y-java 0.1.20080107-2
Versions of packages clojure1.6 recommends:
pn rlwrap <none>
clojure1.6 suggests no packages.
-- no debconf information
--
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
More information about the pkg-java-maintainers
mailing list