[ruby-core:85895] [Ruby trunk Bug#14568] Build failures - MinGW ruby-loco since 62622 2018-03-01

From: Greg.mpls@...
Date: 2018-03-02 13:41:27 UTC
List: ruby-core #85895
Issue #14568 has been reported by MSP-Greg (Greg L).

----------------------------------------
Bug #14568: Build failures - MinGW ruby-loco since 62622 2018-03-01
https://bugs.ruby-lang.org/issues/14568

* 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
==> ERROR: A failure occurred in build().
    Aborting...
```

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: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next