make gen failed: file does not exist

Open
#3,264 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
api, build-system

Research direction

Start by examining Makefile.core.mk and the clean.sh and gen.sh entry points used by make gen, then inspect the import in authentication/v1alpha1/policy.proto. Confirm how the referenced google/api/field_behavior.proto file is expected to be provided; done means make gen completes without the missing-file error.

Written by the indexing model from the issue text.

Description

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
Dominant language
Go
Stars
523
Forks
623
Avg merge
5d 20h
Merged PRs (30d)
4

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from istio/api

All issues in istio/api

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.