-
Notifications
You must be signed in to change notification settings - Fork 13
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
Makefile doesn't work manually #11
Comments
The prerequisites are listed in the README here. The other question is whether we want to containerize this so that it is all set ups, the same way we did in eve? I don't think we want that heavy go-builder for this, we could do something much more lightweight. Is it worth it? |
On 8/6/23 02:57, Avi Deitcher wrote:
The prerequisites are listed in the README here
<https://github.com/lf-edge/eve-api#prerequisites>.
Either we introduced a bug recently, or those instructions are insufficient.
After installing them I get
***@***.***:~/main/eve-api$ make proto
rm -rf go/*/; mkdir -p go # building proto-api-go
protoc -I./proto --go_out=paths=source_relative:./go proto/*/*.proto
config/patch_envelope.proto: This file contains proto3 optional fields,
but --experimental_allow_proto3_optional was not set.
make: *** [Makefile:19: proto-api-go] Error 1
Are we running "make" or "make proto" as part of the CI?
Erik
… The other question is whether we want to containerize this so that it is
all set ups, the same way we did in eve? I don't think we want that
heavy go-builder for this, we could do something much more lightweight.
Is it worth it?
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGNLQWHJSFPSVEMNIEKAMJLXT5TCPANCNFSM6AAAAAA3B7SIKU>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Then incomplete. Can you post here what versions of the tools you have? Yes CI is running the tools as well. I suspect minimum version or flags or such. Let's use this failure to narrow down the issue. Maybe we should make it run-in-docker with an option to run locally? Rather than the current run locally? I'll look into that. Either way, do post your versions. |
FWIW |
That is a bit old, as in released July 2020. I suspect that is the issue. Either way, we now have the devcontainer setup. Can we close this? |
Back in eve/api I could do a make proto and it ran protoc etc.
That was using the go builder.
When I try that (under Linux) in the eve-api repo it fails with
nordmark@bobo:
/main/eve-api$ make proto/main/eve-api$ which protocrm -rf go//; mkdir -p go # building proto-api-go
protoc -I./proto --go_out=paths=source_relative:./go proto//*.proto
/bin/sh: 1: protoc: not found
make: *** [Makefile:19: proto-api-go] Error 127
nordmark@bobo:
nordmark@bobo:
/main/eve-api$ make/main/eve-api$protodot -inc /usr/include -src ./proto/config/devconfig.proto -output devconfig -generated ./images
make: protodot: No such file or directory
make: *** [Makefile:2: proto-diagram] Error 127
nordmark@bobo:
Can we make this work, or add the prerequisite installs to the README.md?
The text was updated successfully, but these errors were encountered: