Skip to content

[s2n] build failure on macOS #21443

@Mike4Online

Description

@Mike4Online

Host Environment

  • OS: macOS 10.14 Mojave
  • Compiler: AppleClang 11.0.0.11000033

To Reproduce
Steps to reproduce the behavior:
./vcpkg install aws-sdk-cpp[s3]:x64-osx --no-binary-caching

Failure logs
Build fails while building the s2n library, claiming LibCrypo cannot be found

Additional context
A work-around is to manually build OpenSSL 1.1.1 first, as follows:
./vcpkg install openssl[core]:x64-osx --no-binary-caching
./vcpkg install aws-sdk-cpp[s3]:x64-osx --no-binary-caching

I also found that curl was rejecting the SSL certificate of the server providing the OpenSSL source. I had to create a text file ~/.curlrc and add the following line to the file:

--insecure

in order for curl to successfully download the OpenSSL source. I am not sure why this was necessary. I tried installing macOS security updates for macOS Mojave, and also tried updating curl with HomeBrew, but I still needed to set --insecure in ~/.curlrc for vcpkg to build OpenSSL.

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already supportrequires:reproThe issue is not currently repro-able

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions