#386: asdf doesn't load dependencies in abcl -------------------------+------------------- Reporter: ehuelsmann | Owner: Type: defect | Status: new Priority: major | Milestone: Component: ASDF | Version: 1.3.1 Resolution: | Keywords: -------------------------+------------------- Description changed by mevenson:
Old description:
When using abcl, asdf doesn't load some dependent packages. In this case, I have asd file com.informatimago.tools.asd
(asdf:defsystem :com.informatimago.tools ;; system attributes: :description "This system gathers Informatimago Common Lisp tools." :author "Pascal J. Bourguignon pjb@informatimago.com" :maintainer "Pascal J. Bourguignon pjb@informatimago.com" :licence "AGPL3" ;; component attributes: :name "Informatimago Common Lisp Tools Agregate" :version "1.0.2" :properties ((#:author-email . "pjb@informatimago.com") (#:date . "Spring 2014") ((#:albert #:output-dir) . "/tmp/documentation/com.informatimago.tools/") ((#:albert #:formats) . ("docbook")) ((#:albert #:docbook #:template) . "book") ((#:albert #:docbook #:bgcolor) . "white") ((#:albert #:docbook #:textcolor) . "black")) #+asdf-unicode :encoding #+asdf-unicode :utf-8 :depends-on ("com.informatimago.tools.check-asdf" "com.informatimago.tools.make-depends" "com.informatimago.tools.manifest" "com.informatimago.tools.pathname" "com.informatimago.tools.source" "com.informatimago.tools.symbol" "com.informatimago.tools.quicklisp") :components ((:file "tools")))
which should load com.informatimago.tools.pathname.asd
(asdf:defsystem :com.informatimago.tools.pathname :name "com.informatimago.tools.pathname" :description "Pathname tools." :author "Pascal J. Bourguignon" :version "1.0.0" :license "GPL3" :depends-on () :components ((:file "pathname")))
and pathname.lisp defines a package named "COM.INFORMATIMAGO.TOOLS.PATHNAME":
(defpackage "COM.INFORMATIMAGO.TOOLS.PATHNAME" (:use "COMMON-LISP") (:shadow "MAKE-PATHNAME" "USER-HOMEDIR-PATHNAME" "TRANSLATE-LOGICAL-PATHNAME") (:export "MAKE-PATHNAME" "USER-HOMEDIR-PATHNAME" "TRANSLATE-LOGICAL-PATHNAME") (:documentation "Pathname tools.")) ;; etc
Unfortunately, it seems that asdf (version "3.1.0.103") fails to load this dependencies:
[pjb@kuiper :10.0 lisp]$ abcl Armed Bear Common Lisp 1.3.1 Java 1.7.0_75 Oracle Corporation OpenJDK 64-Bit Server VM Low-level initialization completed in 1.136 seconds. Startup completed in 6.589 seconds. ;; -*- mode:lisp -*- (:OUTPUT-TRANSLATIONS :IGNORE-INVALID-ENTRIES (T (:HOME ".cache" "common- lisp" :HOSTNAME :IMPLEMENTATION)) (T (:HOME ".cache" "common-lisp" :IMPLEMENTATION)) :INHERIT-CONFIGURATION) To load "com.informatimago.common-lisp": Load 1 ASDF system: com.informatimago.common-lisp ; Loading "com.informatimago.common-lisp" [package com.informatimago.common-lisp.lisp-sexp.source-form]. .................................................. [package com.informatimago.common-lisp.lisp-reader.reader]. .................................................. [package com.informatimago.common-lisp.lisp-reader.package]. .................................................. [package com.informatimago.common-lisp.lisp-text.source-text]. [package com.informatimago.common-lisp.cesarum.simple-test]. [package com.informatimago.common-lisp.cesarum.array] [package com.informatimago.common-lisp.cesarum.sequence]. [package com.informatimago.common-lisp.cesarum.list]. .................................................. [package com.informatimago.common-lisp.cesarum.utility]. .................................................. [package com.informatimago.common-lisp.cesarum.ecma048]. [package com.informatimago.common-lisp.cesarum.string]. .................................................. [package com.informatimago.common-lisp.cesarum.package]. [package com.informatimago.common-lisp.cesarum.set]. [package com.informatimago.common-lisp.cesarum.index-set]. .................................................. [package com.informatimago.common-lisp.cesarum.bset]. .................................................. [package com.informatimago.common-lisp.cesarum.brelation]. .................................................. [package com.informatimago.common-lisp.cesarum.dictionary]. [package com.informatimago.common-lisp.cesarum.dll] [package com.informatimago.common-lisp.cesarum.graph]. .................................................. [package com.informatimago.common-lisp.cesarum.llrbtree]. .................................................. [package com.informatimago.common-lisp.cesarum.queue] [package com.informatimago.common-lisp.cesarum.message-queue] [package com.informatimago.common-lisp.cesarum.ascii]. .................................................. [package com.informatimago.common-lisp.cesarum.character]. [package com.informatimago.common-lisp.cesarum.character-sets] [package com.informatimago.common-lisp.cesarum.iso3166] [package com.informatimago.common-lisp.cesarum.iso4217]. [package com.informatimago.common-lisp.cesarum.iso639a] [package com.informatimago.common-lisp.cesarum.pmatch] [package com.informatimago.common-lisp.cesarum.combination]. [package com.informatimago.common-lisp.cesarum.constraints]. [package com.informatimago.common-lisp.cesarum.raiden] [package com.informatimago.common-lisp.cesarum.dfa]. [package com.informatimago.common-lisp.cesarum.tea] [package com.informatimago.common-lisp.cesarum.circular] [package com.informatimago.common-lisp.cesarum.histogram]. [package com.informatimago.common-lisp.cesarum.a-star] [package com.informatimago.common-lisp.cesarum.activity]. .................................................. [package com.informatimago.common-lisp.cesarum.date.utility] [package com.informatimago.common-lisp.julian-calendar] [package com.informatimago.common-lisp.gregorian-calendar] [package com.informatimago.common-lisp.cesarum.date]. .................................................. [package com.informatimago.common-lisp.cesarum.version]. [package com.informatimago.common-lisp.cesarum.stream] [package com.informatimago.common-lisp.cesarum.file]. [package com.informatimago.common-lisp.cesarum.peek-stream]. [package com.informatimago.common-lisp.cesarum.cache]. .................................................. [package com.informatimago.common-lisp.cesarum.float-binio] [package com.informatimago.common-lisp.picture.picture]. .................................................. [package com.informatimago.common-lisp.picture.cons-to-ascii] [package com.informatimago.common-lisp.picture.tree-to-ascii]. [package com.informatimago.common-lisp.arithmetic.primes] [package com.informatimago.common-lisp.arithmetic.p127n2]. [package com.informatimago.common-lisp.data-encoding.data-encoding]. .................................................. [package com.informatimago.common-lisp.data-encoding.bencode]. [package com.informatimago.common-lisp.data-encoding.hexadecimal]. [package com.informatimago.common-lisp.data-encoding.ecp]. [package com.informatimago.common-lisp.heap.memory]. [package com.informatimago.common-lisp.heap.heap]. .................................................. [package com.informatimago.common-lisp.html-generator.html-entities]. .................................................. [package com.informatimago.common-lisp.html-generator.html]. .................................................. [package com.informatimago.common-lisp.html-parser.parse-html]. .................................................. [package com.informatimago.common-lisp.http.hquery] [package com.informatimago.common-lisp.http.htrans]. .................................................. [package com.informatimago.common-lisp.bank.iban]. [package com.informatimago.common-lisp.bank.rib].. [package com.informatimago.common-lisp.csv.csv]... [package com.informatimago.common-lisp.diagram.tree-to-diagram] [package com.informatimago.common-lisp.regexp.regexp-emacs]. .................................................. [package com.informatimago.common-lisp.regexp.regexp-posix] [package com.informatimago.common-lisp.regexp.regexp-posix.keyword]. .. ; in (DEFUN RMATCH-B-ANCHOR ...)
; Caught STYLE-WARNING: ; The variable #:G193370 is defined but never used.
; in (DEFUN RMATCH-E-ANCHOR ...)
; Caught STYLE-WARNING: ; The variable #:G193396 is defined but never used.
; in (DEFUN RMATCH-L-ANCHOR ...)
; Caught STYLE-WARNING: ; The variable #:G193423 is defined but never used.
; in (DEFUN RMATCH-R-ANCHOR ...)
; Caught STYLE-WARNING: ; The variable #:G193457 is defined but never used.
; in (DEFUN RMATCH-ANY ...)
; Caught STYLE-WARNING: ; The variable #:G193492 is defined but never used.
.. ; Caught COMPILE-WARNED-WARNING: ; Lisp compilation had style-warnings while compiling #<ASDF/LISP- ACTION:CL-SOURCE-FILE "com.informatimago.common-lisp.regexp" "regexp- posix">
.............................................. [package com.informatimago.common-lisp.ed.ed]..... [package com.informatimago.common-lisp.graphviz.graph-dot] [package com.informatimago.common-lisp.invoice.invoice]. .................................................. [package com.informatimago.common-lisp.interactive.browser]. [package com.informatimago.common-lisp.interactive.interactive]. .................................................. [package com.informatimago.common-lisp.parser.scanner]. [package com.informatimago.common-lisp.parser.parser]. [package com.informatimago.common-lisp.rfc2822.rfc2822] [package com.informatimago.common-lisp.rfc3548.rfc3548]. [package com.informatimago.common-lisp.unix.aliases]. [package com.informatimago.common-lisp.unix.group] [package com.informatimago.common-lisp.unix.passwd]. [package com.informatimago.common-lisp.unix.option].
; Compilation unit finished ; Caught 1 WARNING condition ; Caught 5 STYLE-WARNING conditions
To load "com.informatimago.common-lisp.lisp.stepper": Load 1 ASDF system: com.informatimago.common-lisp.lisp.stepper ; Loading "com.informatimago.common-lisp.lisp.stepper" [package com.informatimago.common-lisp.lisp.stepper.internal]. .................................................. [package com.informatimago.common-lisp.lisp.stepper]. . To load "com.informatimago.clmisc": Load 1 ASDF system: com.informatimago.clmisc ; Loading "com.informatimago.clmisc" [package com.informatimago.clmisc.resource-utilization] To load "com.informatimago.tools": Load 1 ASDF system: com.informatimago.tools ; Loading "com.informatimago.tools" To load "com.informatimago.clext": Load 1 ASDF system: com.informatimago.clext ; Loading "com.informatimago.clext" [package closer-mop].............................. [package closer-common-lisp]...................... [package closer-common-lisp-user]................. [package com.informatimago.clext.association]..... [package com.informatimago.clext.character-sets]. To load "alexandria": Load 1 ASDF system: alexandria ; Loading "alexandria" [package alexandria.0.dev].... Error loading /home/pjb/rc/common.lisp at line 262 (offset 9763) #<THREAD "interpreter" {7C9CC8FE}>: Debugger invoked on condition of type READER-ERROR The package "COM.INFORMATIMAGO.TOOLS.PATHNAME" can't be found.
[1] PJB(1): (asdf/upgrade:asdf-version) "3.1.0.103" [1] PJB(2):
New description:
When using abcl-1.3.1, the included ASDF doesn't load some dependent packages. In this case, I have asd file com.informatimago.tools.asd
-------------------------------------------------------------------------------- (asdf:defsystem :com.informatimago.tools ;; system attributes: :description "This system gathers Informatimago Common Lisp tools." :author "Pascal J. Bourguignon pjb@informatimago.com" :maintainer "Pascal J. Bourguignon pjb@informatimago.com" :licence "AGPL3" ;; component attributes: :name "Informatimago Common Lisp Tools Agregate" :version "1.0.2" :properties ((#:author-email . "pjb@informatimago.com") (#:date . "Spring 2014") ((#:albert #:output-dir) . "/tmp/documentation/com.informatimago.tools/") ((#:albert #:formats) . ("docbook")) ((#:albert #:docbook #:template) . "book") ((#:albert #:docbook #:bgcolor) . "white") ((#:albert #:docbook #:textcolor) . "black")) #+asdf-unicode :encoding #+asdf-unicode :utf-8 :depends-on ("com.informatimago.tools.check-asdf" "com.informatimago.tools.make-depends" "com.informatimago.tools.manifest" "com.informatimago.tools.pathname" "com.informatimago.tools.source" "com.informatimago.tools.symbol" "com.informatimago.tools.quicklisp") :components ((:file "tools"))) --------------------------------------------------------------------------------
which should load com.informatimago.tools.pathname.asd
-------------------------------------------------------------------------------- (asdf:defsystem :com.informatimago.tools.pathname :name "com.informatimago.tools.pathname" :description "Pathname tools." :author "Pascal J. Bourguignon" :version "1.0.0" :license "GPL3" :depends-on () :components ((:file "pathname"))) --------------------------------------------------------------------------------
and pathname.lisp defines a package named "COM.INFORMATIMAGO.TOOLS.PATHNAME":
-------------------------------------------------------------------------------- (defpackage "COM.INFORMATIMAGO.TOOLS.PATHNAME" (:use "COMMON-LISP") (:shadow "MAKE-PATHNAME" "USER-HOMEDIR-PATHNAME" "TRANSLATE-LOGICAL-PATHNAME") (:export "MAKE-PATHNAME" "USER-HOMEDIR-PATHNAME" "TRANSLATE-LOGICAL-PATHNAME") (:documentation "Pathname tools.")) ;; etc --------------------------------------------------------------------------------
Unfortunately, it seems that asdf (version "3.1.0.103") fails to load this dependencies:
[pjb@kuiper :10.0 lisp]$ abcl Armed Bear Common Lisp 1.3.1 Java 1.7.0_75 Oracle Corporation OpenJDK 64-Bit Server VM Low-level initialization completed in 1.136 seconds. Startup completed in 6.589 seconds. ;; -*- mode:lisp -*- (:OUTPUT-TRANSLATIONS :IGNORE-INVALID-ENTRIES (T (:HOME ".cache" "common- lisp" :HOSTNAME :IMPLEMENTATION)) (T (:HOME ".cache" "common-lisp" :IMPLEMENTATION)) :INHERIT-CONFIGURATION) To load "com.informatimago.common-lisp": Load 1 ASDF system: com.informatimago.common-lisp ; Loading "com.informatimago.common-lisp" [package com.informatimago.common-lisp.lisp-sexp.source-form]. .................................................. [package com.informatimago.common-lisp.lisp-reader.reader]. .................................................. [package com.informatimago.common-lisp.lisp-reader.package]. .................................................. [package com.informatimago.common-lisp.lisp-text.source-text]. [package com.informatimago.common-lisp.cesarum.simple-test]. [package com.informatimago.common-lisp.cesarum.array] [package com.informatimago.common-lisp.cesarum.sequence]. [package com.informatimago.common-lisp.cesarum.list]. .................................................. [package com.informatimago.common-lisp.cesarum.utility]. .................................................. [package com.informatimago.common-lisp.cesarum.ecma048]. [package com.informatimago.common-lisp.cesarum.string]. .................................................. [package com.informatimago.common-lisp.cesarum.package]. [package com.informatimago.common-lisp.cesarum.set]. [package com.informatimago.common-lisp.cesarum.index-set]. .................................................. [package com.informatimago.common-lisp.cesarum.bset]. .................................................. [package com.informatimago.common-lisp.cesarum.brelation]. .................................................. [package com.informatimago.common-lisp.cesarum.dictionary]. [package com.informatimago.common-lisp.cesarum.dll] [package com.informatimago.common-lisp.cesarum.graph]. .................................................. [package com.informatimago.common-lisp.cesarum.llrbtree]. .................................................. [package com.informatimago.common-lisp.cesarum.queue] [package com.informatimago.common-lisp.cesarum.message-queue] [package com.informatimago.common-lisp.cesarum.ascii]. .................................................. [package com.informatimago.common-lisp.cesarum.character]. [package com.informatimago.common-lisp.cesarum.character-sets] [package com.informatimago.common-lisp.cesarum.iso3166] [package com.informatimago.common-lisp.cesarum.iso4217]. [package com.informatimago.common-lisp.cesarum.iso639a] [package com.informatimago.common-lisp.cesarum.pmatch] [package com.informatimago.common-lisp.cesarum.combination]. [package com.informatimago.common-lisp.cesarum.constraints]. [package com.informatimago.common-lisp.cesarum.raiden] [package com.informatimago.common-lisp.cesarum.dfa]. [package com.informatimago.common-lisp.cesarum.tea] [package com.informatimago.common-lisp.cesarum.circular] [package com.informatimago.common-lisp.cesarum.histogram]. [package com.informatimago.common-lisp.cesarum.a-star] [package com.informatimago.common-lisp.cesarum.activity]. .................................................. [package com.informatimago.common-lisp.cesarum.date.utility] [package com.informatimago.common-lisp.julian-calendar] [package com.informatimago.common-lisp.gregorian-calendar] [package com.informatimago.common-lisp.cesarum.date]. .................................................. [package com.informatimago.common-lisp.cesarum.version]. [package com.informatimago.common-lisp.cesarum.stream] [package com.informatimago.common-lisp.cesarum.file]. [package com.informatimago.common-lisp.cesarum.peek-stream]. [package com.informatimago.common-lisp.cesarum.cache]. .................................................. [package com.informatimago.common-lisp.cesarum.float-binio] [package com.informatimago.common-lisp.picture.picture]. .................................................. [package com.informatimago.common-lisp.picture.cons-to-ascii] [package com.informatimago.common-lisp.picture.tree-to-ascii]. [package com.informatimago.common-lisp.arithmetic.primes] [package com.informatimago.common-lisp.arithmetic.p127n2]. [package com.informatimago.common-lisp.data-encoding.data-encoding]. .................................................. [package com.informatimago.common-lisp.data-encoding.bencode]. [package com.informatimago.common-lisp.data-encoding.hexadecimal]. [package com.informatimago.common-lisp.data-encoding.ecp]. [package com.informatimago.common-lisp.heap.memory]. [package com.informatimago.common-lisp.heap.heap]. .................................................. [package com.informatimago.common-lisp.html-generator.html-entities]. .................................................. [package com.informatimago.common-lisp.html-generator.html]. .................................................. [package com.informatimago.common-lisp.html-parser.parse-html]. .................................................. [package com.informatimago.common-lisp.http.hquery] [package com.informatimago.common-lisp.http.htrans]. .................................................. [package com.informatimago.common-lisp.bank.iban]. [package com.informatimago.common-lisp.bank.rib].. [package com.informatimago.common-lisp.csv.csv]... [package com.informatimago.common-lisp.diagram.tree-to-diagram] [package com.informatimago.common-lisp.regexp.regexp-emacs]. .................................................. [package com.informatimago.common-lisp.regexp.regexp-posix] [package com.informatimago.common-lisp.regexp.regexp-posix.keyword]. .. ; in (DEFUN RMATCH-B-ANCHOR ...)
; Caught STYLE-WARNING: ; The variable #:G193370 is defined but never used.
; in (DEFUN RMATCH-E-ANCHOR ...)
; Caught STYLE-WARNING: ; The variable #:G193396 is defined but never used.
; in (DEFUN RMATCH-L-ANCHOR ...)
; Caught STYLE-WARNING: ; The variable #:G193423 is defined but never used.
; in (DEFUN RMATCH-R-ANCHOR ...)
; Caught STYLE-WARNING: ; The variable #:G193457 is defined but never used.
; in (DEFUN RMATCH-ANY ...)
; Caught STYLE-WARNING: ; The variable #:G193492 is defined but never used.
.. ; Caught COMPILE-WARNED-WARNING: ; Lisp compilation had style-warnings while compiling #<ASDF/LISP-ACTION :CL-SOURCE-FILE "com.informatimago.common-lisp.regexp" "regexp-posix">
.............................................. [package com.informatimago.common-lisp.ed.ed]..... [package com.informatimago.common-lisp.graphviz.graph-dot] [package com.informatimago.common-lisp.invoice.invoice]. .................................................. [package com.informatimago.common-lisp.interactive.browser]. [package com.informatimago.common-lisp.interactive.interactive]. .................................................. [package com.informatimago.common-lisp.parser.scanner]. [package com.informatimago.common-lisp.parser.parser]. [package com.informatimago.common-lisp.rfc2822.rfc2822] [package com.informatimago.common-lisp.rfc3548.rfc3548]. [package com.informatimago.common-lisp.unix.aliases]. [package com.informatimago.common-lisp.unix.group] [package com.informatimago.common-lisp.unix.passwd]. [package com.informatimago.common-lisp.unix.option].
; Compilation unit finished ; Caught 1 WARNING condition ; Caught 5 STYLE-WARNING conditions
To load "com.informatimago.common-lisp.lisp.stepper": Load 1 ASDF system: com.informatimago.common-lisp.lisp.stepper ; Loading "com.informatimago.common-lisp.lisp.stepper" [package com.informatimago.common-lisp.lisp.stepper.internal]. .................................................. [package com.informatimago.common-lisp.lisp.stepper]. . To load "com.informatimago.clmisc": Load 1 ASDF system: com.informatimago.clmisc ; Loading "com.informatimago.clmisc" [package com.informatimago.clmisc.resource-utilization] To load "com.informatimago.tools": Load 1 ASDF system: com.informatimago.tools ; Loading "com.informatimago.tools" To load "com.informatimago.clext": Load 1 ASDF system: com.informatimago.clext ; Loading "com.informatimago.clext" [package closer-mop].............................. [package closer-common-lisp]...................... [package closer-common-lisp-user]................. [package com.informatimago.clext.association]..... [package com.informatimago.clext.character-sets]. To load "alexandria": Load 1 ASDF system: alexandria ; Loading "alexandria" [package alexandria.0.dev].... Error loading /home/pjb/rc/common.lisp at line 262 (offset 9763) #<THREAD "interpreter" {7C9CC8FE}>: Debugger invoked on condition of type READER-ERROR The package "COM.INFORMATIMAGO.TOOLS.PATHNAME" can't be found.
[1] PJB(1): (asdf/upgrade:asdf-version) "3.1.0.103" [1] PJB(2):
--
-- Ticket URL: http://abcl.org/trac/ticket/386#comment:3 armedbear http://abcl.org armedbear