difficulties building abcl 1.5 from source distribution
Guenther Thomsen
tho at ballum.net
Mon Oct 9 15:36:23 UTC 2017
So far I wasn't able to build abcl release 1.5 under Linux (Ubuntu 16.04.3
which comes at this time with ant 1.9.6 and openjdk 1.8.0_131) from the
distributed source [1]. The (ant) build completes (reportedly) successful
even though there are errors:
--8<--
[java] ; (DEFMACRO DIAG ...)
[java] ; (DECLAIM (FTYPE # ...))
[java] ; (DEFUN VERIFY-LOAD ...)
[java] ;SYSTEM:%MAKE-CONDITION triggers autoloading of org.armedbear.lisp.make_condition ...
[java] ; Autoloaded org.armedbear.lisp.make_condition (0.001 seconds)
[java] 2.081 seconds real time
[java] 6753524 cons cells
[java] FORMAT-ERROR: error in format:
[java] #<THREAD "interpreter" {79A0B5CB}>: Debugger invoked on condition of type FORMAT-ERROR
[java] error in format:
[java] #<THREAD "interpreter" {79A0B5CB}>: Debugger invoked on condition of type FORMAT-ERROR
[java] error in format:
[java] #<THREAD "interpreter" {79A0B5CB}>: Debugger invoked on condition of type FORMAT-ERROR
[java] error in format:
[java] #<THREAD "interpreter" {79A0B5CB}>: Debugger invoked on condition of type FORMAT-ERROR
[java] error in format:
[java] #<THREAD "interpreter" {79A0B5CB}>: Debugger invoked on condition of type FORMAT-ERROR
[java] error in format:
[java] #<THREAD "interpreter" {79A0B5CB}>: Debugger invoked on condition of type FORMAT-ERROR
[java] error in format:
[java] #<THREAD "interpreter" {79A0B5CB}>: Debugger invoked on condition of type FORMAT-ERROR
[java] error in format:
[java] #<THREAD "interpreter" {79A0B5CB}>: Debugger invoked on condition of type FORMAT-ERROR
[java] error in format:
[java] #<THREAD "interpreter" {79A0B5CB}>: Debugger invoked on condition of type FORMAT-ERROR
[java] error in format:
[java] #<THREAD "interpreter" {79A0B5CB}>: Debugger invoked on condition of type FORMAT-ERROR
[java] error in format:
[java] Maximum error depth exceeded (11 nested errors) with '#<FORMAT-ERROR {67090C23}>'.
[java] CL-USER(2):
abcl.compile:
[echo] Compiled ABCL with Java version: 1.8.0_131
abcl.version.src.0:
abcl.version.src.1:
abcl.version.src.2:
abcl.version.src.3:
abcl.version.src:
abcl.stamp.version.uptodate:
abcl.stamp.version.generate:
abcl.stamp.version.0:
abcl.stamp.version.1:
abcl.stamp.version.2:
abcl.stamp.version:
[echo] ABCL implementation version: 1.5.0
abcl.stamp.hostname:
[echo] abcl.hostname: slab
abcl.stamp:
abcl.jar.uptodate:
abcl.contrib:
abcl-contrib.jar:
abcl.jar:
[jar] Building jar: /home/tho/Downloads/src/abcl-src-1.5.0/dist/abcl.jar
abcl.wrapper.unix:
abcl.wrapper.windows:
abcl.wrapper:
[copy] Copying 1 file to /home/tho/Downloads/src/abcl-src-1.5.0
[echo] Created executable ABCL wrapper in 'abcl'
[echo] N.B. This wrapper requires '/home/tho/Downloads/src/abcl-src-1.5.0/dist/abcl.jar' not be moved.
BUILD SUCCESSFUL
-->8--
Then the executable cannot be run:
--8<--
$ ./abcl
Armed Bear Common Lisp 1.5.0
Java 1.8.0_131 Oracle Corporation
OpenJDK 64-Bit Server VM
Low-level initialization completed in 0.173 seconds.
org.armedbear.lisp.IntegrityError
at org.armedbear.lisp.Primitives$pf_error.execute(Primitives.java:1577)
at org.armedbear.lisp.Primitive.execute(Primitive.java:113)
at org.armedbear.lisp.Symbol.execute(Symbol.java:803)
at org.armedbear.lisp.Lisp.error(Lisp.java:383)
at org.armedbear.lisp.Load.loadSystemFile(Load.java:322)
at org.armedbear.lisp.Load$load_system_file.execute(Load.java:763)
at org.armedbear.lisp.LispThread.execute(LispThread.java:814)
at org.armedbear.lisp.Lisp.evalCall(Lisp.java:575)
at org.armedbear.lisp.Lisp.eval(Lisp.java:540)
at org.armedbear.lisp.Load.loadStream(Load.java:629)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:597)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:477)
at org.armedbear.lisp.Load.loadSystemFile(Load.java:375)
at org.armedbear.lisp.Interpreter.initializeLisp(Interpreter.java:172)
at org.armedbear.lisp.Interpreter.createDefaultInstance(Interpreter.java:102)
at org.armedbear.lisp.Main$1.run(Main.java:46)
at java.lang.Thread.run(Thread.java:748)
ERROR placeholder called with arguments:
Failed to find loadable system file 'autoloads-gen' in boot classpath.
Failed to find loadable system file 'autoloads-gen' in boot classpath.
Exception in thread "interpreter" org.armedbear.lisp.IntegrityError
at org.armedbear.lisp.Primitives$pf_error.execute(Primitives.java:1577)
at org.armedbear.lisp.Primitive.execute(Primitive.java:113)
at org.armedbear.lisp.Symbol.execute(Symbol.java:803)
at org.armedbear.lisp.Lisp.error(Lisp.java:383)
at org.armedbear.lisp.Load.loadSystemFile(Load.java:322)
at org.armedbear.lisp.Load$load_system_file.execute(Load.java:763)
at org.armedbear.lisp.LispThread.execute(LispThread.java:814)
at org.armedbear.lisp.Lisp.evalCall(Lisp.java:575)
at org.armedbear.lisp.Lisp.eval(Lisp.java:540)
at org.armedbear.lisp.Load.loadStream(Load.java:629)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:597)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:477)
at org.armedbear.lisp.Load.loadSystemFile(Load.java:375)
at org.armedbear.lisp.Interpreter.initializeLisp(Interpreter.java:172)
at org.armedbear.lisp.Interpreter.createDefaultInstance(Interpreter.java:102)
at org.armedbear.lisp.Main$1.run(Main.java:46)
at java.lang.Thread.run(Thread.java:748)
-->8--
Meanwhile I cloned the git repository and the HEAD as well as a branch off
of commit 3e92245341ef07dd0915d1f7f59fa335626330db (release 1.5 [a tag would
be nice, imho]) build and run successful, as far as I can tell.
I noticed that the files in the zip archive are DOS formatted, which
_shouldn't_ cause any such issue (making comparison with the files in the
git repository a bit more cumbersome though). I haven't investigated further,
as I got now a working abcl, but wanted to have mentioned it, as I couldn't
find any hint regarding above error online.
hth
~ Guenther
[1] abcl-src-1.5.0.zip from https://common-lisp.net/project/armedbear/releases/1.5.0/abcl-src-1.5.0.zip
More information about the armedbear-devel
mailing list