Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-443

Compile fails on macos-1015 distro

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: