Re: Debugging missing architecture support

2024-02-25 Thread Konrad Hinsen
Hi Ludo, > This shows an attempt to compile libwebp natively for aarch64-linux, > which fails on your machine. > > To cross compile, you would run: > > guix build python-jupyterlab --target=aarch64-linux-gnu That's already what I did, by giving the same option to "guix pack". I had someone che

Re: Debugging missing architecture support

2024-02-24 Thread Ludovic Courtès
Hi Konrad, Konrad Hinsen skribis: > 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 >

Re: Debugging missing architecture support

2024-02-16 Thread Efraim Flashner
On Thu, Feb 15, 2024 at 11:29:55AM +0100, Konrad Hinsen wrote: > Hi Saku, > > > 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

Re: Debugging missing architecture support

2024-02-15 Thread Konrad Hinsen
Hi Saku, > 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.haskel

Re: Debugging missing architecture support

2024-02-15 Thread Konrad Hinsen
Ricardo Wurmus 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

Re: Debugging missing architecture support

2024-02-14 Thread Ricardo Wurmus
Efraim Flashner writes: > As far as tracking back from git-annex to ghc to see that it's not > supported on aarch64, I'm not sure how you would find that information. You can try this in guix repl: --8<---cut here---start->8--- (import (srfi srfi-1)

Re: Debugging missing architecture support

2024-02-14 Thread Saku Laesvuori
> 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 sus

Re: Debugging missing architecture support

2024-02-14 Thread Efraim Flashner
On Wed, Feb 14, 2024 at 02:26:46PM +0100, Konrad Hinsen wrote: > Hi Guix experts, > > 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 specific

Debugging missing architecture support

2024-02-14 Thread Konrad Hinsen
Hi Guix experts, 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