* [Buildroot] [PATCH] autobuild-run: Do not build python3 with this external toolchain
@ 2014-10-21 15:17 Vicente Olivert Riera
2014-10-25 10:01 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Vicente Olivert Riera @ 2014-10-21 15:17 UTC (permalink / raw)
To: buildroot
It fails to build python3 with an error like this one:
Failed to build these modules:
_posixsubprocess
Which comes from this previous error:
/br/output/build/python3-3.4.1/Modules/_posixsubprocess.c:246:33: error:
'SYS_getdents64' undeclared (first use in this function)
The failure is caused because this toolchain uses eglibc-2.18 which
lacks the definition of the SYS_getdents64 macro for MIPS64 n64.
Fixes:
http://autobuild.buildroot.net/results/8fd/8fd1fdf5f02365278a280d50adce98303fcc9a2a/
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
scripts/autobuild-run | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/scripts/autobuild-run b/scripts/autobuild-run
index c311ebf..fd1ba91 100755
--- a/scripts/autobuild-run
+++ b/scripts/autobuild-run
@@ -300,6 +300,10 @@ def fixup_config(instance, sysinfo):
if 'BR2_PACKAGE_RT_TESTS=y\n' in configlines and \
'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines:
return False
+ # This MIPS ctng toolchain fails to build the python3 package
+ if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \
+ 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines:
+ return False
with open(os.path.join(outputdir, ".config"), "w+") as configf:
configf.writelines(configlines)
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] autobuild-run: Do not build python3 with this external toolchain
2014-10-21 15:17 [Buildroot] [PATCH] autobuild-run: Do not build python3 with this external toolchain Vicente Olivert Riera
@ 2014-10-25 10:01 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-10-25 10:01 UTC (permalink / raw)
To: buildroot
Dear Vicente Olivert Riera,
On Tue, 21 Oct 2014 16:17:18 +0100, Vicente Olivert Riera wrote:
> It fails to build python3 with an error like this one:
>
> Failed to build these modules:
> _posixsubprocess
>
> Which comes from this previous error:
>
> /br/output/build/python3-3.4.1/Modules/_posixsubprocess.c:246:33: error:
> 'SYS_getdents64' undeclared (first use in this function)
>
> The failure is caused because this toolchain uses eglibc-2.18 which
> lacks the definition of the SYS_getdents64 macro for MIPS64 n64.
>
> Fixes:
> http://autobuild.buildroot.net/results/8fd/8fd1fdf5f02365278a280d50adce98303fcc9a2a/
>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
> scripts/autobuild-run | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-25 10:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-21 15:17 [Buildroot] [PATCH] autobuild-run: Do not build python3 with this external toolchain Vicente Olivert Riera
2014-10-25 10:01 ` Thomas Petazzoni
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.