OpenSSL-for-iPhone icon indicating copy to clipboard operation
OpenSSL-for-iPhone copied to clipboard

Failed to build OpenSSL 3.0.5

Open kenmasumitsu opened this issue 2 years ago • 1 comments

I tried to build openssl 3.0.5, but it failed with the error below. It seems 3.0.x has not been supported yet. Could you consider to support version 3.0.x?

❯ ./build-libssl.sh --version=3.0.5

Build options
  OpenSSL version: 3.0.5
  Targets: ios-sim-cross-x86_64 ios-sim-cross-arm64 ios-cross-arm64 mac-catalyst-x86_64 mac-catalyst-arm64 tvos-sim-cross-x86_64 tvos-sim-cross-arm64 tvos-cross-arm64 watchos-sim-cross-x86_64 watchos-sim-cross-arm64 watchos-cross-armv7k watchos-cross-arm64_32
  iOS SDK: 15.5
  tvOS SDK: 15.4
  watchOS SDK: 8.5
  MacOSX SDK: 12.3
  Number of make threads: 10
  Configure options:  no-deprecated
  Build location: /Users/kmasumitsu/Downloads/OpenSSL-for-iPhone

Downloading openssl-3.0.5.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14.3M  100 14.3M    0     0  8145k      0  0:00:01  0:00:01 --:--:-- 8173k
Building openssl-3.0.5 for iPhoneSimulator 15.5 x86_64...
  Logfile: /Users/kmasumitsu/Downloads/OpenSSL-for-iPhone/bin/iPhoneSimulator15.5-x86_64.sdk/build-openssl-3.0.5.log
  Configure...
Problem during Configure - Please check /Users/kmasumitsu/Downloads/OpenSSL-for-iPhone/bin/iPhoneSimulator15.5-x86_64.sdk/build-openssl-3.0.5.log

build-openssl-3.0.5.log

kenmasumitsu avatar Aug 19 '22 03:08 kenmasumitsu

Version 3 is currently not supported

x2on avatar Aug 19 '22 14:08 x2on

@x2on Any plans to support OpenSSL 3? I have attempted to add support for it, but I do not have experience with the build system. The best I could do is make it build for iPhone ARM64 and macOS x64, but it fails to compile the universal library, so I currently have it disabled in my fork https://github.com/httpstorm/OpenSSL-for-iPhone/tree/gvalkov

httpstorm avatar Oct 20 '22 09:10 httpstorm

No plans here.

x2on avatar Nov 16 '22 14:11 x2on