[oe] [meta-python][PATCH] python-grpcio: only modify the compiler arguments on the target build
Derek Straka
derek at asterius.io
Mon Nov 27 15:55:04 UTC 2017
The modification causes issues with the native builds of the package:
src/core/lib/surface/lame_client.cc: In function ‘grpc_channel* grpc_lame_client_channel_create(const char*, grpc_status_code, const char*)’:
src/core/lib/surface/lame_client.cc:178:3: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto chand = reinterpret_cast<grpc_core::ChannelData *>(elem->channel_data);
^
src/core/lib/surface/lame_client.cc:178:8: error: ‘chand’ does not name a type
auto chand = reinterpret_cast<grpc_core::ChannelData *>(elem->channel_data);
Signed-off-by: Derek Straka <derek at asterius.io>
---
meta-python/recipes-devtools/python/python-grpcio_1.7.0.bb | 2 +-
meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.7.bb | 2 --
meta-python/recipes-extended/python-pyparted/python3-pyparted_3.10.7.bb | 2 --
3 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python-grpcio_1.7.0.bb b/meta-python/recipes-devtools/python/python-grpcio_1.7.0.bb
index 3ca7d53..d4d869d 100644
--- a/meta-python/recipes-devtools/python/python-grpcio_1.7.0.bb
+++ b/meta-python/recipes-devtools/python/python-grpcio_1.7.0.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
DEPENDS = "python-protobuf"
-SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \
+SRC_URI_append_class-target = "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \
"
RDEPENDS_${PN} = "python-enum34 \
python-futures \
diff --git a/meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.7.bb b/meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.7.bb
index 8a15a89..81d61c6 100644
--- a/meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.7.bb
+++ b/meta-python/recipes-extended/python-pyparted/python-pyparted_3.10.7.bb
@@ -1,7 +1,5 @@
require python-pyparted.inc
-DEPENDS += "python-re"
-
PV = "3.10.7+git${SRCPV}"
inherit distutils
diff --git a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.10.7.bb b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.10.7.bb
index ff72c2a..4d6f97b 100644
--- a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.10.7.bb
+++ b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.10.7.bb
@@ -1,7 +1,5 @@
require python-pyparted.inc
-DEPENDS += "python3-re"
-
PV = "3.10.7+git${SRCPV}"
inherit distutils3
--
2.7.4
More information about the Openembedded-devel
mailing list