[Armedbear-ticket] [armedbear] #376: ASDF-JAR:PACKAGE not working
armedbear
armedbear-devel at common-lisp.net
Mon Nov 17 09:30:13 UTC 2014
#376: ASDF-JAR:PACKAGE not working
---------------------------+-----------------------
Reporter: mevenson | Owner: evenson
Type: defect | Status: new
Priority: major | Milestone: 1.4.0
Component: abcl-contrib | Version: 1.4.0-dev
Resolution: | Keywords: asdf-jar
---------------------------+-----------------------
Comment (by mevenson):
ASDF-JAR:PACKAGE and ASDF-JAR:ADD-TO-ASDF have been verified working as
previously.
The ASDF-JAR packaging system only works for those ASDF system which
completely describe all of their source artifacts. Unfortunately, some
commonly used systems still use reader macros to do funky things in the
ASDF definition that don't obey this distinction. For instance, BORDEAUX-
THREADS (version 0.8.3) uses the following read-time macro to attempt to
set the version:
{{{
:version #.(with-open-file
(vers (merge-pathnames "version.lisp-expr" *load-
truename*))
(read vers))
}}}
This will fail, as the "version.lisp-expr" file is not declared in the
ASDF definition.
For systems such as these, a better strategy would be to simply
recursively copy all the files from the directory containing the ".asd"
file for inclusion. See [https://bitbucket.org/easye/abcl-
servlet/src/b0e7e5353d6c92a1990ed1bb5500be1bd919b341/src/lisp/prepare.lisp
ABCL-SERVLET:PREPARE] for a packaging method that utilizes this strategy.
--
Ticket URL: <http://abcl.org/trac/ticket/376#comment:3>
armedbear <http://abcl.org>
armedbear
More information about the armedbear-ticket
mailing list