[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging missing architecture support
From: |
Konrad Hinsen |
Subject: |
Re: Debugging missing architecture support |
Date: |
Thu, 15 Feb 2024 11:06:04 +0100 |
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.
Re: Debugging missing architecture support, Saku Laesvuori, 2024/02/14