Error building 'babel' on ABCL 1.8.0 on Windows 10

mortemeur mortemeur at gmail.com
Thu Sep 16 21:35:39 UTC 2021


Of course, being a complete idiot, I forgot to include the Java version
accordingly:
java 17 2021-09-14 LTS
Java(TM) SE Runtime Environment (build 17+35-LTS-2724)
Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode,
sharing)

Sorry about that.

On Thu, Sep 16, 2021 at 5:34 PM mortemeur <mortemeur at gmail.com> wrote:

> First of all, I assume this is my fault, but I do not know what I screwed
> up. I am sure I am accidentally leaving out important information, but if
> you ask me for it I would be happy to include it in a reply.
>
> I am trying to learn about Common Lisp and decided to use ABCL on Windows
> 10, I ran into this error while going through Xach's tutorial (
> https://xach.livejournal.com/278047.html).
>
> Specifically, I ran:
>
> (quickproject:make-project "~/src/lisp/swatchblade/"
>                              :depends-on '(vecto hunchentoot))
>
>
> The error I received is:
>
> Error while trying to load definition for system jna from
> pathname jar:file:///C:/abcl/abcl-contrib.jar!/mvn/jna.asd:
>    Java exception 'java.lang.reflect.InaccessibleObjectException: Unable
> to make public java.lang.String
> java.util.jar.JarFile$JarFileEntry.getName() accessible: module java.base
> does not "opens java.util.jar" to unnamed module @6baeb178'.
>    [Condition of type ASDF/FIND-SYSTEM:LOAD-SYSTEM-DEFINITION-ERROR]
>
> Restarts:
>  0: [TRY-RECOMPILING] Recompile invoke and try loading it again
>  1: [RETRY] Retry loading FASL for #<ASDF/LISP-ACTION:CL-SOURCE-FILE "jss"
> "base" "invoke">.
>  2: [ACCEPT] Continue, treating loading FASL for
> #<ASDF/LISP-ACTION:CL-SOURCE-FILE "jss" "base" "invoke"> as having been
> successful.
>  3: [RETRY] Retry #<ASDF/FIND-SYSTEM:DEFINE-OP > on
> #<ASDF/SYSTEM:UNDEFINED-SYSTEM "jna">.
>  4: [ACCEPT] Continue, treating #<ASDF/FIND-SYSTEM:DEFINE-OP > on
> #<ASDF/SYSTEM:UNDEFINED-SYSTEM "jna"> as having been successful.
>  5: [RETRY] Retry compiling #<ASDF/LISP-ACTION:CL-SOURCE-FILE "cffi" "src"
> "cffi-abcl">.
>  --more--
>
> Backtrace:
>   0: (#<FUNCTION {16BC9E4C}>
> #<ASDF/FIND-SYSTEM:LOAD-SYSTEM-DEFINITION-ERROR {73C52693}> #<FUNCTION
> {16BC9E4C}>)
>   1: (APPLY #<FUNCTION {16BC9E4C}>
> (#<ASDF/FIND-SYSTEM:LOAD-SYSTEM-DEFINITION-ERROR {73C52693}> #<FUNCTION
> {16BC9E4C}>))
>   2: (SYSTEM::RUN-HOOK SYSTEM::*INVOKE-DEBUGGER-HOOK*
> #<ASDF/FIND-SYSTEM:LOAD-SYSTEM-DEFINITION-ERROR {73C52693}> #<FUNCTION
> {16BC9E4C}>)
>   3: (INVOKE-DEBUGGER #<ASDF/FIND-SYSTEM:LOAD-SYSTEM-DEFINITION-ERROR
> {73C52693}>)
>   4: (ERROR ASDF/FIND-SYSTEM:LOAD-SYSTEM-DEFINITION-ERROR :NAME "jna"
> :PATHNAME #P"jar:file:///C:/abcl/abcl-contrib.jar!/mvn/jna.asd" ...)
>   5: (#<FUNCTION {34FA17C0}> #<JAVA-EXCEPTION {64C63DA9}>)
>   6: (SIGNAL #<JAVA-EXCEPTION {64C63DA9}>)
>   7: org.armedbear.lisp.Lisp.error(Lisp.java:382)
>   8: org.armedbear.lisp.Java.jcall(Java.java:946)
>   9: org.armedbear.lisp.Java$pf_jcall.execute(Java.java:790)
>  10: org.armedbear.lisp.Primitive.execute(Primitive.java:135)
>  11: (JCALL #<java.lang.reflect.Method public void
> java.lang.reflect.Ac.... {4EBBA1A7}> #<java.lang.reflect.Method public
> java.lang.String java.uti.... {1410F75D}> #<java.lang.Boolean true
> {41EEBB03}>)
>  12: (JSS::INVOKE-FIND-METHOD "getName"
> #<java.util.jar.JarFile$JarFileEntry META-INF/ {254EE0E9}> NIL)
>  13: (JSS::GET-ALL-JAR-CLASSNAMES #P"c:/abcl/abcl.jar")
>  14: (JSS:JAR-IMPORT #P"c:/abcl/abcl.jar")
>  15: (JSS::DO-AUTO-IMPORTS)
>  16: (#<FUNCTION (LAMBDA ()) {36EBDB7E}>)
>  17: (FUNCALL #<FUNCTION (LAMBDA ()) {36EBDB7E}>)
>  18: (SYSTEM:INIT-FASL :VERSION 43)
>  19: (SYSTEM::%LOAD
> #P"C:/Users/morte/AppData/Local/cache/common-lisp/abcl-1.8.0-fasl43-win-x64/C/abcl/abcl-contrib.jar/jss/invoke.abcl"
> NIL NIL T :DEFAULT)
>  --more--
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20210916/ba7e13f9/attachment.html>


More information about the armedbear-devel mailing list