-
Notifications
You must be signed in to change notification settings - Fork 237
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
windows build under msys2 fails with config.guess issue #81
Comments
@vvuk could you gist the logs of this? Our buildbots build Cargo (and transitively, this library) each night in MSYS2 and I've also built this a bunch locally, so I'm surprised this is happening! |
Hmm. Maybe it's because I'm using the x64 version of msys2?
|
Can you gist the build logs of Cargo trying to build libcurl? If I run this in a 64-bit msys2 shell it works out ok so I'm not quite sure what's going on. |
Replace your |
The log is pretty uninteresting, pretty much what I posted above: https://gist.github.com/vvuk/f37ec1d1e4d1bd94e96d Note that the build totally wedges if I start using mingw64-shell.bat instead of msys-shell.bat (and add /mingw64/bin to the PATH) -- if $MSYSTEM is MINGW64, cmake doesn't recognize the system (and the build wedges earlier). If I use mingw64-shell.bat and then set MSYSTEM=MSYS, then I hit the above. |
Hm ok, thanks for the logs! Does this branch work for you? |
I'm having this issue too, here's the log: gist. @alexcrichton your branch doesn't compile for me either, here's the log: gist. |
@Seeker14491 your second error indicates that you may not have been running inside of an MSYS shell, are you sure you were? |
@alexcrichton Yes, I'm using MSYS2. I followed the install instructions, then ran these commands:
The thing is, I had problems running these commands on my computer, as the downloads would time out on my connection, so I spun up a Windows Server 2012 VPS. I Installed MSYS2 on it and ran all the commands, which completed successfully. I then transferred the I should have tried building on the VPS to see if that worked; I'll try that now. |
Ok, I tried building on the VPS, and I get the same error. Here are the exact steps I took:
Here's the output of that |
@Seeker14491 oh right sorry, I read that error message wrong. You'll need to run |
@alexcrichton this sequence of commands still fails:
|
Ah oops, looks like I forgot to check in a file, wanna try that branch again? |
@alexcrichton Ok, I reran that same sequence of commands, but it still errors. |
Hm that looks to be the same error as before, so maybe it hasn't been fixed upstream? |
Building under MSYS2 (with a msys2 fresh build of rust) fails, because config.guess can't figure out the system triple. Updating the curl source to have the latest config.guess/config.sub fixes this.
The text was updated successfully, but these errors were encountered: