unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: Circular dependencies in gnu/packages, weird error message
Date: Sun, 06 Nov 2016 18:36:34 +0100	[thread overview]
Message-ID: <878tsw1pel.fsf@gnu.org> (raw)
In-Reply-To: <20161104222622.2dac6487@scratchpost.org> (Danny Milosavljevic's message of "Fri, 4 Nov 2016 22:26:22 +0100")

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
> index 1d577c7..44ab171 100644
> --- a/gnu/packages/admin.scm
> +++ b/gnu/packages/admin.scm
> @@ -43,6 +43,8 @@
>    #:use-module (guix build-system trivial)
>    #:use-module (gnu packages)
>    #:use-module (gnu packages base)
> +  #:use-module (gnu packages cross-base)
> +;  #:use-module ((gnu packages cross-base) #:select (cross-gcc cross-binutils cross-libc))

Never use #:select for (gnu packages …) modules.

> -     `(("pkg-config" ,pkg-config)))
> +     `(("pkg-config" ,pkg-config)
> +       ("cross-binutils" ,(cross-binutils "arm-linux-gnueabihf"))
> +       ("cross-gcc" ,(cross-gcc "arm-linux-gnueabihf" #:libc (cross-libc "arm-linux-gnueabihf")))

‘cross-gcc’ doesn’t have a #:libc parameter.  Should be

   (let ((triplet "arm-linux-gnueabihf"))
     (cross-gcc triplet
                (cross-binutils triplet)
                (cross-libc triplet)))

HTH!

Ludo’.

  reply	other threads:[~2016-11-06 17:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-04  1:24 Circular dependencies in gnu/packages, weird error message Danny Milosavljevic
2016-11-04 14:37 ` Ludovic Courtès
2016-11-04 21:26   ` Danny Milosavljevic
2016-11-06 17:36     ` Ludovic Courtès [this message]
2016-11-06 20:50       ` Danny Milosavljevic
2016-11-06 21:29         ` Ludovic Courtès
2016-11-06 22:06           ` Danny Milosavljevic

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=878tsw1pel.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).