GNU bug report logs - #60733
python build systems does not support cross-compilation

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Wed, 11 Jan 2023 16:44:02 UTC

Severity: normal

To reply to this bug, email your comments to 60733 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#60733; Package guix. (Wed, 11 Jan 2023 16:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 11 Jan 2023 16:44:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: python build systems does not support cross-compilation
Date: Wed, 11 Jan 2023 11:43:14 -0500
Hello,

Here's an example:

--8<---------------cut here---------------start------------->8---
$ guix build --target=aarch64-linux-gnu python-coverage

guix build: error: gnu/packages/check.scm:1997:2: python-coverage <at> 5.2.1:
build system `python' does not support cross builds
--8<---------------cut here---------------end--------------->8---

Python byte compiled files are not architecture dependents, so nothing
is needed for them.  In some cases where C extensions are used,
setuptools or PEP 517 python build systems handle this transparently.

So it seems like we should be able to support cross-compiling Python
packages easily, which can be useful when building images containing
Python packages for embedded systems via cross-compilation.

Thoughts?

-- 
Thanks,
Maxim




This bug report was last modified 1 year and 323 days ago.

Previous Next


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