all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Manolis Ragkousis <manolis837@gmail.com>
Cc: Guix-devel <Guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: base: Avoid circular dependency among glibc-hurd-headers and hurd-minimal.
Date: Sun, 31 May 2015 22:25:18 +0200	[thread overview]
Message-ID: <87r3pw1olt.fsf@gnu.org> (raw)
In-Reply-To: <CAFtzXzPib5s4zBUPdsQrO-ow8-h_+ddonP_s-D2enxEhY9hE8A@mail.gmail.com> (Manolis Ragkousis's message of "Wed, 27 May 2015 17:39:10 +0300")

Manolis Ragkousis <manolis837@gmail.com> skribis:

> From 744e51fc7f61685fd6785a64cefbaeb3cf87d2ec Mon Sep 17 00:00:00 2001
> From: Manolis Ragkousis <manolis837@gmail.com>
> Date: Wed, 27 May 2015 17:22:43 +0300
> Subject: [PATCH] gnu: base: Avoid circular dependency among glibc-hurd-headers
>  and hurd-minimal.
>
> There is a circular dependency between glibc-hurd-headers and hurd-minimal, where
> one expects the other, while only the later needs the former.
>
> * gnu/packages/base.scm (glibc/hurd-headers): Add correct propagated-inputs.

[...]

> --- a/gnu/packages/base.scm
> +++ b/gnu/packages/base.scm
> @@ -758,6 +758,8 @@ command.")
>    (package (inherit glibc/hurd)
>      (name "glibc-hurd-headers")
>      (outputs '("out"))
> +    (propagated-inputs `(("gnumach-headers" ,gnumach-headers)
> +                         ("hurd-headers" ,hurd-headers)))
>      (arguments
>       (substitute-keyword-arguments (package-arguments glibc/hurd)
>         ;; We just pass the flags really needed to build the headers.

The patch makes sense to me: it’s a case of library A using headers of
libraries B and C, so B and C must be propagated.

I’m not sure why you mention a circular dependency in the message, and
what this has to do with that though.  I think the message should simply
be:

  gnu: glibc/hurd-headers: Propagate Hurd and Mach headers.

  * gnu/packages/base.scm (glibc/hurd-headers)[propagated-inputs]: New
    field.

Thanks!

Ludo’.

  reply	other threads:[~2015-05-31 20:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27 14:39 [PATCH] gnu: base: Avoid circular dependency among glibc-hurd-headers and hurd-minimal Manolis Ragkousis
2015-05-31 20:25 ` Ludovic Courtès [this message]
2015-06-05 21:49   ` Manolis Ragkousis
2015-06-06 17:42     ` Ludovic Courtès

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=87r3pw1olt.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=Guix-devel@gnu.org \
    --cc=manolis837@gmail.com \
    /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.