From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org, Efraim Flashner <efraim@flashner.co.il>
Subject: Re: Debugging missing architecture support
Date: Thu, 15 Feb 2024 11:06:04 +0100 [thread overview]
Message-ID: <m18r3mqbxv.fsf@fastmail.net> (raw)
In-Reply-To: <87a5o2rdjy.fsf@elephly.net>
Ricardo Wurmus <rekado@elephly.net> writes:
> You can try this in guix repl:
>
> --8<---------------cut here---------------start------------->8---
> (import (srfi srfi-1)
> (guix packages)
> (gnu packages))
>
> (define p (specification->package "git-annex"))
> (define deps (package-development-inputs p))
> (find (lambda (pkg)
> (not (member "aarch64-linux" (package-supported-systems pkg))))
> (map cadr deps))
> --8<---------------cut here---------------end--------------->8---
Thanks, that's very useful!
I changed the last command to
--8<---------------cut here---------------start------------->8---
(find (lambda (pkg)
(and (package? pkg)
(not (member "aarch64-linux" (package-supported-systems pkg)))))
(map cadr deps))
--8<---------------cut here---------------end--------------->8---
because some packages have local files among the development inputs.
This search doesn't work for all cases though. For "python-jupyterlab"
(from the guix-science channel) it returns no problematic dependencies,
and yet I cannot build the package for aarch64-linux.
The problem in that case seems to be cross-compilation. The dependency
of python-jupyterlab that fails to build is libwebp, whose build log
says:
@ unsupported-platform /gnu/store/7fj9ckgxw27r196vkisc9cm3n8v9072x-libwebp-1.3.2.drv aarch64-linux
while setting up the build environment: a `aarch64-linux' is required to
build `/gnu/store/7fj9ckgxw27r196vkisc9cm3n8v9072x-libwebp-1.3.2.drv',
but I am a `x86_64-linux'
Maybe this would build on an actual ARM64 machine.
Cheers,
Konrad.
next prev parent reply other threads:[~2024-02-15 10:06 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 [this message]
2024-02-24 16:35 ` Ludovic Courtès
2024-02-25 17:22 ` Konrad Hinsen
2024-02-14 20:26 ` Saku Laesvuori
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=m18r3mqbxv.fsf@fastmail.net \
--to=konrad.hinsen@fastmail.net \
--cc=efraim@flashner.co.il \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.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.