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

add protobuf-compiler as a requirement #83

Closed
wants to merge 1 commit into from
Closed

Conversation

benpicco
Copy link
Contributor

When using the nanopb package, a version of protoc is needed to generate .c and header files from the protobuf definitions.
This adds protoc to riotdocker.

Needed for RIOT-OS/RIOT#11565

When using the nanopb package, a version of protoc is needed to generate .c and header files from the protobuf definitions.
This adds protoc to riotdocker.
@benpicco benpicco requested a review from kaspar030 September 11, 2019 16:44
@@ -8,3 +8,4 @@ ed25519==1.4
cbor==1.0.0
cryptography==2.6.1
scapy>=2.4.3
protobuf-compiler>=3.0.0
Copy link
Contributor

Choose a reason for hiding this comment

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

travis fails, cannot find that package. https://pypi.org/project/protobuf-compiler/ shows v1.0.20 is current?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh so these are Python modules - then this PR is of course wrong.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh so these are Python modules - then this PR is of course wrong.

Now I lost confidence that you've actually tried to build the container yourself. 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Github provides such a nice interface for making small edits to text files, I might have used just that…

@kaspar030
Copy link
Contributor

Could we use the protoc ubuntu package?

@benpicco
Copy link
Contributor Author

Could we use the protoc ubuntu package?

Absolutely! I thought this is what requirements.txt did - the package is called protobuf-compiler

@kaspar030
Copy link
Contributor

I thought this is what requirements.txt did

No, you'll need to add the package to one of the "apt-get" command lines.

@benpicco
Copy link
Contributor Author

Closed in favor of #84

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.

2 participants