microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.04k stars 6.36k forks source link

[openssl] Build error on wasm32-emscripten #35688

Closed JackWBoynton closed 7 months ago

JackWBoynton commented 10 months ago

Package: openssl:wasm32-emscripten -> 3.1.4#1

Host Environment

To Reproduce for some reason -arch arm64 is included in the emcc compile commands:

cd /Users/jboynton/vcpkg/buildtrees/openssl/wasm32-emscripten-dbg/
/usr/bin/make V=1 -j 13 -f Makefile build_sw
/Library/Developer/CommandLineTools/usr/bin/make depend && /Library/Developer/CommandLineTools/usr/bin/make _build_sw
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/aes/libcrypto-lib-aes_cbc.d.tmp -MT crypto/aes/libcrypto-lib-aes_cbc.o -c -o crypto/aes/libcrypto-lib-aes_cbc.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_cbc.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/aes/libcrypto-lib-aes_cfb.d.tmp -MT crypto/aes/libcrypto-lib-aes_cfb.o -c -o crypto/aes/libcrypto-lib-aes_cfb.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_cfb.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/aes/libcrypto-lib-aes_core.d.tmp -MT crypto/aes/libcrypto-lib-aes_core.o -c -o crypto/aes/libcrypto-lib-aes_core.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_core.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/aes/libcrypto-lib-aes_ecb.d.tmp -MT crypto/aes/libcrypto-lib-aes_ecb.o -c -o crypto/aes/libcrypto-lib-aes_ecb.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_ecb.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/aes/libcrypto-lib-aes_ige.d.tmp -MT crypto/aes/libcrypto-lib-aes_ige.o -c -o crypto/aes/libcrypto-lib-aes_ige.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_ige.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/aes/libcrypto-lib-aes_misc.d.tmp -MT crypto/aes/libcrypto-lib-aes_misc.o -c -o crypto/aes/libcrypto-lib-aes_misc.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_misc.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/aes/libcrypto-lib-aes_ofb.d.tmp -MT crypto/aes/libcrypto-lib-aes_ofb.o -c -o crypto/aes/libcrypto-lib-aes_ofb.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_ofb.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/aes/libcrypto-lib-aes_wrap.d.tmp -MT crypto/aes/libcrypto-lib-aes_wrap.o -c -o crypto/aes/libcrypto-lib-aes_wrap.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_wrap.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/aria/libcrypto-lib-aria.d.tmp -MT crypto/aria/libcrypto-lib-aria.o -c -o crypto/aria/libcrypto-lib-aria.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aria/aria.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/asn1/libcrypto-lib-a_bitstr.d.tmp -MT crypto/asn1/libcrypto-lib-a_bitstr.o -c -o crypto/asn1/libcrypto-lib-a_bitstr.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/asn1/a_bitstr.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/asn1/libcrypto-lib-a_d2i_fp.d.tmp -MT crypto/asn1/libcrypto-lib-a_d2i_fp.o -c -o crypto/asn1/libcrypto-lib-a_d2i_fp.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/asn1/a_d2i_fp.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/asn1/libcrypto-lib-a_digest.d.tmp -MT crypto/asn1/libcrypto-lib-a_digest.o -c -o crypto/asn1/libcrypto-lib-a_digest.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/asn1/a_digest.c
/Users/jboynton/beta/emsdk/upstream/emscripten/emcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include  -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL  -MMD -MF crypto/asn1/libcrypto-lib-a_dup.d.tmp -MT crypto/asn1/libcrypto-lib-a_dup.o -c -o crypto/asn1/libcrypto-lib-a_dup.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/asn1/a_dup.c
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/aes/libcrypto-lib-aes_misc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [crypto/aes/libcrypto-lib-aes_core.o] Error 1
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/aes/libcrypto-lib-aes_cbc.o] Error 1
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/aes/libcrypto-lib-aes_cfb.o] Error 1
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/aes/libcrypto-lib-aes_ige.o] Error 1
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/aes/libcrypto-lib-aes_ecb.o] Error 1
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/aes/libcrypto-lib-aes_ofb.o] Error 1
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/asn1/libcrypto-lib-a_dup.o] Error 1
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/aria/libcrypto-lib-aria.o] Error 1
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/aes/libcrypto-lib-aes_wrap.o] Error 1
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/asn1/libcrypto-lib-a_digest.o] Error 1
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/asn1/libcrypto-lib-a_bitstr.o] Error 1
emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided)
make[1]: *** [crypto/asn1/libcrypto-lib-a_d2i_fp.o] Error 1
make: *** [build_sw] Error 2

vcpkg install Failure logs

