[mcclim-devel] Re: Bug#310640: cl-asdf: cl-mcclim package made unusable by the latest asdf package
Peter Van Eynde
pvaneynd at mailworks.org
Sat Jun 4 21:58:01 UTC 2005
Milan Zamazal wrote:
> It seems the bug is still present in cl-asdf 1.86-5:
...
It seems the problem is McClim (!)
> debugger invoked on a DUPLICATE-NAMES in thread 31186:
> Condition DUPLICATE-NAMES was signalled.
...
> (:MODULE "scigraph"
If you reproduce the problem and do:
0] (loop for (a name c d) in (nth 9 (SB-DEBUG:ARG 1)) do (format t
"~&~A~%" name))
package <- NAME package
feature-case
macros
tv
draw
present
extensions
wholine
export
package <- NAME package AGAIN!
copy
dump
duplicate
random
menu-tools
basic-classes
draw
mouse
color
basic-graph
graph-mixins
axis
moving-object
symbol
graph-data
legend
graph-classes
present
annotations
annotated-graph
contour
equation
popup-accept
popup-accept-methods
duplicate-methods
frame
export
demo-frame
So the problem is with McCLIM, or better with the defsystem macro in
McCLIM that defines system with duplicate names:
0] (in-package :mcclim.system)
#<PACKAGE "MCCLIM.SYSTEM">
0] (cl:macroexpand '(clim-defsystem (:scigraph :depends-on (:clim
:clim-looks))
;; The DWIM part of SCIGRAPH
"Apps/Scigraph/dwim/package"
"Apps/Scigraph/scigraph/package" ))
(PROGN
(DEFSYSTEM :SCIGRAPH
:DEPENDS-ON
(:CLIM :CLIM-LOOKS)
:SERIAL
T
:COMPONENTS
((:FILE "package"
:PATHNAME
#P"/home/pvaneynd/fakeroot/McCLIM/Apps/Scigraph/dwim/package.lisp")
(:FILE "package"
:PATHNAME
#P"/home/pvaneynd/fakeroot/McCLIM/Apps/Scigraph/scigraph/package.lisp"))))
T
As asdf refers internally to subsystems only by name this is "a bad
thing" (TM).
Groetjes, Peter
--
signature -at- pvaneynd.mailworks.org
http://www.livejournal.com/users/pvaneynd/
"God, root, what is difference?" Pitr | "God is more forgiving." Dave
Aronson|
More information about the mcclim-devel
mailing list