Skip to contentSkip to conversation

python-gevent: update to version 1.3.4

PATCH In review Derek Straka 2 participants 2 messages Jul 10, 2018 – Jul 11, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-gevent: update to version 1.3.4

License-Update: Update the checksum to include a file added in the latest release

---
 meta-python/recipes-devtools/python/python-gevent.inc               | 6 +++---
 .../python/{python-gevent_1.2.2.bb => python-gevent_1.3.4.bb}       | 0
 .../python/{python3-gevent_1.2.2.bb => python3-gevent_1.3.4.bb}     | 0
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-gevent_1.2.2.bb => python-gevent_1.3.4.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-gevent_1.2.2.bb => python3-gevent_1.3.4.bb} (100%)
meta-python/recipes-devtools/python/python-gevent.inc +3 -3
index 13513f2..074e62f 100644
@@ -4,7 +4,7 @@ a high-level synchronous API on top of the libevent event loop."
 HOMEPAGE = "http://www.gevent.org"
 LICENSE = "MIT & Python-2.0 & BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65 \
-                    file://NOTICE;md5=5966cd2c6582656d28ab3c33da3860f8 \
+                    file://NOTICE;md5=18108df3583462cafd457f024b9b09b5 \
                     file://deps/libev/LICENSE;md5=d6ad416afd040c90698edcdf1cbee347"
 DEPENDS += "libevent"
 DEPENDS += "${PYTHON_PN}-greenlet"
@@ -19,8 +19,8 @@ SRC_URI_append = " \
     file://libev-conf.patch;patch=1;pnum=1 \
 "
 
-SRC_URI[md5sum] = "7f0baf355384fe5ff2ecf66853422554"
-SRC_URI[sha256sum] = "4791c8ae9c57d6f153354736e1ccab1e2baf6c8d9ae5a77a9ac90f41e2966b2d"
+SRC_URI[md5sum] = "97deaf53196ba430808e8f18b731112a"
+SRC_URI[sha256sum] = "53c4dc705886d028f5d81e698b1d1479994a421498cd6529cb9711b5e2a84f74"
 
 # The python-gevent has no autoreconf ability
 # and the logic for detecting a cross compile is flawed
meta-python/recipes-devtools/python/python-gevent_1.3.4.bb renamed from meta-python/recipes-devtools/python/python-gevent_1.2.2.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-gevent_1.2.2.bb
rename to meta-python/recipes-devtools/python/python-gevent_1.3.4.bb
meta-python/recipes-devtools/python/python3-gevent_1.3.4.bb renamed from meta-python/recipes-devtools/python/python3-gevent_1.2.2.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-gevent_1.2.2.bb
rename to meta-python/recipes-devtools/python/python3-gevent_1.3.4.bb
Signature · 1 line
2.7.4
#1 lore raw

Fails to build on some platforms e.g. qemuarm and raspberrypi3

| In file included from /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/python-gevent/1.3.4-r0/recipe-sysroot-native/usr/include/python2.7/Python.h:61,
| from src/gevent/_greenlet_primitives.c:24:
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/python-gevent/1.3.4-r0/recipe-sysroot-native/usr/include/python2.7/pyport.h:895:2:
error: #error "LONG_BIT definition appears wrong for platform (bad
gcc/glibc config?)."
| #error "LONG_BIT definition appears wrong for platform (bad
gcc/glibc config?)."
| ^~~~~
| In file included from /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/python-gevent/1.3.4-r0/recipe-sysroot-native/usr/include/python2.7/Python.h:83,

|                  from src/gevent/_greenlet_primitives.c:24:
| src/gevent/_greenlet_primitives.c: In function '__Pyx_PyBool_FromLong':
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/python-gevent/1.3.4-r0/recipe-sysroot-native/usr/include/python2.7/object.h:769:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
|      ((PyObject*)(op))->ob_refcnt++)
|      ~^~~~~~~~~~~~~~~~
| src/gevent/_greenlet_primitives.c:668:28: note: in expansion of
macro 'Py_INCREF'
|  #define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
|                             ^~~~~~~~~
| src/gevent/_greenlet_primitives.c:6007:14: note: in expansion of
macro '__Pyx_NewRef'
|    return b ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False);
|               ^~~~~~~~~~~~
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/python-gevent/1.3.4-r0/recipe-sysroot-native/usr/include/python2.7/object.h:769:6:
warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
|      ((PyObject*)(op))->ob_refcnt++)
|      ~^~~~~~~~~~~~~~~~
| src/gevent/_greenlet_primitives.c:668:28: note: in expansion of
macro 'Py_INCREF'
|  #define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
|                             ^~~~~~~~~
| src/gevent/_greenlet_primitives.c:6007:38: note: in expansion of
macro '__Pyx_NewRef'
|    return b ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False);
|                                       ^~~~~~~~~~~~
| error: command 'arm-bec-linux-gnueabi-gcc' failed with exit status 1
| ERROR: python setup.py build execution failed.
| WARNING: /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/python-gevent/1.3.4-r0/temp/run.do_compile.6087:1

exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/python-gevent/1.3.4-r0/temp/log.do_compile.6087)

Quoted 52 lines · Derek Straka

License-Update: Update the checksum to include a file added in the latest release

---
 meta-python/recipes-devtools/python/python-gevent.inc               | 6 +++---
 .../python/{python-gevent_1.2.2.bb => python-gevent_1.3.4.bb}       | 0
 .../python/{python3-gevent_1.2.2.bb => python3-gevent_1.3.4.bb}     | 0
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-gevent_1.2.2.bb => python-gevent_1.3.4.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-gevent_1.2.2.bb => python3-gevent_1.3.4.bb} (100%)
meta-python/recipes-devtools/python/python-gevent.inc +3 -3
index 13513f2..074e62f 100644
@@ -4,7 +4,7 @@ a high-level synchronous API on top of the libevent event loop."
 HOMEPAGE = "http://www.gevent.org"
 LICENSE = "MIT & Python-2.0 & BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65 \
-                    file://NOTICE;md5=5966cd2c6582656d28ab3c33da3860f8 \
+                    file://NOTICE;md5=18108df3583462cafd457f024b9b09b5 \
                     file://deps/libev/LICENSE;md5=d6ad416afd040c90698edcdf1cbee347"
 DEPENDS += "libevent"
 DEPENDS += "${PYTHON_PN}-greenlet"
@@ -19,8 +19,8 @@ SRC_URI_append = " \
     file://libev-conf.patch;patch=1;pnum=1 \
 "
 
-SRC_URI[md5sum] = "7f0baf355384fe5ff2ecf66853422554"
-SRC_URI[sha256sum] = "4791c8ae9c57d6f153354736e1ccab1e2baf6c8d9ae5a77a9ac90f41e2966b2d"
+SRC_URI[md5sum] = "97deaf53196ba430808e8f18b731112a"
+SRC_URI[sha256sum] = "53c4dc705886d028f5d81e698b1d1479994a421498cd6529cb9711b5e2a84f74"
 
 # The python-gevent has no autoreconf ability
 # and the logic for detecting a cross compile is flawed
meta-python/recipes-devtools/python/python-gevent_1.3.4.bb renamed from meta-python/recipes-devtools/python/python-gevent_1.2.2.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-gevent_1.2.2.bb
rename to meta-python/recipes-devtools/python/python-gevent_1.3.4.bb
meta-python/recipes-devtools/python/python3-gevent_1.3.4.bb renamed from meta-python/recipes-devtools/python/python3-gevent_1.2.2.bb +0 -1
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-gevent_1.2.2.bb
rename to meta-python/recipes-devtools/python/python3-gevent_1.3.4.bb
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel