GNU bug report logs - #56536
[PATCH]: gnu: newt: Fix cross-compilationn

Previous Next

Package: guix-patches;

Reported by: Jean Pierre De Jesus DIAZ <me <at> jeandudey.tech>

Date: Wed, 13 Jul 2022 12:10:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 56536 <at> debbugs.gnu.org (full text, mbox):

From: Jean Pierre De Jesus DIAZ <me <at> jeandudey.tech>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 56536 <at> debbugs.gnu.org
Subject: [PATCH]: gnu: newt: Fix cross-compilationn
Date: Sat, 06 Aug 2022 16:54:14 +0000
Hello,

> Why not moving python to the native-inputs instead?

Because `python-config' output differs for the host and the target I
believe.

Thanks,

—
Jean-Pierre De Jesus DIAZ


------- Original Message -------
On Saturday, August 6th, 2022 at 18:40, Mathieu Othacehe <othacehe <at> gnu.org> wrote:


> Hello,
>
> > + (add-before 'build 'add-python-config-to-path
> > + (lambda* (#:key target #:allow-other-keys)
> > + ;; When cross-compiling python-config is not present in $PATH.
> > + ;;
> > + ;; It is a shell script without dependencies on target binaries
> > + ;; so it can be run on the host to allow cross-compilation.
>
>

>
> Thanks,
>
> Mathieu




This bug report was last modified 2 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.