asdf:image-op fails on sbcl and ccl when any system :depends-on :cffi-grovel

Bug #1573480 reported by Marco Heisig
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
CFFI
Invalid
Undecided
Luís Oliveira

Bug Description

CFFI Version 0.17.1
SBCL 1.3.4, CCL 1.10
OS: Debian Linux 8.4
ASDF: 3.1.5
Quicklisp 2016-02-22

Creation of Lisp images and standalone programs via ASDF fails for (at least) SBCL and CCL as soon as :cffi-toolchain is added as a system dependency. This bug also affects cl-launch.

It seems commit 2de8ece51b20ec0da177f8e38febb3127b1dafc2 in toolchain/asdf-compat.lisp introduced an around method for COMPONENT-DEPENDS-ON (IMAGE-OP SYSTEM) that calls ASDF/BUNDLE:MAKE-LIBRARY-SYSTEM. However ASDF defines MAKE-LIBRARY-SYSTEM only for (or clasp ecl mkcl). The other Lisps (at least SBCL and CCL) fail with a UNDEFINED-FUNCTION error.

I attached a minimal lisp program that reproduces the problem.

Revision history for this message
Marco Heisig (marco-heisig-h) wrote :
Revision history for this message
Luís Oliveira (luismbo) wrote : Re: [Bug 1573480] [NEW] asdf:image-op fails on sbcl and ccl when any system :depends-on :cffi-grovel

On Fri, Apr 22, 2016 at 9:59 AM, Marco Heisig <email address hidden> wrote:
> ASDF: 3.1.5
[...]
> It seems commit 2de8ece51b20ec0da177f8e38febb3127b1dafc2 in toolchain
> /asdf-compat.lisp introduced an around method for COMPONENT-DEPENDS-ON
> (IMAGE-OP SYSTEM) that calls ASDF/BUNDLE:MAKE-LIBRARY-SYSTEM. However
> ASDF defines MAKE-LIBRARY-SYSTEM only for (or clasp ecl mkcl). The other
> Lisps (at least SBCL and CCL) fail with a UNDEFINED-FUNCTION error.

That commit message mentions that "ASDF 3.1.6 is required, but
backward compatibility code is provided at least back to ASDF 3.1.2.".
Can you test with version ASDF 3.1.6?

Revision history for this message
Marco Heisig (marco-heisig-h) wrote :

On 04/22/2016 12:12 PM, Luís Oliveira wrote:
> On Fri, Apr 22, 2016 at 9:59 AM, Marco Heisig <email address hidden> wrote:
>> ASDF: 3.1.5
> [...]
>> It seems commit 2de8ece51b20ec0da177f8e38febb3127b1dafc2 in toolchain
>> /asdf-compat.lisp introduced an around method for COMPONENT-DEPENDS-ON
>> (IMAGE-OP SYSTEM) that calls ASDF/BUNDLE:MAKE-LIBRARY-SYSTEM. However
>> ASDF defines MAKE-LIBRARY-SYSTEM only for (or clasp ecl mkcl). The other
>> Lisps (at least SBCL and CCL) fail with a UNDEFINED-FUNCTION error.
> That commit message mentions that "ASDF 3.1.6 is required, but
> backward compatibility code is provided at least back to ASDF 3.1.2.".
> Can you test with version ASDF 3.1.6?
>
Ok, testing with ASDF 3.1.6 on SBCL succeeds and my problem is solved.
It is up to you to decide whether requiring at least ASDF 3.1.6 is a
CFFI bug or not.

Thank you for your quick reply,
Marco

Revision history for this message
Luís Oliveira (luismbo) wrote :

IIUC, this is a recent ASDF feature that was partially implemented in ASDF 3.1.5 and then fully implemented in ASDF 3.1.6, so I guess it's not a CFFI bug. Marking the bug as "not a bag". Thanks!

Changed in cffi:
status: New → Invalid
assignee: nobody → Luís Oliveira (luismbo)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.