Bug #15060
closedBroken Appveyor MinGW build - fix GH PR 1945
Description
Currently, the MinGW build is broken. See https://github.com/ruby/ruby/pull/1945
Comparing the build summaries, there were some things that differed between the build and ruby-loco. Both ruby-loco & RubyInstaller2 (RI2) builds use the MSYS2 makepkg system, somewhat due to historical reasons.
So, I started working with the script, and decided that it might be helpful if the build commands were in a PowerShell script, as it would allow one to easily get a ruby build locally that could be used for basic testing.
Along the way, I noticed that previous builds and the ruby-loco and RI2 builds all use an -O2 flag. I changed that to -O3, and then a couple of tests got quirky.
So, the PR has several commits, I tried to organize as it best I could. Not being a c type, I'm just making (hopefully) educated guesses as to configuring the build script. Hence, please improve.
The current MSYS2/MinGW OpenSSL is 1.0.2. RI2 2.4 is using 1.0.2, 2.5 is using 1.1.0, and ruby-loco is using 1.1.1. I can add script to use a 1.1.0 or 1.1.1 package if desired.
Finally, the current install is missing the following:
- SSL - X509::DEFAULT_CERT_FILE & Config::DEFAULT_CONFIG_FILE point to nothing.
- dll/so files are not stripped
- RI2 runtime is not installed
Thanks, Greg
Updated by nobu (Nobuyoshi Nakada) about 6 years ago
- Status changed from Open to Closed
Applied in changeset trunk|r64628.
Spec updates [Bug #15060] [Fix GH-1495]
From: MSP-Greg greg.mpls@gmail.com