-- Using cached openssl-openssl-openssl-3.1.4.tar.gz.
-- Cleaning sources at /Users/jboynton/vcpkg/buildtrees/openssl/src/nssl-3.1.4-c5488d00d9.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/jboynton/vcpkg/downloads/openssl-openssl-openssl-3.1.4.tar.gz
-- Applying patch disable-apps.patch
-- Applying patch disable-install-docs.patch
-- Applying patch script-prefix.patch
-- Applying patch windows/install-layout.patch
-- Applying patch windows/install-pdbs.patch
-- Applying patch unix/android-cc.patch
-- Applying patch unix/move-openssldir.patch
-- Applying patch unix/no-empty-dirs.patch
-- Applying patch unix/no-static-libs-for-shared.patch
-- Using source at /Users/jboynton/vcpkg/buildtrees/openssl/src/nssl-3.1.4-c5488d00d9.clean
-- Found external ninja('1.11.1').
-- Getting CMake variables for wasm32-emscripten
-- Getting CMake variables for wasm32-emscripten-dbg
-- Getting CMake variables for wasm32-emscripten-rel
-- Configuring wasm32-emscripten-dbg
-- Configuring wasm32-emscripten-rel
-- Building wasm32-emscripten-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /usr/bin/make V=1 -j 13 -f Makefile build_sw
    Working Directory: /Users/jboynton/vcpkg/buildtrees/openssl/wasm32-emscripten-dbg/
    See logs for more information:
      /Users/jboynton/vcpkg/buildtrees/openssl/build-wasm32-emscripten-dbg-out.log
      /Users/jboynton/vcpkg/buildtrees/openssl/build-wasm32-emscripten-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_make.cmake:151 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_make.cmake:2 (vcpkg_build_make)
  /Users/jboynton/.cache/vcpkg/registries/git-trees/5ee74387a1dd212dc9754c614809ff86bd0638fa/unix/portfile.cmake:119 (vcpkg_install_make)
  /Users/jboynton/.cache/vcpkg/registries/git-trees/5ee74387a1dd212dc9754c614809ff86bd0638fa/portfile.cmake:71 (include)
  scripts/ports.cmake:170 (include)
/Users/jboynton/vcpkg/buildtrees/openssl/build-wasm32-emscripten-dbg-err.log ``` emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/aes/libcrypto-lib-aes_cbc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/aes/libcrypto-lib-aes_ige.o] Error 1 emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/aes/libcrypto-lib-aes_core.o] Error 1 emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/aes/libcrypto-lib-aes_wrap.o] Error 1 emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/aes/libcrypto-lib-aes_ecb.o] Error 1 emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/aes/libcrypto-lib-aes_misc.o] Error 1 emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/asn1/libcrypto-lib-a_d2i_fp.o] Error 1 emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/aria/libcrypto-lib-aria.o] Error 1 emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/asn1/libcrypto-lib-a_bitstr.o] Error 1 emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/asn1/libcrypto-lib-a_digest.o] Error 1 emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/aes/libcrypto-lib-aes_cfb.o] Error 1 emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/asn1/libcrypto-lib-a_dup.o] Error 1 emcc: error: arm64: No such file or directory ("arm64" was expected to be an input file, based on the commandline arguments provided) make[1]: *** [crypto/aes/libcrypto-lib-aes_ofb.o] Error 1 make: *** [build_sw] Error 2 ```
/Users/jboynton/vcpkg/buildtrees/openssl/build-wasm32-emscripten-dbg-out.log ``` /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/crypto/bn_conf.h.in > include/crypto/bn_conf.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/crypto/dso_conf.h.in > include/crypto/dso_conf.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/asn1.h.in > include/openssl/asn1.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/asn1t.h.in > include/openssl/asn1t.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/bio.h.in > include/openssl/bio.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/cmp.h.in > include/openssl/cmp.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/cms.h.in > include/openssl/cms.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/conf.h.in > include/openssl/conf.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/crmf.h.in > include/openssl/crmf.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/crypto.h.in > include/openssl/crypto.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/ct.h.in > include/openssl/ct.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/err.h.in > include/openssl/err.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/ess.h.in > include/openssl/ess.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/fipskey.h.in > include/openssl/fipskey.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/lhash.h.in > include/openssl/lhash.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/ocsp.h.in > include/openssl/ocsp.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/opensslv.h.in > include/openssl/opensslv.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/pkcs12.h.in > include/openssl/pkcs12.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/pkcs7.h.in > include/openssl/pkcs7.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/safestack.h.in > include/openssl/safestack.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/srp.h.in > include/openssl/srp.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/ssl.h.in > include/openssl/ssl.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/ui.h.in > include/openssl/ui.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/x509.h.in > include/openssl/x509.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/x509_vfy.h.in > include/openssl/x509_vfy.h /opt/homebrew/Cellar/perl/5.38.2/bin/perl "-I." -Mconfigdata "../src/nssl-3.1.4-c5488d00d9.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.1.4-c5488d00d9.clean/include/openssl/x509v3.h.in > include/openssl/x509v3.h /Library/Developer/CommandLineTools/usr/bin/make depend && /Library/Developer/CommandLineTools/usr/bin/make _build_sw /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/aes/libcrypto-lib-aes_cbc.d.tmp -MT crypto/aes/libcrypto-lib-aes_cbc.o -c -o crypto/aes/libcrypto-lib-aes_cbc.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_cbc.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/aes/libcrypto-lib-aes_cfb.d.tmp -MT crypto/aes/libcrypto-lib-aes_cfb.o -c -o crypto/aes/libcrypto-lib-aes_cfb.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_cfb.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/aes/libcrypto-lib-aes_core.d.tmp -MT crypto/aes/libcrypto-lib-aes_core.o -c -o crypto/aes/libcrypto-lib-aes_core.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_core.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/aes/libcrypto-lib-aes_ecb.d.tmp -MT crypto/aes/libcrypto-lib-aes_ecb.o -c -o crypto/aes/libcrypto-lib-aes_ecb.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_ecb.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/aes/libcrypto-lib-aes_ige.d.tmp -MT crypto/aes/libcrypto-lib-aes_ige.o -c -o crypto/aes/libcrypto-lib-aes_ige.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_ige.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/aes/libcrypto-lib-aes_misc.d.tmp -MT crypto/aes/libcrypto-lib-aes_misc.o -c -o crypto/aes/libcrypto-lib-aes_misc.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_misc.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/aes/libcrypto-lib-aes_ofb.d.tmp -MT crypto/aes/libcrypto-lib-aes_ofb.o -c -o crypto/aes/libcrypto-lib-aes_ofb.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_ofb.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/aes/libcrypto-lib-aes_wrap.d.tmp -MT crypto/aes/libcrypto-lib-aes_wrap.o -c -o crypto/aes/libcrypto-lib-aes_wrap.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aes/aes_wrap.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/aria/libcrypto-lib-aria.d.tmp -MT crypto/aria/libcrypto-lib-aria.o -c -o crypto/aria/libcrypto-lib-aria.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/aria/aria.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/asn1/libcrypto-lib-a_bitstr.d.tmp -MT crypto/asn1/libcrypto-lib-a_bitstr.o -c -o crypto/asn1/libcrypto-lib-a_bitstr.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/asn1/a_bitstr.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/asn1/libcrypto-lib-a_d2i_fp.d.tmp -MT crypto/asn1/libcrypto-lib-a_d2i_fp.o -c -o crypto/asn1/libcrypto-lib-a_d2i_fp.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/asn1/a_d2i_fp.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/asn1/libcrypto-lib-a_digest.d.tmp -MT crypto/asn1/libcrypto-lib-a_digest.o -c -o crypto/asn1/libcrypto-lib-a_digest.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/asn1/a_digest.c /Users/jboynton/beta/emsdk/upstream/emscripten/emcc -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -I../src/nssl-3.1.4-c5488d00d9.clean -I../src/nssl-3.1.4-c5488d00d9.clean/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/common/include -I../src/nssl-3.1.4-c5488d00d9.clean/providers/implementations/include -DSTATIC_LEGACY -fPIC -arch arm64 -g -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/engines-3\"" -DMODULESDIR="\"/Users/jboynton/beta/vistool/emscripten_build/vcpkg_installed/wasm32-emscripten/debug/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -MMD -MF crypto/asn1/libcrypto-lib-a_dup.d.tmp -MT crypto/asn1/libcrypto-lib-a_dup.o -c -o crypto/asn1/libcrypto-lib-a_dup.o ../src/nssl-3.1.4-c5488d00d9.clean/crypto/asn1/a_dup.c ```

Additional context

vcpkg.json ``` { "dependencies": [ "flatbuffers", { "name": "glfw3", "platform": "!emscripten" }, { "name": "imgui", "features": [ "docking-experimental", "glfw-binding", "opengl2-binding" ], "platform": "!emscripten" }, { "name": "imgui", "features": [ "docking-experimental", "glfw-binding", "opengl3-binding" ], "platform": "emscripten" }, "implot", "nlohmann-json", "opengl", { "name": "openssl", "platform": "!emscripten" }, "tomlplusplus", "tracy", { "name": "websocketpp", "platform": "!emscripten" }, { "name": "libpng", "platform": "emscripten" }, { "name": "fftw3", "platform": "emscripten" }, { "name": "vtk", "features": [] } ] } ```
JackWBoynton commented 10 months ago

for me, adding set(OPENSSL_ARCH linux-generic64) to openssl/unix/portfile.cmake:90 works:

elseif(VCPKG_TARGET_IS_EMSCRIPTEN)
    vcpkg_list(APPEND CONFIGURE_OPTIONS
        threads
        no-engine
        no-asm
        no-sse2
        no-srtp
        --cross-compile-prefix=
    )
    set(OPENSSL_ARCH linux-generic64)
dg0yt commented 7 months ago

Given the "32" in the triplet name, linux-x32 should work as well? https://github.com/microsoft/vcpkg/pull/37076