I was running into this same problem. It's caused by the fact that the "output-files" override with "load-op" defined in adsf-ecl.lisp returns [file].fas, which causes "operation-done-p" to assume the load has already occurred as long as the [file].fas exists. "output-files" should always return nil.<br>
<br>As a workaround, you can erase the contents of asdf-ecl.lisp before building, or compile-file asdf.lisp and use the result to replace your installed asdf.fas.<br><br><div class="gmail_quote">On Tue, May 13, 2008 at 9:00 AM, Samium Gromoff <_<a href="mailto:deepfire@feelingofgreen.ru">deepfire@feelingofgreen.ru</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Good day Juan,<br>
<br>
I've encountered a rebuild problem that might be related to the<br>
load-at-once behavior.<br>
<br>
Testcase is as follows:<br>
<br>
a1.lisp: -------------------<br>
<br>
(defpackage a1)<br>
<br>
a1.asd: --------------------<br>
<br>
(defpackage :a1.system<br>
(:use :cl :asdf))<br>
<br>
(in-package :a1.system)<br>
<br>
(defsystem :a1<br>
:depends-on ()<br>
:components<br>
((:file "a1")))<br>
<br>
a2.lisp: -------------------<br>
<br>
(defpackage a2<br>
(:use :a1))<br>
<br>
a2.asd: --------------------<br>
<br>
(defpackage :a2.system<br>
(:use :cl :asdf))<br>
<br>
(in-package :a2.system)<br>
<br>
(defsystem :a2<br>
:depends-on (:a1)<br>
:components<br>
((:file "a2")))<br>
<br>
<br>
With that in place we perform the following sequence:<br>
<br>
1. The first, successful build:<br>
<br>
ecl -eval '(require :asdf)' -eval '(asdf:make-build :a2 :type :fasl :monolithic t)' -eval '(quit)'<br>
<br>
2. Simulation of change, either<br>
<br>
sleep 2s; touch a2.lisp<br>
<br>
or<br>
<br>
rm a2.o liba2.a a2.fasb<br>
<br>
<br>
3. Problem point:<br>
<br>
deepfire@canopus:~/local$ ecl -eval '(require :asdf)' -eval '(asdf:make-build :a2 :type :fasl :monolithic t)' -eval '(quit)'<br>
;;; Loading #P"/usr/lib/ecl/asdf.fas"<br>
;;; Loading #P"/usr/lib/ecl/cmp.fas"<br>
;;; Loading #P"/usr/lib/ecl/sysfun.lsp"<br>
; loading system definition from a2.asd into #<ASDF0 package><br>
;;; Loading "/mnt/ext/home/deepfire/local/a2.asd"<br>
; registering #<SYSTEM :A2 138027488> as A2<br>
; loading system definition from a1.asd into #<ASDF0 package><br>
;;; Loading "/mnt/ext/home/deepfire/local/a1.asd"<br>
; registering #<SYSTEM :A1 138096640> as A1<br>
;;; Compiling /mnt/ext/home/deepfire/local/a2.lisp.<br>
;;; Compiling (SI::DODEFPACKAGE "A2" ...).<br>
;;; The form (SI::DODEFPACKAGE "A2" 'NIL NIL '("A1") 'NIL 'NIL 'NIL 'NIL 'NIL 'NIL) was not evaluated successfully.<br>
;;; You are recommended to compile again.<br>
An error occurred during initialization:<br>
There exists no package with name "A1".<br>
<br>
<br>
regards, Samium Gromoff<br>
<br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
<a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
</blockquote></div><br>