[CDRIVER-2188] Bump evergreen matrix to macos-1012 as osx-1010 is being decomissioned Created: 12/Jun/17  Updated: 28/Oct/23  Resolved: 20/Jul/17

Status: Closed
Project: C Driver
Component/s: tests
Affects Version/s: 1.7.0
Fix Version/s: 1.8.0

Type: Task Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-2196 Update mongo-c-driver projects to use... Closed

 Description   

We're going to stop testing against OpenSSL on Mac, which will allow us to move to mac OS 10.12 on Evergreen.



 Comments   
Comment by Ramon Fernandez Marina [ 12/Sep/17 ]

Author:

{'username': u'bjori', 'name': u'Hannes Magnusson', 'email': u'bjori@php.net'}

Message:CDRIVER-2188 Bump evergreen to macos-1012 as osx-1010 is being decomissioned
Branch:master
https://github.com/mongodb/libbson/commit/08c9d7e1225b9e413da83f2db89b68e46614d06a

Comment by Githook User [ 20/Jul/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-2188 Move to macOS-1012

This means we can no longer test with OpenSSL on macOS
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/95f0a879a11bacf34b4f7335524f736b1e18b418

Comment by Hannes Magnusson [ 19/Jun/17 ]

https://evergreen.mongodb.com/version/59483da52fbabe4229002119

 
[2017/06/19 14:40:43.840] + export DYLD_LIBRARY_PATH=.libs:src/libbson/.libs
[2017/06/19 14:40:43.840] + DYLD_LIBRARY_PATH=.libs:src/libbson/.libs
[2017/06/19 14:40:43.840] + case "$OS" in
[2017/06/19 14:40:43.840] + make -o test-libmongoc test 'TEST_ARGS=--no-fork -d -F test-results.json'
[2017/06/19 14:40:44.149] dyld: Library not loaded: /data/mci/b47032393bad58d23aa8060dd8924899/mongoc/install-dir/lib/libbson-1.0.0.dylib
[2017/06/19 14:40:44.149]   Referenced from: /data/mci/07120c7f646304b18e5cf5cc26baa075/mongoc/.libs/test-libmongoc
[2017/06/19 14:40:44.149]   Reason: image not found
[2017/06/19 14:40:44.149] /bin/sh: line 1: 37106 Abort trap: 6           ./$TEST_PROG --no-fork -d -F test-results.json -F test-results.json

[2017/06/19 14:22:39.787] checking whether to enable crypto and TLS... openssl
[2017/06/19 14:22:39.787] checking whether to use system crypto profile... no
[2017/06/19 14:22:39.843] checking for SSL... yes
[2017/06/19 14:22:39.912] checking openssl/bio.h usability... no
[2017/06/19 14:22:39.953] checking openssl/bio.h presence... no
[2017/06/19 14:22:39.953] checking for openssl/bio.h... no
[2017/06/19 14:22:40.026] checking openssl/ssl.h usability... no
[2017/06/19 14:22:40.067] checking openssl/ssl.h presence... no
[2017/06/19 14:22:40.067] checking for openssl/ssl.h... no
[2017/06/19 14:22:40.140] checking openssl/err.h usability... no
[2017/06/19 14:22:40.176] checking openssl/err.h presence... no
[2017/06/19 14:22:40.176] checking for openssl/err.h... no
[2017/06/19 14:22:40.250] checking openssl/crypto.h usability... no
[2017/06/19 14:22:40.290] checking openssl/crypto.h presence... no
[2017/06/19 14:22:40.290] checking for openssl/crypto.h... no
[2017/06/19 14:22:40.290] configure: error: You must install the OpenSSL development headers to enable OpenSSL support.
[2017/06/19 14:22:40.358] Command failed: exit status 1
[2017/06/19 14:22:40.358] Task completed - FAILURE.
[2017/06/19 14:22:40.374] Running post-task commands.

Comment by Githook User [ 19/Jun/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: Revert "CDRIVER-2188 Bump evergreen to macos-1012 as osx-1010 is being decomissioned"

This reverts commit 997a823969938e7f893f124d280ba0f42d3840ac.

This commit only solved some of the problem, not all
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/6039a1ad6abd7f50023feb3823553062fbac8856

Comment by Githook User [ 19/Jun/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-2188 Bump evergreen to macos-1012 as osx-1010 is being decomissioned
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/997a823969938e7f893f124d280ba0f42d3840ac

Comment by Hannes Magnusson [ 12/Jun/17 ]

Simply bumping the evergreen distro yields:

configure:2557: checking for gcc
configure:2584: result: clang
configure:2813: checking for C compiler version
configure:2822: clang --version >&5
clang version 4.0.0 (tags/RELEASE_400/final)
Target: x86_64-apple-darwin16.6.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin
configure:2833: $? = 0
configure:2822: clang -v >&5
clang version 4.0.0 (tags/RELEASE_400/final)
Target: x86_64-apple-darwin16.6.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin
configure:2833: $? = 0
configure:2822: clang -V >&5
clang-4.0: error: argument to '-V' is missing (expected 1 value)
clang-4.0: error: no input files
configure:2833: $? = 1
configure:2822: clang -qversion >&5
clang-4.0: error: unknown argument: '-qversion'
clang-4.0: error: no input files
configure:2833: $? = 1
configure:2853: checking whether the C compiler works
configure:2875: clang -std=c11 -D_XOPEN_SOURCE=600 -m64 -march=x86-64 -Wno-unknown-pragmas -Werror   conftest.c  >&5
ld: unknown option: -no_deduplicate
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
configure:2879: $? = 1
configure:2917: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libbson"
| #define PACKAGE_TARNAME "libbson"
| #define PACKAGE_VERSION "1.7.0-dev"
| #define PACKAGE_STRING "libbson 1.7.0-dev"
| #define PACKAGE_BUGREPORT "https://jira.mongodb.org/browse/CDRIVER"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2922: error: in `/data/mci/2af4da01c1040a48a6869ab7b1975efa/libbson':
configure:2924: error: C compiler cannot create executables
See `config.log' for more details

Generated at Wed Feb 07 21:14:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.