Project

General

Profile

Actions

Bug #15060

closed

Broken Appveyor MinGW build - fix GH PR 1945

Added by MSP-Greg (Greg L) about 6 years ago. Updated about 6 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.0dev (2018-09-02 trunk 64615) [x64-mingw32]
[ruby-core:88812]

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:

  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

Actions #1

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

Actions

Also available in: Atom PDF

Like0
Like0