all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Konrad Hinsen <konrad.hinsen@fastmail.net>,
	Guillaume Le Vaillant <glv@posteo.net>,
	guix-devel@gnu.org
Subject: Re: Looking for help with packaging a Common Lisp library
Date: Sat, 25 Jan 2020 21:04:50 +0100	[thread overview]
Message-ID: <878slv9ual.fsf@ambrevar.xyz> (raw)
In-Reply-To: <m1k15fqpgm.fsf@ordinateur-de-catherine--konrad.home>

[-- Attachment #1: Type: text/plain, Size: 1417 bytes --]

Konrad Hinsen <konrad.hinsen@fastmail.net> writes:

> Hi Pierre and Guillaume,
>
> thanks for your quick help!
>
> Guillaume Le Vaillant <glv@posteo.net> writes:
>
>> I think the generated '...-sbcl-hdf5-cffi-1.8.18/lib/sbcl/hdf5-cffi.asd'
>> file is missing a dependency. It contains ':depends-on ("cffi")', but
>> I think it should be ':depends-on ("cffi" "cffi-grovel")', because the
>
> That was the problem indeed. I patched hdf5-cffi.asd to add :cffi-grovel
> to the dependencies, and with that patch everything works fine.
>
>> We could add all the dependencies declared in the original asd files (by
>> 'defsystem-depends-on' and 'depends-on') to the generated asd files with
>> the following patch:
>
> I don't know ASDF and the ASDF build system well enough to comment on
> that. All I can say is that in a "standard" SBCL + QuickLisp
> environment, it is not necessary to patch  hdf5-cffi.asd, so it seems
> to be correct as far as I can tell, meaning that it would be nice if it
> worked out of the box as well in Guix.

The Guix package recreates the .asd file (without the
defsystem-depends-on), which is why it worked in Quicklisp but not in
Guix.

We could merge Guillaume's patch, but first I'd like to make sure that
this is not an upstream bug.  Isn't cffi-grovel supposed to be added to
the :depends-on list instead?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2020-01-25 20:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-25 15:03 Looking for help with packaging a Common Lisp library Konrad Hinsen
2020-01-25 15:51 ` Pierre Neidhardt
2020-01-25 16:13   ` Guillaume Le Vaillant
2020-01-25 16:19     ` Pierre Neidhardt
2020-01-25 18:28       ` Guillaume Le Vaillant
2020-01-25 19:10         ` Pierre Neidhardt
2020-01-25 19:57     ` Konrad Hinsen
2020-01-25 20:04       ` Pierre Neidhardt [this message]
2020-01-26 10:54         ` Konrad Hinsen
2020-01-26 12:15           ` Pierre Neidhardt
2020-01-26 18:04             ` Konrad Hinsen
2020-01-27 14:07               ` Guillaume Le Vaillant
2020-01-27 14:33                 ` Pierre Neidhardt
2020-01-28 10:07                   ` Guillaume Le Vaillant
2020-01-28 11:15                     ` Pierre Neidhardt
2020-01-28 17:09                       ` Konrad Hinsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878slv9ual.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=glv@posteo.net \
    --cc=guix-devel@gnu.org \
    --cc=konrad.hinsen@fastmail.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.