Opened 10 years ago

Closed 10 years ago

#386 closed defect (fixed)

asdf doesn't load dependencies in abcl

Reported by: ehuelsmann Owned by:
Priority: major Milestone: 1.3.2
Component: ASDF Version: 1.3.1
Keywords: Cc: Mark Evenson
Parent Tickets:

Description (last modified by Mark Evenson)

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@…>"
:maintainer "Pascal J. Bourguignon <pjb@…>"
:licence "AGPL3"
;; component attributes:
:name "Informatimago Common Lisp Tools Agregate"
:version "1.0.2"
:properties ((#:author-email . "pjb@…")

(#: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):

Change History (6)

comment:1 Changed 10 years ago by ehuelsmann

For reference, the same script run by ccl (with asdf version "3.1.3"):

[pjb@kuiper :10.0 lisp]$ ccl
;; -*- 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].
..................................................
[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].
.
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"
[package closer-mop]..............................
[package closer-common-lisp]......................
[package closer-common-lisp-user].................
[package com.informatimago.clext.association].....
[package com.informatimago.clext.character-sets]..
[package com.informatimago.clext.closer-weak].....
[package com.informatimago.clext.closer-weak-user].
..................................................
[package com.informatimago.tools.dependency-cycles].
[package com.informatimago.common-lisp.script]....
[package com.informatimago.tools.asdf-file].......
[package com.informatimago.tools.check-asdf]......
[package com.informatimago.common-lisp.tools.make-depends].
..................................................
[package asdf]....................................
[package split-sequence]..........................
[package com.informatimago.tools.manifest]........
[package com.informatimago.tools.pathname]........
[package com.informatimago.read-sources]..........
[package com.informatimago.tools.symbol]..........
[package com.informatimago.tools.quicklisp].......
[package com.informatimago.tools.asdf]
To load "alexandria":

Load 1 ASDF system:

alexandria

; Loading "alexandria"
[package alexandria.0.dev]........
(OPTIMIZE (SAFETY 3) (DEBUG 3) (SPEED 0) (SPACE 0) (COMPILATION-SPEED 1))
Welcome to Clozure Common Lisp Version 1.10-r16196 (LinuxX8664)!

CCL is developed and maintained by Clozure Associates. For more information
about CCL visit http://ccl.clozure.com. To enquire about Clozure's Common Lisp
consulting services e-mail info@… or visit http://www.clozure.com.

? (asdf/upgrade:asdf-version)
"3.1.3"

comment:2 Changed 10 years ago by Mark Evenson

It is unclear to me how to reproduce your problem. You mention “the same
script run run by CCL” but I see no script, as you show an invocation of abcl
without any arguments. Is the script you refer to the contents of “~/.abclrc”?
If so, can you you please provide the contents of the file as well as a little
instructions on how to set things up?

Naively, I expect that your problems will be solved by using ASDF 3.1.4 which
is in the abcl-1.4.0-dev version of ABCL available at the svn HEAD.

I did some poking around loading the Quicklisp versions of the
"com.informatimago.common-lisp.tools.pathname" and
"com.informatimago.common-lisp.graphviz” packages on both abcl 1.3.1 and HEAD
without encountering problems.

comment:3 Changed 10 years ago by Mark Evenson

Description: modified (diff)

comment:4 Changed 10 years ago by Mark Evenson

Milestone: 1.3.2
Version: 1.3.11.4.0-dev

comment:5 Changed 10 years ago by Mark Evenson

Version: 1.4.0-dev1.3.1

comment:6 Changed 10 years ago by Mark Evenson

Resolution: fixed
Status: newclosed

abcl-1.3.2 and trunk contain asdf-3.1.4 which resolves this problem

Note: See TracTickets for help on using tickets.