[Armedbear-devel] controlling from where ASDF loads .abcl files

Anton Vodonosov avodonosov at yandex.ru
Fri Apr 25 11:44:34 UTC 2014



23.04.2014, 08:27, "Robert Dodier" <robert.dodier at gmail.com>:
> Hi,
>
> I'm trying to use ABCL + ASDF to compile and load Maxima.
> It used to work so I guess there have just been some small
> changes to ABCL and/or ASDF that I need to take account of.
>
> After (require 'asdf) and (setf asdf:*central-registry*
> '(*default-pathname-defaults*)) (which wasn't necessary before,
> but that doesn't matter), I find that (asdf:operate 'asdf:load-op
> :maxima) fails with an error like this:
>
> #<THREAD "interpreter" {EE920}>: Debugger invoked on condition of type
> FILE-ERROR
>   File not found:
> /home/robert/.cache/common-lisp/abcl-1.3.0-fasl42-linux-x86
> /home/robert/tmp/maxima-5.33.0/src/binary-abcl/maxima-package.abcl
>
> But maxima-package.abcl does exist in
> /home/robert/tmp/maxima-5.33.0/src/binary-abcl,
> and (since the current working directory is /home/robert
> /tmp/maxima-5.33.0/src)
> (load "binary-abcl/maxima-package.abcl") succeeds.
> Then I can select option 2 (accept) and continue to the next
> file, autoconf-variables.abcl, load it by hand, continue to the
> next, nregex.abcl, etc etc.
>
> /home/robert/.cache/common-lisp doesn't exist. How can I tell ASDF to
> look in the same place that it actually wrote the file?
>
> Thanks for any advice. I found some ASDF documentation
> but couldn't figure it out.
>
> best,
>
> Robert Dodier

I have been testing ASDF 3.1.0.116 and noticed that this version
of ASDF fixes trivial-features:
http://common-lisp.net/project/cl-test-grid/asdf/asdf-diff-41.html

As you can see, ABCL 1.2.0, 1.2.1, 1.3.0 fail trivial-features with
similar error: 

COMMON-LISP:FILE-ERROR: File not found: /home/testgrid/cl-test-grid/work-dir/agent/test-runs/20140418063041-abcl-1.3.0-svn-14688-fasl42-linux-x86/fasl/test-grid/work-dir/agent/quicklisp/dists/quicklisp/software/trivial-features-20130312-git/tests/utsname.abcl

When ASDF 3.1.0.116 is used instead of the ASDF version shipped
with these ABCLs, then trivial-features start working.

So, maybe it was some bug in ASDF wich is fixed now?

BTW, what are .abcl files?

Best regards,
- Anton


_______________________________________________
Armedbear-devel mailing list
Armedbear-devel at common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel


More information about the armedbear-devel mailing list