[meta-python] python-gevent: update to version 1.3.4

Submitted by Derek Straka on July 10, 2018, 12:47 p.m. | Patch ID: 152488

Details

Message ID 1531226869-12905-1-git-send-email-derek@asterius.io
State Changes Requested
Headers show

Commit Message

Derek Straka July 10, 2018, 12:47 p.m.
License-Update: Update the checksum to include a file added in the latest release

Signed-off-by: Derek Straka <derek@asterius.io>
---
 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%)

Patch hide | download patch | download mbox

diff --git a/meta-python/recipes-devtools/python/python-gevent.inc b/meta-python/recipes-devtools/python/python-gevent.inc
index 13513f2..074e62f 100644
--- a/meta-python/recipes-devtools/python/python-gevent.inc
+++ b/meta-python/recipes-devtools/python/python-gevent.inc
@@ -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
diff --git a/meta-python/recipes-devtools/python/python-gevent_1.2.2.bb b/meta-python/recipes-devtools/python/python-gevent_1.3.4.bb
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
diff --git a/meta-python/recipes-devtools/python/python3-gevent_1.2.2.bb b/meta-python/recipes-devtools/python/python3-gevent_1.3.4.bb
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

Comments

Khem Raj July 11, 2018, 3:01 p.m.
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)


On Tue, Jul 10, 2018 at 6:48 AM Derek Straka <derek@asterius.io> wrote:
>
> License-Update: Update the checksum to include a file added in the latest release
>
> Signed-off-by: Derek Straka <derek@asterius.io>
> ---
>  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%)
>
> diff --git a/meta-python/recipes-devtools/python/python-gevent.inc b/meta-python/recipes-devtools/python/python-gevent.inc
> index 13513f2..074e62f 100644
> --- a/meta-python/recipes-devtools/python/python-gevent.inc
> +++ b/meta-python/recipes-devtools/python/python-gevent.inc
> @@ -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
> diff --git a/meta-python/recipes-devtools/python/python-gevent_1.2.2.bb b/meta-python/recipes-devtools/python/python-gevent_1.3.4.bb
> 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
> diff --git a/meta-python/recipes-devtools/python/python3-gevent_1.2.2.bb b/meta-python/recipes-devtools/python/python3-gevent_1.3.4.bb
> 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
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel