When loading :alexandria with asdf in ecl 10.7.1, there's a mix up
with pathnames.


Filesystem error with pathname #P"LIBCL:ASDF-SYSTEMS;PACKAGE.LISP".
Either
 1) the file does not exist, or
 2) we are not allow to access the file, or
 3) the pathname points to a broken symbolic link.
   [Condition of type FILE-ERROR]

Restarts:
 0: [TRY-RECOMPILING] Try recompiling package
 1: [RETRY] Retry performing #<ASDF:COMPILE-OP NIL 69316208> on 
#<ASDF:CL-SOURCE-FILE "alexandria" "package">.
 2: [ACCEPT] Continue, treating #<ASDF:COMPILE-OP NIL 69316208> on 
#<ASDF:CL-SOURCE-FILE "alexandria" "package"> as having been successful.
 3: [RETRY] Retry SLIME REPL evaluation request.
 4: [*PROCESS-INPUT] Continue reading input.
 5: [ABORT] Return to SLIME's top level.
 --more--

Backtrace:
  0: DEBUG-IN-EMACS
  1: INVOKE-SLIME-DEBUGGER
  2: G826
  3: CALL-WITH-DEBUGGER-HOOK
  4: SWANK-DEBUGGER-HOOK
      [No Locals]
  5: #<bytecompiled-function 0000000003e85b40>
      Locals:
        SYSTEMS = (:ALEXANDRIA)
        SYSTEM#1 = :ALEXANDRIA
  6: #<bytecompiled-function ASDF-LOAD>
      Locals:
        SYSTEMS = (:ALEXANDRIA)


asdf:*central-registry*
=> (#P"PACKAGES:UK;ORG;JARW;LENS;"
    #P"PACKAGES:UK;ORG;JARW;CL-DOCUTILS;" 
    #P"PACKAGES:UK;ORG;JARW;CL-DATA-FORMAT-VALIDATION;"
    #P"LISP:SITE-SYSTEMS;"
    #P"LIBCL:ASDF-BINARY-LOCATIONS;"
    #P"LIBCL:ASDF-SYSTEMS;"
    #P"/home/pjb/opt/lib/ecl-10.7.1/")


(translate-logical-pathname #P"LIBCL:ASDF-SYSTEMS;ALEXANDRIA.ASD")
==> 
#P"/home/pjb/firms/medicalis/src/mdi/subprojects/dependencies/lisp/libcl/asdf-systems/alexandria.asd"

% ls -l 
/home/pjb/firms/medicalis/src/mdi/subprojects/dependencies/lisp/libcl/asdf-systems/alexandria.asd
lrwxrwxrwx 1 pjb pjb 28 May  2 21:01 
/home/pjb/firms/medicalis/src/mdi/subprojects/dependencies/lisp/libcl/asdf-systems/alexandria.asd
 -> ../alexandria/alexandria.asd


In the previous versions of ASDF, and I believe it is a strong design
feature of ASDF, it followed the symbolic links (using truename at
some point) to find the files of the system.  Personnally, I wouldn't
mind NOT relying on symbolic links, but a lot of system installations
do, including ASDF-INSTALL and LIBCL.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ecls-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to