From: Greg.mpls@... Date: 2018-09-03T02:02:50+00:00 Subject: [ruby-core:88812] [Ruby trunk Bug#15060] Broken Appveyor MinGW build - fix GH PR 1945 Issue #15060 has been reported by MSP-Greg (Greg L). ---------------------------------------- Bug #15060: Broken Appveyor MinGW build - fix GH PR 1945 https://bugs.ruby-lang.org/issues/15060 * Author: MSP-Greg (Greg L) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.6.0dev (2018-09-02 trunk 64615) [x64-mingw32] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- 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: 1. SSL - X509::DEFAULT_CERT_FILE & Config::DEFAULT_CONFIG_FILE point to nothing. 2. dll/so files are not stripped 3. RI2 runtime is not installed Thanks, Greg -- https://bugs.ruby-lang.org/ Unsubscribe: