Opened 8 years ago

Closed 8 years ago

#264 closed defect (fixed)

abcl-asdf.asd broken since revision 14233

Reported by: Christoph Egger Owned by: Mark Evenson
Priority: major Milestone: 1.1.0
Component: abcl-contrib Version: 1.1.0-dev
Keywords: Cc: siccegge@…
Parent Tickets:

Description

Error while trying to load definition for system abcl-asdf from pathname jar:file:/usr/share/java/abcl-contrib-1.1.0~svn14239.jar!/abcl-asdf/abcl-asdf.asd: Component "abcl" not found.
Error loading jar:file:/usr/share/java/abcl-contrib-1.1.0~svn14239.jar!/abcl-asdf/abcl-asdf.asd at line 27 (offset 845)

Change History (9)

comment:1 Changed 8 years ago by Christoph Egger

Guess the Idea was

Index: contrib/abcl-asdf/abcl-asdf.asd
===================================================================
--- contrib/abcl-asdf/abcl-asdf.asd     (revision 14239)
+++ contrib/abcl-asdf/abcl-asdf.asd     (working copy)
@@ -19,7 +19,7 @@
 
 (asdf:defsystem :abcl-asdf-test
   :author "Mark Evenson"
-  :defsystem-depends-on (abcl abcl-test-lisp abcl-asdf)
+  :defsystem-depends-on (abcl-contrib abcl-test-lisp abcl-asdf)
   :components ((:module tests :serial t 
                         :components ((:file "example")
                                      (:file "maven")

But not sure

comment:2 Changed 8 years ago by Christoph Egger

Version: 1.1.0-dev

comment:3 Changed 8 years ago by Christoph Egger

ah nope :abcl-contrib isn't known to abcl either

comment:4 Changed 8 years ago by Christoph Egger

asdf obviously

comment:5 Changed 8 years ago by Christoph Egger

patching it out I get

#<THREAD "interpreter" {5AD0F0}>: Debugger invoked on condition of type ERROR
  Class not found: com.sun.jna.Native
Restarts:
  0: RETRY     Retry compiling #<ASDF:CL-SOURCE-FILE "cffi" "src" "types">.
  1: ACCEPT    Continue, treating compiling #<ASDF:CL-SOURCE-FILE "cffi" "src" "types"> as having been successful.
  2: ABORT     Give up on "cffi"
  3: TOP-LEVEL Return to top level.
[1] CFFI(7):

when (require :cffi)

comment:6 Changed 8 years ago by Christoph Egger

CL-USER(6): (require :jna)
NIL
CL-USER(7): (pprint (java:dump-classpath))

((#<org.armedbear.lisp.JavaClassLoader org.armedbear.lisp.JavaClassLoad.... {66BB78}>)
 (#<sun.misc.Launcher$AppClassLoader sun.misc.Launcher$AppClassLoader.... {9DD800}>
  #P"/usr/share/java/abcl-1.1.0~svn14239+2.jar"
  #P"/usr/share/java/abcl-contrib-1.1.0~svn14239+2.jar" #P"/root")
 (#<sun.misc.Launcher$ExtClassLoader sun.misc.Launcher$ExtClassLoader.... {D021C3}>
  #P"/usr/lib/jvm/java-6-openjdk/jre/lib/ext/sunjce_provider.jar"
  #P"/usr/lib/jvm/java-6-openjdk/jre/lib/ext/localedata.jar"
  #P"/usr/lib/jvm/java-6-openjdk/jre/lib/ext/sunpkcs11.jar"
  #P"/usr/lib/jvm/java-6-openjdk/jre/lib/ext/dnsns.jar"
  #P"/usr/lib/jvm/java-6-openjdk/jre/lib/ext/pulse-java.jar"))

comment:7 Changed 8 years ago by Christoph Egger

Index: contrib/abcl-asdf/abcl-asdf.asd
===================================================================
--- contrib/abcl-asdf/abcl-asdf.asd	(revision 14239)
+++ contrib/abcl-asdf/abcl-asdf.asd	(working copy)
@@ -19,7 +19,7 @@
 
 (asdf:defsystem :abcl-asdf-test
   :author "Mark Evenson"
-  :defsystem-depends-on (abcl abcl-test-lisp abcl-asdf)
+  :defsystem-depends-on (abcl-asdf)
   :components ((:module tests :serial t 
                         :components ((:file "example")
                                      (:file "maven")

and it works again here

comment:8 Changed 8 years ago by Mark Evenson

Milestone: 1.1.0
Status: newaccepted

comment:9 Changed 8 years ago by Mark Evenson

Resolution: fixed
Status: acceptedclosed

(In [14240]) ABCL-ASDF loads again which fixes #264.

DEFSYSTEM-DEPENDS-ON loads its requirements before the system
definition is evaluated which is not needed in this case.

The abcl-test-lisp ASDF definition is contained in the toplevel
"abcl.asdf" file, which I usually have symlinked into
~/.asdf-install-dir/systems/ for convenience.

Note: See TracTickets for help on using tickets.