-
-
Notifications
You must be signed in to change notification settings - Fork 905
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
Fix Windows builds #1729
Comments
All 3 MSYS2 tools (awk, mc, gdb) are running fine on my local system. I verified that my system is up-to-date ( Could it be, that the Windows CI environment has changed? I've seen strange errors by some security tools like this. |
@larskanis The windows environment used is bootstrapped from a clean windows image, and is built by this bosh packaging script. The failures we're seeing are totally reproducible with this script. If I'm doing it wrong, it would be great to have some help to understand how to do an unattended installation of RI+MSYS2. It's not obvious. If necessary we can ssh into the VM and pair on trying to fix the installation. I've run a wide variety of "pacman -Syuu ..." commands, and everything is telling me it's all fine. |
@flavorjones I tried the build task in some more environments, but I still can't reproduce your error. I used a Windows-10 (10.0.16299.309) and a Windows-Server-2016. The Windows-10 box has Defender activated and is mostly on default settings. On both boxes Which Windows-OS do you use? Which anti virus? Any addition security options (ASLR, etc.)? In the meantime I released RubyInstaller with builtin MSYS2-Devkit. This probably makes installation on Concourse easier, especially in unattended mode. |
@larskanis The setup is a bit opaque, so I apologize for not documenting it better. The windows image I'm using is a bosh stemcell for Windows 2012R2 on GCP, version 1200.16:
Not sure if there's anything odd in there, I'm tagging @mhoran who helps maintain that image in case he has some insight. MSYS2 used to build fine, it's only the past few months that there have been issues. The script I'm using to bootstrap it is here: I'll check out the release with built-in msys2-devkit this week. |
You can actually see the history of the installation process I've been using here a little bit better: Notably between September and January everything was fine. I'm pretty sure been on the 1200.latest stemcell series the whole time. |
Windows still has some weird limitations like a MAX_PATH of 260 characters. I had to shorten the path for RubyInstaller build, lately. So, I tested with the nokogiri repository in the same long path as on the Concourse CI node, but it worked on my system. However I didn't test with MSYS2 or Ruby within a path with near to or more than MAX_PATH characters. |
Interesting. The @flavorjones do you know if the issues coincided with a stemcell bump of any sort? Windows Defender should be disabled, so I don't expect that'd be interfering in any way. |
Sorry for not responding. This is not an issue with rubyinstaller, the underlying issue is that |
Note for future self: some useful concourse windows worker configs are here: https://gist.github.com/esauser/d8e937568e93dce902b0984abcab8690 |
Closing this; Appveyor has been fine and I'm planning to move to Github Actions, anyway. |
RubyInstaller 2.4 and 2.5 depend on MSYS2, and some of MSYS2's packages are broken at the moment. The part of the build that's failing is
libiconv
generating a Makefile, becausegawk
isn't working.I'm tracking a couple of related upstream bugs:
Not sure what to do here. @larskanis MSYS2 seems to be really, really brittle; do you have any creative ideas on how to stabilize our dependency? This is the third time the Windows builds have broken due to upstream MSYS2 issues.
The text was updated successfully, but these errors were encountered: