Skip to content
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

"Restarting Build x64-linux-rel because of wsl subsystem issue. Iteration: 1" #4108

Closed
patrikhuber opened this issue Aug 18, 2018 · 3 comments

Comments

@patrikhuber
Copy link
Contributor

-- Restarting Build x64-linux-rel because of wsl subsystem issue. Iteration: 1 - just wondering, what's this error? :-)

@patrikhuber
Copy link
Contributor Author

I'm getting this error a lot lately, on various packages, sometimes it's also Iteration: 2.

@ras0219-msft
Copy link
Contributor

ras0219-msft commented Aug 21, 2018

We've found that inside WSL sometimes the compiler will fail to find include files even if they are present on disk; immediately restarting the build works around the issue so we've implemented a workaround where we'll restart the build up to 10 times if it fails with a failed to find file error.

If you have any idea about something that correlates with the issue, it would be very helpful!

@patrikhuber
Copy link
Contributor Author

We've found that inside WSL sometimes the compiler will fail to find include files even if they are present on disk

I am so glad that you mentioned that!!! I have seen this suddenly over the last few days in my own project (compiled with CMake/gcc on the WSL bash), and I was thinking that I am going crazy.
I have no idea why it's happening, it does seem indeed quite random, but I do have the strong feeling that this is a somewhat new occurrence, I don't think I ever had this problem with WSL a few months ago.
May I ask whether you've reported this to the WSL team or should we report this to the WSL GitHub? (I couldn't find a related issue in a quick search.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants