[asdf-devel] Fwd: Re: [Openmcl-devel] asdf 2 imported into trunk

Robert Goldman rpgoldman at sift.info
Fri May 7 21:37:26 UTC 2010


This was in the openmcl-devel list.

Question:  should we bundle a version of ASDF-INSTALL that's known to be
compatible?  Is there someone we should be talking to who maintains
ASDF-INSTALL?

cheers,
r


-------- Original Message --------
Subject: Re: [Openmcl-devel] asdf 2 imported into trunk
Date: Fri, 07 May 2010 17:27:53 -0400
From: Raffael Cavallaro <raffaelcavallaro at mac.com>
To: openmcl-devel <openmcl-devel at clozure.com>


On May 5, 2010, at 10:53 PM, R. Matthew Emerson wrote:

> I just updated the trunk's bundled ASDF from upstream.
> 
> http://common-lisp.net/project/asdf/
> 
> The ASDF maintainers consider this version of ASDF to
> be a release candidate.
> 
> http://common-lisp.net/project/asdf/asdf/FAQ.html includes
> an entry describing what has changed since ASDF 1.
> 
> One notable pitfall:  ASDF 2 is not compatible with
> asdf-binary-locations.  ASDF 2 now includes similar
> functionality itself.  Please read the FAQ link above
> for more information.
> 
> Please test it out on your systems.  If you find a bug,
> please report it at https://launchpad.net/asdf or use the asdf
> mailing list: http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel

FWIW, I ran into an issue with the new version of asdf (i.e., asdf 2)
and the latest asdf-install. There's a simple, one line fix to the most
recent asdf-install to make it work with the asdf 2.

In the file installer.lisp which is part of asdf-install, an around
method for the generic function find-component has an incompatible
lambda list. The latest version of installer.lisp from asdf-install has
this:

(defmethod asdf:find-component :around
    ((module (eql nil)) name &optional version)
  (declare (ignore version)) ...

just remove the &optional parameter and the subsequent declaration:

(defmethod asdf:find-component :around
    ((module (eql nil)) name) ...

and now asdf-install will load and work properly. (well, it still
doesn't pass its own test suite because it tries to use an illegal
character in a filename when writing its report, but it does
successfully install asdf-installable systems).

warmest regards,

Ralph



Raffael Cavallaro
raffaelcavallaro at me.com





_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
http://clozure.com/mailman/listinfo/openmcl-devel




More information about the asdf-devel mailing list