From: Greg.mpls@... Date: 2018-03-02T14:33:16+00:00 Subject: [ruby-core:85897] [Ruby trunk Bug#14568] Build failures - MinGW ruby-loco since 62622 2018-03-01 Issue #14568 has been updated by MSP-Greg (Greg L). @nobu, From the MSYS2 shell - ``` $ pkg-config --libs openssl -LE:/msys64/mingw64/lib -lssl -lcrypto ``` ---------------------------------------- Bug #14568: Build failures - MinGW ruby-loco since 62622 2018-03-01 https://bugs.ruby-lang.org/issues/14568#change-70754 * Author: MSP-Greg (Greg L) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.6.0dev (2018-03-02 trunk 62627) [x64-mingw32] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- Since 62622, MinGW builds have been failing (62627, 62628, 62631). See https://ci.appveyor.com/project/MSP-Greg/ruby-loco/history. I just tried 62633 locally, and had a similar failure. Using gcc 7.3.0 & OpenSSL 1.1.0g. Text in build log is something like: ``` compiling ../../../ruby/ext/openssl/ossl_x509revoked.c make[2]: Leaving directory '/e/GitHub/ruby-loco/src/build26_64/ext/zlib' compiling ../../../ruby/ext/openssl/ossl_x509store.c linking shared-object win32ole.so installing default win32ole libraries make[2]: Leaving directory '/e/GitHub/ruby-loco/src/build26_64/ext/win32ole' installing default openssl libraries linking shared-object openssl.so ossl_ssl.o:ossl_ssl.c:(.text+0x2400): undefined reference to `__imp_WSAGetLastError' ossl_ssl.o:ossl_ssl.c:(.text+0x284c): undefined reference to `__imp_WSAGetLastError' ossl_ssl.o:ossl_ssl.c:(.text+0x2cd1): undefined reference to `__imp_WSAGetLastError' collect2.exe: error: ld returned 1 exit status make[2]: *** [Makefile:327: ../../.ext/x64-mingw32/openssl.so] Error 1 make[2]: Leaving directory '/e/GitHub/ruby-loco/src/build26_64/ext/openssl' make[1]: *** [exts.mk:251: ext/openssl/all] Error 2 make[1]: Leaving directory '/e/GitHub/ruby-loco/src/build26_64' make: *** [uncommon.mk:275: build-ext] Error 2 rm x64-msvcrt-ruby260.rc �[1m�[31m==> ERROR:�[0;10m�[1m A failure occurred in build().�[0;10m �[1m Aborting...�[0;10m ``` I've also got a copy of the OpenSSL mkmf.log file,if that would be helpful. Thanks, Greg -- https://bugs.ruby-lang.org/ Unsubscribe: