[Ecls-list] ASDF load-op problem

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Sep 9 17:15:19 UTC 2008


On Sun, Sep 7, 2008 at 3:46 PM,
<kmkaplan+ecl at kim.kim-minh.com<kmkaplan%2Becl at kim.kim-minh.com>
> wrote:

> kmkaplan+ecl writes:
>
> > Forget about it: upgrading to ECL 0.9l solved it.
>
> Uh...  I was confused and had actually *downgraded* to ECL 0.9i.  The
> problem is the same in 0.9l.  Downgrading only
> contrib/asdf/asdf-ecl.lisp to the last stable version (1.4) fixes it.
> That is I now happily run ECL_0_9l with asdf-ecl.lisp from ECL_STABLE.


Hi Kim,

I am sorry it took me so long to answer, but I have been so far unable to
reproduce your bug neither with CVS nor with the 0.9l release. ASDF properly
finds out the changes and loads the right file. Which platform is this? Did
you clean all the files before reinstalling?

Juanjo

$ cat > test-case.asd
(defsystem :test-case :components ((:file "test")))
$ cat > test.lisp
(defun test () (write-line "First test - reloaded"))
$ ecl -norc
ECL (Embeddable Common-Lisp) 0.9l (CVS 2008-06-19 17:09)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  Top level.
> (setf *compile-verbose* nil)
NIL
> (require 'asdf)
;;; Loading #P"/Users/jjgarcia/lib/ecl/ASDF.fas"
;;; Loading #P"/Users/jjgarcia/lib/ecl/CMP.fas"
;;; Loading #P"/Users/jjgarcia/lib/ecl/sysfun.lsp"
("ASDF" "CMP")
> (asdf:oos 'asdf:load-op :test-case)
; loading system definition from test-case.asd into #<ASDF0 package>
;;; Loading "/Users/jjgarcia/test-case.asd"
; registering #<SYSTEM :TEST-CASE 5939776> as TEST-CASE
;;; Loading "/Users/jjgarcia/test.fas"
NIL
> (test)
First test - reloaded
"First test - reloaded"
> (si::system "sed -e 's,reloaded,rereloaded,g' < test.lisp > foo.lisp; mv
foo.lisp test.lisp")
0
> (si::system "cat test.lisp")
(defun test () (write-line "First test - rereloaded"))
0
> (asdf:oos 'asdf:load-op 'test-case)
;;; Loading "/Users/jjgarcia/test.fas"
NIL
> (test)
First test - rereloaded
"First test - rereloaded"


-- 
Instituto de Física Fundamental
CSIC, Serrano, 113, Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20080909/14e36ae1/attachment.html>


More information about the ecl-devel mailing list