Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme: Fix build instructions (wrong protobuf version) #438

Closed
wants to merge 1 commit into from

Conversation

gg7
Copy link

@gg7 gg7 commented Nov 30, 2017

Travis uses Protobuf 3.2.0 for testing, but the readme specifies Protobuf 2.5.0.

The project fails to build with 2.5.0:

     [exec] src/test/resources/TestProto3.proto:1:10: Unrecognized syntax identifier "proto3".  This parser only recognizes "proto2".

The command '/bin/sh -c LC_ALL=C mvn install --batch-mode -DskipTests=true -Dmaven.javadoc.skip=true -Dsource.skip=true' returned a non-zero code: 1

The issue is very easy to reproduce with my Dockerfile -- gg7/docker-parquet-mr (note that you have to change the protobuf URL in addition to specifying --build-arg PROTOBUF_VERSION=2.5.0 due to protocolbuffers/protobuf#2025 ).

Copy link
Member

@julienledem julienledem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

README.md Outdated
tar xzf protobuf-2.5.0.tar.gz
cd protobuf-2.5.0
wget https://github.com/google/protobuf/archive/v3.2.0.tar.gz
tar xzf protobuf-3.2.0.tar.gz

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this line be tar xzf v3.2.0.tar.gz?

Other than that +1

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it should be! Thanks!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@costimuraru Fixed

The project fails to build with Protobuf 2.5.0.

Signed-off-by: George Gaydarov <git@gg7.io>
@wangyum
Copy link
Member

wangyum commented Jun 7, 2018

@gg7 Already fixed. Do you mind close it?

@gg7
Copy link
Author

gg7 commented Jun 13, 2018

@wangyum Sure. I'm glad this got fixed after 6 months :)

@gg7 gg7 closed this Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants