[asdf-install-devel] ASDF-install and CL-Yacc: wrong system name

Gary King gwking at metabang.com
Tue Jul 21 17:13:53 UTC 2009


Hi Juliusz,

(firstly, my apologies for losing track of your e-mail in limbo for so  
long...).

Secondly, ASDF-Install used to load all of the system defs that came  
in a tarball. This caused problems because sometimes those system-defs  
were meant for specific OSes or architectures and so caused errors.  
Therefore, ASDF-install change to loading only the system def that it  
thought it was supposed to be finding (via the canonical name). This,  
as you point one, breaks CL-Yacc.

One heuristic solution would be for ASDF-install handle the case where  
it cannot find the canonical system by then loading any other system  
defs. This would handle your case and, I think, be simpler than trying  
to add a new metafile).

Unless you disagree, I'll make this change in ASDF-Install shortly.




On Mar 15, 2009, at 6:52 AM, Juliusz Chroboczek wrote:

> Hi,
>
> I'm the author of CL-Yacc, which is ASDF-installable.  Or at least  
> used to
> be.
>
> CL-Yacc lives in a tarball called cl-yacc-0.3.tar.gz.  It also lives  
> in
> a Debian package called cl-yacc.
>
> Since the ``cl-'' prefix makes no sense in a system name, the system  
> it
> defines is called ``yacc'' and lives in a file called ``yacc.asd''.   
> This
> is fine for Debian's Common Lisp stuff.
>
> OTOH, recent versions of ASDF-Install complain that they cannot find  
> the
> ``cl-yacc'' system.  I'm not going to rename the system, since that  
> would
> break my users' code, and I'm not going to include two systems, as  
> that
> would cause useless confusion.
>
> I can see two solutions:
>
> 1. ASDF-Install could strip the ``cl-'' prefix when searching for a  
> system;
> 2. there could be a way for the package author (me) to specify the  
> actual
>   system name in a metadata file.
>
> Either would be fine with me, as long as people stop e-mailing me  
> with the
> problem.
>
>                                        Juliusz
>
> _______________________________________________
> asdf-install-devel mailing list
> asdf-install-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel

--
Gary Warren King, metabang.com
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM * gwking on twitter









More information about the asdf-install-devel mailing list