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
gcc suddenly disappeared from %PATH% #2613
Comments
This might be caused by recent image update https://www.appveyor.com/updates/2018/09/01/.
or
|
Thanks for the tip. Unfortunately, neither image worked. (See linked issue for CI builds.) Any other ideas? :) |
As I can see there is several
You can manually add appropriate path from the list above to For example:
|
Thanks. Any idea what the default %PATH% is? I guess it's not in any of those. I still can't figure out why it seemed to change/break suddenly. Any way I can run that |
I can't figure it out either. You can RDP to build worker and run |
I just tested that next line makes I lean to the idea that one of the go modules you use started to require BTW, may I suggest you to use go1.11 which preinstalled in our images? |
Oh, awesome! Is that stack new? I don't remember seeing it a few years ago when I set up my appveyor script. ( I will try this next chance I get and report back! |
Well, Appveyor constantly evolve 😄 No wonder there is a lot of changes since your first set up. We started to support Linux recently, BTW. You can configure one appveyor.yml for windows and Ubuntu builds. More info here. |
@Wasapl Thanks for the tip about the stack; I'm using that now, but unfortunately the error remains: https://ci.appveyor.com/project/mholt/caddy/build/4077 Now trying to manually set the PATH so that gcc is available as you suggested above... |
Adding gcc to the PATH manually fixed it. Strange. I know cgo was used before since we always used |
Related github.com/appveyor/ci/issues/2613.
Related github.com/appveyor/ci/issues/2613.
Related github.com/appveyor/ci/issues/2613.
Our CI builds have been going along their merry way, until recently they all started failing with some unrelated error about
gcc
not being in the%PATH%
.Here is the first build where it started: https://ci.appveyor.com/project/mholt/caddy/build/4053
The log says:
(This is the output from
go test -race
which invokes cgo, which of course uses gcc to compile the C code.)Our appveyor.yml file is:
And has been unchanged for a while, except for one commit, which merely bumps the version of Go:
Although that change and the PATH error are similar in time, it's unclear why or if that change would cause it. Hence I'm asking for help. Nobody else seems to be having this problem, and I can't find it by googling. Any ideas how to fix our builds?
The text was updated successfully, but these errors were encountered: