-
Notifications
You must be signed in to change notification settings - Fork 653
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
Infinite loop fetching google/protobuf when building gazelle since overlay rules #1338
Comments
I couldn't reproduce this using the command and WORKSPACE file you posted. Is there any other configuration information (bazelrc files and such) you have locally that might affect this?
|
I have the same issue since the same commit but for
Trying to gather more details and any kind of correlation. |
I'm experiencing the exact same as @teran, i.e. running
Computing the dependency graph is extremely slow too:
I've set up a reproduction environment:
|
Here is the graph with implicit deps on @teh-cmc's repo, which took a more than 2 minutes to generate on my MBP15. I was trying to look for loops in it. https://gist.github.com/steeve/2764badd46c8d100c868c8e81c0e94b0 |
|
I think I saw this happen last night when running Will investigate. |
I just had it running |
Yep, just hit this, too. Same |
it seems like something is restarting the the download before it is done, but given some chance, it will finish eventually. for me it ended up taking about seven minutes to build gazelle, but subsequent runes will be ok since gazelle is cached.
combinations where this is present: combinations where this isn't present: |
I'm pretty sure #1349 fixes this, but Bazel doesn't provide any useful hook to test or debug this. Repository rule restart behavior makes it unfortunately very easy to accidentally download more than once. |
#1349 worked for me. thanks a lot! |
Hi,
Since d36234e, when trying to run gazelle, bazel 0.10.1 is stuck into an infinite loop when trying to fetch golang/tools/zip.
Even trying to run the following becomes an infinite loop:
WORKSPACE
The text was updated successfully, but these errors were encountered: