Skip to content

add protobuf-compiler as a requirement#83

Closed
benpicco wants to merge 1 commit into
masterfrom
protobuf-compiler
Closed

add protobuf-compiler as a requirement#83
benpicco wants to merge 1 commit into
masterfrom
protobuf-compiler

Conversation

@benpicco

Copy link
Copy Markdown
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
Comment thread requirements.txt
cbor==1.0.0
cryptography==2.6.1
scapy>=2.4.3
protobuf-compiler>=3.0.0

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

Could we use the protoc ubuntu package?

@benpicco

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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