[protobuf_cpp] Updated to Protobuf 3.5.1 + fixed protoc issue#1440
Merged
AndreMiras merged 1 commit intokivy:masterfrom Nov 10, 2018
Merged
[protobuf_cpp] Updated to Protobuf 3.5.1 + fixed protoc issue#1440AndreMiras merged 1 commit intokivy:masterfrom
AndreMiras merged 1 commit intokivy:masterfrom
Conversation
Member
|
Thanks for the PR! Could you fix the linter so the integration test makes it to the end. Keep in mind you can always run |
c2876e0 to
aa771b6
Compare
Contributor
Author
|
@AndreMiras done |
Member
|
Looking good thank you 👍 I'm sorry that the CI is still far from being perfect and it currently fails because of a missing system dependency. Until we tacle that, can you simply add protobuf to our ignore list with something like: diff --git a/ci/constants.py b/ci/constants.py
index 804ceffa..e7f84aca 100644
--- a/ci/constants.py
+++ b/ci/constants.py
@@ -44,6 +44,9 @@ BROKEN_RECIPES_PYTHON2 = set([
'm2crypto',
'netifaces',
'Pillow',
+ # requires autoconf system dependency on host
+ # https://api.travis-ci.org/v3/job/450538715/log.txt
+ 'protobuf_cpp',
# https://github.com/kivy/python-for-android/issues/1405
'psycopg2',
'pygame',Otherwise no worries I can do it since I'll pick up #1454 pretty soon. |
Protobuf has been updated to 3.5.1, it's not the last version (3.6.1) because last version cause trouble during compilation and needs more work. This patch also fixes the issue with hardcoded local path for protoc which could not work. Protobuf needs a version of "protoc" (its compiler, used to produce .py file from .proto files) compiled for the host platform. Official binaries for protoc are available, the recipe will download the one suitable for host and use it. If the platform is not supported, building may still work if the right "protoc" is available in search path.
aa771b6 to
856a02a
Compare
Contributor
Author
|
@AndreMiras done :) |
AndreMiras
approved these changes
Nov 10, 2018
Member
AndreMiras
left a comment
There was a problem hiding this comment.
Looking good, thanks for maintaining
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Protobuf has been updated to 3.5.1, it's not the last version (3.6.1)
because last version cause trouble during compilation and needs more
work.
This patch also fixes the issue with hardcoded local path for protoc which
could not work. Protobuf needs a version of "protoc" (its compiler, used
to produce .py file from .proto files) compiled for the host platform.
Official binaries for protoc are available, the recipe will download the
one suitable for host and use it.
If the platform is not supported, building may still work if the right "protoc"
is available in search path.