[MONGOCRYPT-443] Compile fails on macos-1015 distro Created: 11/Jun/22  Updated: 31/Mar/23

Status: Backlog
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Build Failure Priority: Unknown
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by GODRIVER-2442 Fix macOS 6.0+ tests with FLE 2.0 Closed
Binding Changes: Not Needed

 Description   

Scope

  • Fix compile on the macos-1015 distro.

Background & Motivation
GODRIVER-2442 attempted to upgrade macos-1014 distro to macos-1015 distro. This was necessary to run Queryable Encryption (aka FLE 2) tests. FLE 2 crypto primitives require macOS 10.15 in libmongocrypt: MONGOCRYPT-385.

Attempting to compile libmongocrypt with ./.evergreen/compile.sh on a macos-1015 distro resulted in this error:

[2022/05/27 19:59:29.432] [  2%] Building C object kms-message/CMakeFiles/kms_message_static.dir/src/kms_crypto_apple.c.o
 [2022/05/27 19:59:29.453] /System/Volumes/Data/data/mci/044a1d00746520efa828e4e53100645c/src/go.mongodb.org/mongo-driver/libmongocrypt/kms-message/src/kms_crypto_apple.c:23:10: fatal error: 'CoreFoundation/CFArray.h' file not found
[2022/05/27 19:59:29.453] #include <CoreFoundation/CFArray.h>
[2022/05/27 19:59:29.453]          ^~~~~~~~~~~~~~~~~~~~~~~~~~
[2022/05/27 19:59:29.455] 1 error generated.
[2022/05/27 19:59:29.455] make[2]: *** [kms-message/CMakeFiles/kms_message_static.dir/src/kms_crypto_apple.c.o] Error 1
[2022/05/27 19:59:29.456] make[1]: *** [kms-message/CMakeFiles/kms_message_static.dir/all] Error 2
[2022/05/27 19:59:29.456] make: *** [all] Error 2

Here is a link to the full logs.

GODRIVER-2442 is able to work around this by using builds from the macos-1100 distro.


Generated at Thu Feb 08 09:08:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.