-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Make proto-tools script creates unbuildable proto files #7332
Comments
Hold on, your build's job @aaronc @clevinson any advice here? Can anyone reproduce this issue somehow? |
The docker command stays up to date with the latest buf changes. To mitigate this someone should create a docker file that builds proto stubs. It seems there are countless issues with the current design because of the use of so many tools. We did this on tendermint to mitigate this issue when the work on proto first started. It has saved the team time in producing the proto files |
buf now has support for protoc |
I had this issue locally as well, so I don't think docker is the problem? |
Has anyone else been able to reproduce on a Mac? |
I can reproduce this on Linux, see comment |
I'm experiencing this issue too on Mac... See #7425 (review) |
adding this to 0.40 milestone @clevinson @amaurymartiny |
I think we all agree that we should 1/ remove I'm assigning this to @marbar3778, lmk if you prefer someone from the Regen team to take care of it. |
I'm still facing this issue. How can I fix it? Edit: I checked out the commit 5e16c21 and reinstalled using the old proto script as Aditya described in the top post of this issue. |
Summary of Bug
I reinstalled my proto-tools with the new Makefile script and while everything downloaded just fine, and running the proto commands works fine. The final result is unbuildable.
To see an example of the
pb.go
files this build generated, see this commit: c2b7b56Trying to build fails on this commit as you can see in the github checks on that commit.
I had to checkout to a version of master before #7294 and reinstall my proto tooling there to get my branch working again.
Version
Commit: 56e3bc1
Operating System: Darwin 19.4.0
Steps to Reproduce
I also noticed that in either case,
make proto-format
was not working for me: #7320 (comment).proto-tools
downloads clang-format version10.0.1
for me. I don't know if that is the correct version or not.It's possible something I did in my setup was wrong, but I removed all the executables proto-tools should download and reran the script and still got the same error, so not sure what's happening.
cc: @alessio @alexanderbez
For Admin Use
The text was updated successfully, but these errors were encountered: