GNU bug report logs -
#39894
[Common Lisp] asdf-build-system/source should refer to dependencies in the store
Previous Next
To reply to this bug, email your comments to 39894 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
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):
[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):
[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 4 years and 333 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.