diff options
author | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-02-05 07:08:42 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-02-05 07:08:42 +0100 |
commit | e2c03d54bb11a405255e8a2a0bbb22a7ac80d512 (patch) | |
tree | c7cb8a044450b565f4988af164f31986007c6ff3 /package/python3/0007-Abort-on-failed-module-build.patch | |
parent | 9385bc05208397feefb68518b31d560b2d6dee6c (diff) | |
download | buildroot-e2c03d54bb11a405255e8a2a0bbb22a7ac80d512.tar.gz buildroot-e2c03d54bb11a405255e8a2a0bbb22a7ac80d512.zip |
Revert "python3: bump to 2.6.4"
This reverts commit 233202597d9411399aeaded2f9a7cd14f2e29833, which
causes a lot of build failures. Part of the Python build process tries
to use os.replace(), which is only available since Python 3.3. It
should work if the host-python being built was used, but unfortunately
the system Python ends up being used, causing the build failure.
Fixes:
http://autobuild.buildroot.net/results/ed95a7ded6bd6c17bd0820b3a96862487b71eb2b/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python3/0007-Abort-on-failed-module-build.patch')
-rw-r--r-- | package/python3/0007-Abort-on-failed-module-build.patch | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/package/python3/0007-Abort-on-failed-module-build.patch b/package/python3/0007-Abort-on-failed-module-build.patch index 3da6604ced..a44d6b3ec3 100644 --- a/package/python3/0007-Abort-on-failed-module-build.patch +++ b/package/python3/0007-Abort-on-failed-module-build.patch @@ -9,8 +9,6 @@ nice behavior, so this patch changes setup.py to abort with an error, so that the build issue is clearly noticeable. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> -[aduskett@gmail.com: Update for python 3.6.4] -Signed-off-by: Adam Duskett <aduskett@gmail.com> --- setup.py | 1 + 1 file changed, 1 insertion(+) @@ -19,7 +17,7 @@ diff --git a/setup.py b/setup.py index c956fa08d1..b3add2be76 100644 --- a/setup.py +++ b/setup.py -@@ -337,6 +337,7 @@ class PyBuildExt(build_ext): +@@ -312,6 +312,7 @@ class PyBuildExt(build_ext): print("Failed to build these modules:") print_three_column(failed) print() |