istio / api

API definitions for the Istio project
Apache License 2.0
460 stars 558 forks source link

make gen failed: file does not exist #3264

Open sjtuzbk opened 4 months ago

sjtuzbk commented 4 months ago

After I cloned the code locally, I executed the make gen command, but got the following error.

➜  api git:(master) ✗ make gen  
./clean.sh
./gen.sh
authentication/v1alpha1/policy.proto:23:8:import "google/api/field_behavior.proto": file does not exist
make[1]: *** [Makefile.core.mk:34: gen-proto] Error 100
make: *** [gen] Error 2
sschepens commented 3 months ago

this is definitely affecting builds on macOS, running on a Linux VM doesn't fail though