[armedbear-devel] compilation successfull, but launch fails with the infamous "Failed to find loadable system file 'autoloads' in boot classpath."

Alessio Stalla alessiostalla at gmail.com
Tue Nov 9 16:23:54 UTC 2010


Hi,

I don't know the Lisp-based build system so this might be completely
off, but... could asdf-binary-locations be the culprit? Can you see
where asdf puts the ABCL files and what the options to `javac` are, in
particular -classpath or -cp?

On Tue, Nov 9, 2010 at 5:13 PM, Pascal J. Bourguignon
<pjb at informatimago.com> wrote:
>
> Hi!
>
> I tried to compile abcl-0.22.0 on gentoo x86-64 with SBCL 1.0.19-gentoo
> and /opt/sun-jdk-1.6.0.22/.  It looks like it went well, but I get
> "Failed to find loadable system file 'autoloads' in boot classpath."
> when trying to launch abcl.  I could find some pages with this
> diagnostic on the web, but no comment or solution.
>
>
>
>
>
> [pjb at kuiper :0.0 abcl-0.22.0]$ Linux kuiper 2.6.34-xen-r3-kvm-nvidia-joy-c7 #3 SMP Fri Oct 8 12:01:59 CEST 2010 x86_64 Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz GenuineIntel GNU/Linux
> [pjb at kuiper :0.0 abcl-0.22.0]$ tar zxf /data/src/languages/abcl-src-0.22.0.tar.gz
> [pjb at kuiper :0.0 abcl-0.22.0]$ mv abcl-src-0.22.0/ src
> [pjb at kuiper :0.0 abcl-0.22.0]$ cd src
> [pjb at kuiper :0.0 src]$ cp customizations.lisp.in  customizations.lisp
> [pjb at kuiper :0.0 src]$ ./build-from-lisp.sh  sbcl
> bash: ./build-from-lisp.sh: Permission denied
> [pjb at kuiper :0.0 src]$ chmod 755 ./build-from-lisp.sh
> [pjb at kuiper :0.0 src]$ ./build-from-lisp.sh  sbcl
> This is SBCL 1.0.19-gentoo, an implementation of ANSI Common Lisp.
> More information about SBCL is available at <http://www.sbcl.org/>.
>
> SBCL is free software, provided as is, with absolutely no warranty.
> It is mostly in the public domain; some portions are provided under
> BSD-style licenses.  See the CREDITS and COPYING files in the
> distribution for more information.
> ; loading system definition from
> ; /usr/share/common-lisp/systems/asdf-binary-locations.asd into
> ; #<PACKAGE "ASDF0">
> ; registering #<SYSTEM ASDF-BINARY-LOCATIONS {1002BFA1B1}> as
> ; ASDF-BINARY-LOCATIONS
> ; in: LAMBDA NIL
> ;     (LET* ((STRING (NAMESTRING PATHNAME)) (BUILD-ABCL::LEN (LENGTH STRING)))
> ;       (WHEN (POSITION #\  STRING)
> ;         (SETF STRING
> ;                 (CONCATENATE 'STRING "\"" (BUILD-ABCL::COMP STRING #\\) "\"")))
> ;       STRING)
> ;
> ; caught STYLE-WARNING:
> ;   The variable LEN is defined but never used.
> ;
> ; compilation unit finished
> ;   caught 1 STYLE-WARNING condition
> Platform: Linux
> JDK: /opt/sun-jdk-1.6.0.22/
> Java compiler: /opt/sun-jdk-1.6.0.22/bin/javac
> Compiler options: -g
>
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: JavaObject.java uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
>
> Armed Bear Common Lisp 0.22.0
> Java 1.6.0_22 Sun Microsystems Inc.
> Java HotSpot(TM) 64-Bit Server VM
> Low-level initialization completed in 0.228 seconds.
> Startup completed in 2.617 seconds.
> #<THREAD "interpreter" {7433B121}>: Debugger invoked on condition of type ERROR
>  Failed to find loadable system file 'system' in boot classpath.
> [1] CL-USER(1): Build completed successfully in 7.457 seconds.
> [pjb at kuiper :0.0 src]$ ./abcl --eval '(lisp-implementation-version)'
> Armed Bear Common Lisp 0.22.0
> Java 1.6.0_22 Sun Microsystems Inc.
> Java HotSpot(TM) 64-Bit Server VM
> Low-level initialization completed in 0.223 seconds.
> java.lang.Error
>        at org.armedbear.lisp.Primitives$pf_error.execute(Primitives.java:1570)
>        at org.armedbear.lisp.Primitive.execute(Primitive.java:113)
>        at org.armedbear.lisp.Symbol.execute(Symbol.java:776)
>        at org.armedbear.lisp.Lisp.error(Lisp.java:354)
>        at org.armedbear.lisp.Load.loadSystemFile(Load.java:272)
>        at org.armedbear.lisp.Load$load_system_file.execute(Load.java:691)
>        at org.armedbear.lisp.LispThread.execute(LispThread.java:568)
>        at org.armedbear.lisp.Lisp.evalCall(Lisp.java:520)
>        at org.armedbear.lisp.Lisp.eval(Lisp.java:485)
>        at org.armedbear.lisp.Load.loadStream(Load.java:566)
>        at org.armedbear.lisp.Load.loadFileFromStream(Load.java:534)
>        at org.armedbear.lisp.Load.loadFileFromStream(Load.java:424)
>        at org.armedbear.lisp.Load.loadSystemFile(Load.java:323)
>        at org.armedbear.lisp.Interpreter.initializeLisp(Interpreter.java:163)
>        at org.armedbear.lisp.Interpreter.createDefaultInstance(Interpreter.java:94)
>        at org.armedbear.lisp.Main$1.run(Main.java:48)
>        at java.lang.Thread.run(Thread.java:662)
> ERROR placeholder called with arguments:
> #<ERROR {647109C4}>
> "Failed to find loadable system file 'autoloads' in boot classpath."
> [pjb at kuiper :0.0 src]$
>
> --
> __Pascal Bourguignon__                     http://www.informatimago.com/
> A bad day in () is better than a good day in {}.
>
> _______________________________________________
> armedbear-devel mailing list
> armedbear-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
>




More information about the armedbear-devel mailing list