all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Saku Laesvuori <saku@laesvuori.fi>
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Debugging missing architecture support
Date: Wed, 14 Feb 2024 22:26:41 +0200	[thread overview]
Message-ID: <qinbrzxkg3rv7azwh4me4ij4ihta5u4wykcqcuwhyezm4jsm4h@obdldyot6dci> (raw)
In-Reply-To: <m1h6ibxjl5.fsf@fastmail.net>

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

> in trying to build a Docker image for ARM64 (aarch64-linux), I am
> hitting errors of the kind
> 
>   "package git-annex@10.20230926 does not support aarch64-linux"
> 
> There doesn't seem to be anything specifically in the package
> definitions that precludes building for aarch64-linux, so I suspect it's
> either a dependency or the build system that lacks the required support.

Git-annex uses the haskell-build-system which requires GHC, the only
modern haskell compiler. Unfortunately GHC is only packaged for
i686-linux and x86_64-linux in Guix.

> How would I go about debugging such issues? Maybe the causes are simple
> and I can fix them. But I don't even know where to start.

Maybe someone else can give more general or Guix specific advice on
finding out the cause of such problems, but I believe that in this case
the fix would just be packaging GHC for aarch64-linux. It should[1] be
possible but it will require some work.

[1]: https://gitlab.haskell.org/ghc/ghc/-/wikis/platforms

- Saku

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

  parent reply	other threads:[~2024-02-14 20:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-14 13:26 Debugging missing architecture support Konrad Hinsen
2024-02-14 18:12 ` Efraim Flashner
2024-02-14 20:33   ` Ricardo Wurmus
2024-02-15 10:06     ` Konrad Hinsen
2024-02-24 16:35       ` Ludovic Courtès
2024-02-25 17:22         ` Konrad Hinsen
2024-02-14 20:26 ` Saku Laesvuori [this message]
2024-02-15 10:29   ` Konrad Hinsen
2024-02-16 10:34     ` Efraim Flashner

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=qinbrzxkg3rv7azwh4me4ij4ihta5u4wykcqcuwhyezm4jsm4h@obdldyot6dci \
    --to=saku@laesvuori.fi \
    --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.