GNU bug report logs - #39894
[Common Lisp] asdf-build-system/source should refer to dependencies in the store

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Wed, 4 Mar 2020 08:13:02 UTC

Severity: normal

To reply to this bug, email your comments to 39894 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#39894; Package guix. (Wed, 04 Mar 2020 08:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 04 Mar 2020 08:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: bug-guix <at> gnu.org
Subject: [Common Lisp] asdf-build-system/source should refer to dependencies
 in the store
Date: Wed, 04 Mar 2020 09:12:17 +0100
[Message part 1 (text/plain, inline)]
The sbcl build system generates a new .asd that refers to all the
required input explicitly in the store.

The asdf-build-system/source does not do that.  Because of this,
installing the source packages in a profile does not work as expected:
loading the source in a Common Lisp REPL will fail, complaining about
missing dependencies.

I suggest we use an .asd generation similar to that of the SBCL build system.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#39894; Package guix. (Thu, 07 May 2020 17:12:02 GMT) Full text and rfc822 format available.

Message #8 received at 39894 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 39894 <at> debbugs.gnu.org
Cc: Guillaume Le Vaillant <glv <at> posteo.net>, hu.moonstone <at> gmail.com
Subject: Re: bug#39894: [Common Lisp] asdf-build-system/source should refer to
 dependencies in the store
Date: Thu, 07 May 2020 19:11:12 +0200
[Message part 1 (text/plain, inline)]
I made a mistaken in the original post:  the cl-* (source) packages do
propagate their input.  So source packages _do_ work as expected.

What we'd like to do improve here is _not_ propagate the inputs and
instead refer directly to them in the store.

I tried generating and .asd which would do the following

--8<---------------cut here---------------start------------->8---
(asdf:load-asd ORIGINAL-ASD)

(push INPUT-PATH-TO-SOURCE asdf:*central-registry*)
; more push of all inputs here.
--8<---------------cut here---------------end--------------->8---

The problem is that we can't name the .asd like the original or ASDF
will complain about circular dependencies.

The only way I can think about is to add the "push" lines to the
original .asd itself (at the end should be fine).  Not sure how I feel
about modifying the original .asd, seems brittle.

There may be a better way.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 326 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.