From: Ross Burton <ross.burton@intel.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH meta-python 1/2] python-protobuf: disable clean
Date: Mon, 9 Jul 2018 11:49:32 +0100 [thread overview]
Message-ID: <20180709104933.24607-1-ross.burton@intel.com> (raw)
The distutils class does a 'setup.py clean' but this breaks the protobuf build:
| Can't find required file: ../src/google/protobuf/descriptor.proto
| Generating google/protobuf/descriptor_pb2.py...
| ERROR: python3 setup.py build_ext execution failed.
Disable the clean to work around this.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta-python/recipes-devtools/python/python-protobuf.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-python/recipes-devtools/python/python-protobuf.inc b/meta-python/recipes-devtools/python/python-protobuf.inc
index 6a0568ae62..421775d394 100644
--- a/meta-python/recipes-devtools/python/python-protobuf.inc
+++ b/meta-python/recipes-devtools/python/python-protobuf.inc
@@ -25,3 +25,5 @@ RDEPENDS_${PN} += " \
# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools)
BBCLASSEXTEND = "native"
+
+CLEANBROKEN = "1"
--
2.11.0
next reply other threads:[~2018-07-09 10:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-09 10:49 Ross Burton [this message]
2018-07-09 10:49 ` [PATCH meta-python 2/2] python-panda: add cython to DEPENDS Ross Burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180709104933.24607-1-ross.burton@intel.com \
--to=ross.burton@intel.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox