Hi,
The following is representative of an obscure bug I'm trying to resolve (without direct access to the computer). It affects A-B-L 0.3.8 and a recent release of ASDF, but I don't see any relevant changes to either project in the past couple years.
To set up this example, # cd /path/to/.asdf # ln -s ../asdf-binary-locations/asdf-binary-locations.asd .
Then under LispWorks on a PPC mac,
CL-USER > (push #P"/path/to/.asdf/" asdf:*central-registry*) CL-USER > (asdf:operate 'asdf:load-op :asdf-binary-locations) ; loading system definition from ; /path/to/.asdf/asdf-binary-locations.asd into ; #<The ASDF0 package, 0/16 internal, 0/16 external> ; Loading text file /path/to/.asdf/asdf-binary-locations.asd ; registering #<SYSTEM ASDF-BINARY-LOCATIONS 200B9373> as ASDF-BINARY-LOCATIONS Error: The file #P"/path/to/.asdf/dev/main.lisp" does not exist.
ASDF is clearly resolving the symlink to read A-B-L.asd; but its using the wrong path to load the source files. Is the custom load-op for load-only-cl-source-file somehow skipping the normal truename/path merging process? Any other ideas or things to look for?
Thanks, Daniel
Daniel Herring wrote:
The following is representative of an obscure bug I'm trying to resolve (without direct access to the computer). It affects A-B-L 0.3.8 and a recent release of ASDF, but I don't see any relevant changes to either project in the past couple years.
...
Error: The file #P"/path/to/.asdf/dev/main.lisp" does not exist.
False alarm. Apparently, zip by default replaces symlinks with copies, thus messing up my paths.
- Daniel
Hi Daniel,
Thanks for letting me know; I was going to try and track this down this weekend.
On Sep 25, 2009, at 1:48 PM, dherring@tentpost.com wrote:
Daniel Herring wrote:
The following is representative of an obscure bug I'm trying to resolve (without direct access to the computer). It affects A-B-L 0.3.8 and a recent release of ASDF, but I don't see any relevant changes to either project in the past couple years.
...
Error: The file #P"/path/to/.asdf/dev/main.lisp" does not exist.
False alarm. Apparently, zip by default replaces symlinks with copies, thus messing up my paths.
- Daniel
asdf-devel mailing list asdf-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM * gwking on twitter