cryptography
cryptography copied to clipboard
apps\lib\http_server.c(207): error C2065: 'OSSL_TRACE_CATEGORY_HTTP': undeclared identifier
Hi, I am trying to build cryptography 42.0.8 with custom OpenSSL 3.0.13. It fails with following error.
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [514 lines of output]
running bdist_wheel
running build
running build_py
creating build
running build_ext
running build_rust
Updating crates.io index
Downloading crates ...
Downloaded autocfg v1.1.0
Downloaded asn1_derive v0.15.5
Downloaded openssl-src v300.3.1+3.3.1
cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src\rust\Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib --
Compiling proc-macro2 v1.0.78
Compiling cc v1.0.83
...
Compiling openssl-src v300.3.1+3.3.1
Running `C:\Users\Devbox\buildarea\build_rust\Rustup\toolchains\1.78.0-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name openssl_src --edition=2021 C:\Users\Devbox\buildarea\build_rust\Cargo\registry\src\index.crates.io-6f17d22bba15001f\openssl-src-300.3.1+3.3.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg "feature=\"default\"" --cfg "feature=\"legacy\"" -C metadata=de2977b02223dfb8 -C extra-filename=-de2977b02223dfb8 --out-dir C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps -L dependency=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps --extern cc=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps\libcc-f78a0dc4481fc33f.rmeta --cap-lints allow`
...
Compiling lock_api v0.4.11
Running `C:\Users\Devbox\buildarea\build_rust\Rustup\toolchains\1.78.0-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name build_script_build --edition=2018 C:\Users\Devbox\buildarea\build_rust\Cargo\registry\src\index.crates.io-6f17d22bba15001f\lock_api-0.4.11\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg "feature=\"atomic_usize\"" --cfg "feature=\"default\"" -C metadata=130183d620d5ad23 -C extra-filename=-130183d620d5ad23 --out-dir C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\build\lock_api-130183d620d5ad23 -L dependency=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps --extern autocfg=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps\libautocfg-a7af09be6e762f2e.rlib --cap-lints allow`
Running `C:\Users\Devbox\buildarea\build_rust\Rustup\toolchains\1.78.0-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name proc_macro2 --edition=2021 C:\Users\Devbox\buildarea\build_rust\Cargo\registry\src\index.crates.io-6f17d22bba15001f\proc-macro2-1.0.78\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=2a3fb08b362d2fb7 -C extra-filename=-2a3fb08b362d2fb7 --out-dir C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps -L dependency=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps --extern unicode_ident=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps\libunicode_ident-d97b39ed2d23b7bc.rmeta --cap-lints allow --cfg wrap_proc_macro`
Compiling openssl-sys v0.9.102
Running `C:\Users\Devbox\buildarea\build_rust\Rustup\toolchains\1.78.0-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name build_script_main --edition=2018 C:\Users\Devbox\buildarea\build_rust\Cargo\registry\src\index.crates.io-6f17d22bba15001f\openssl-sys-0.9.102\build/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg "feature=\"openssl-src\"" --cfg "feature=\"vendored\"" -C metadata=bae7ea7910bbbd9b -C extra-filename=-bae7ea7910bbbd9b --out-dir C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\build\openssl-sys-bae7ea7910bbbd9b -L dependency=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps --extern cc=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps\libcc-f78a0dc4481fc33f.rlib --extern openssl_src=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps\libopenssl_src-de2977b02223dfb8.rlib --extern pkg_config=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps\libpkg_config-1d3a346ac74cc649.rlib --extern vcpkg=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\deps\libvcpkg-6ffb6f1bae24aa0e.rlib --cap-lints allow`
...
error: failed to run custom build command for `openssl-sys v0.9.102`
Caused by:
process didn't exit successfully: `C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\build\openssl-sys-bae7ea7910bbbd9b\build-script-main` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_NO_VENDOR
X86_64_PC_WINDOWS_MSVC_OPENSSL_NO_VENDOR unset
cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
OPENSSL_NO_VENDOR unset
running "perl" "./Configure" "--prefix=C:/Users/Devbox/buildarea/build_cryptography/cryptography-42.0.8/src/rust/target/release/build/openssl-sys-78a038b9f453544a/out/openssl-build/install" "--openssldir=SYS$MANAGER:[OPENSSL]" "no-dso" "no-shared" "no-ssl3" "no-tests" "no-comp" "no-zlib" "no-zlib-dynamic" "--libdir=lib" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "no-capieng" "no-asm" "VC-WIN64A"
Configuring OpenSSL version 3.3.1 for target VC-WIN64A
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
Created makefile.in
Created makefile
Created include\openssl\configuration.h
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL.md file first) ***
*** ***
**********************************************************************
running "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\nmake.exe" "build_libs"
"C:\perl\perl\bin\perl.exe" "util\mkinstallvars.pl" PREFIX=. BINDIR=apps LIBDIR= INCLUDEDIR=include APPLINKDIR=ms ENGINESDIR=engines MODULESDIR=providers "VERSION=3.3.1" "LDLIBS=ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib " > builddata.pm
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "-Mbuilddata" "util\dofile.pl" "-omakefile" "exporters\cmake\OpenSSLConfig.cmake.in" > OpenSSLConfig.cmake
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "-Mconfigdata" "-Mbuilddata" "util\dofile.pl" "-omakefile" "exporters\cmake\OpenSSLConfigVersion.cmake.in" > OpenSSLConfigVersion.cmake
"C:\perl\perl\bin\perl.exe" "-I." "-Iutil\perl" "-Mconfigdata" "-MOpenSSL::paramnames" "util\dofile.pl" "-omakefile" "crypto\params_idx.c.in" > crypto\params_idx.c
"C:\perl\perl\bin\perl.exe" "util\mkinstallvars.pl" "PREFIX=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\build\openssl-sys-78a038b9f453544a\out\openssl-build\install" BINDIR=bin "LIBDIR=lib" INCLUDEDIR=include APPLINKDIR=include/openssl "ENGINESDIR=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\build\openssl-sys-78a038b9f453544a\out\openssl-build\install\lib\engines-3" "MODULESDIR=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\build\openssl-sys-78a038b9f453544a\out\openssl-build\install\lib\ossl-modules" "PKGCONFIGDIR=" "CMAKECONFIGDIR=C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\src\rust\target\release\build\openssl-sys-78a038b9f453544a\out\openssl-build\install\lib\cmake\OpenSSL" "LDLIBS=ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib " "VERSION=3.3.1" > installdata.pm
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "-Minstalldata" "util\dofile.pl" "-omakefile" "exporters\cmake\OpenSSLConfig.cmake.in" > exporters\OpenSSLConfig.cmake
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "-Mconfigdata" "-Minstalldata" "util\dofile.pl" "-omakefile" "exporters\cmake\OpenSSLConfigVersion.cmake.in" > exporters\OpenSSLConfigVersion.cmake
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "-Minstalldata" "util\dofile.pl" "-omakefile" "exporters\pkg-config\libcrypto.pc.in" > exporters\libcrypto.pc
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "-Minstalldata" "util\dofile.pl" "-omakefile" "exporters\pkg-config\libssl.pc.in" > exporters\libssl.pc
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "-Mconfigdata" "-Mconfigdata" "-Minstalldata" "util\dofile.pl" "-omakefile" "exporters\pkg-config\openssl.pc.in" > exporters\openssl.pc
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\crypto\bn_conf.h.in" > include\crypto\bn_conf.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\crypto\dso_conf.h.in" > include\crypto\dso_conf.h
"C:\perl\perl\bin\perl.exe" "-I." "-Iutil\perl" "-Mconfigdata" "-MOpenSSL::paramnames" "util\dofile.pl" "-omakefile" "include\internal\param_names.h.in" > include\internal\param_names.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\asn1.h.in" > include\openssl\asn1.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\asn1t.h.in" > include\openssl\asn1t.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\bio.h.in" > include\openssl\bio.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\cmp.h.in" > include\openssl\cmp.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\cms.h.in" > include\openssl\cms.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\conf.h.in" > include\openssl\conf.h
"C:\perl\perl\bin\perl.exe" "-I." "-Iutil\perl" "-Mconfigdata" "-MOpenSSL::paramnames" "util\dofile.pl" "-omakefile" "include\openssl\core_names.h.in" > include\openssl\core_names.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\crmf.h.in" > include\openssl\crmf.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\crypto.h.in" > include\openssl\crypto.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\ct.h.in" > include\openssl\ct.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\err.h.in" > include\openssl\err.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\ess.h.in" > include\openssl\ess.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\fipskey.h.in" > include\openssl\fipskey.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\lhash.h.in" > include\openssl\lhash.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\ocsp.h.in" > include\openssl\ocsp.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\opensslv.h.in" > include\openssl\opensslv.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\pkcs12.h.in" > include\openssl\pkcs12.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\pkcs7.h.in" > include\openssl\pkcs7.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\safestack.h.in" > include\openssl\safestack.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\srp.h.in" > include\openssl\srp.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\ssl.h.in" > include\openssl\ssl.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\ui.h.in" > include\openssl\ui.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\x509.h.in" > include\openssl\x509.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\x509_vfy.h.in" > include\openssl\x509_vfy.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "util\dofile.pl" "-omakefile" "include\openssl\x509v3.h.in" > include\openssl\x509v3.h
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "-Mbuilddata" "util\dofile.pl" "-omakefile" "exporters\pkg-config\libcrypto.pc.in" > libcrypto.pc
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "-Mbuilddata" "util\dofile.pl" "-omakefile" "exporters\pkg-config\libssl.pc.in" > libssl.pc
"C:\perl\perl\bin\perl.exe" "-I." "-Mconfigdata" "-Mbuilddata" "-Mbuilddata" "-Mbuilddata" "util\dofile.pl" "-omakefile" "exporters\pkg-config\openssl.pc.in" > openssl.pc
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\nmake.exe" / depend
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\nmake.exe" / _build_libs
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-app_libctx.obj "apps\lib\app_libctx.c"
app_libctx.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\app_libctx.c" > apps\lib\libapps-lib-app_libctx.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-app_params.obj "apps\lib\app_params.c"
app_params.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\app_params.c" > apps\lib\libapps-lib-app_params.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-app_provider.obj "apps\lib\app_provider.c"
app_provider.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\app_provider.c" > apps\lib\libapps-lib-app_provider.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-app_rand.obj "apps\lib\app_rand.c"
app_rand.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\app_rand.c" > apps\lib\libapps-lib-app_rand.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-app_x509.obj "apps\lib\app_x509.c"
app_x509.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\app_x509.c" > apps\lib\libapps-lib-app_x509.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-apps.obj "apps\lib\apps.c"
apps.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\apps.c" > apps\lib\libapps-lib-apps.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-apps_opt_printf.obj "apps\lib\apps_opt_printf.c"
apps_opt_printf.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\apps_opt_printf.c" > apps\lib\libapps-lib-apps_opt_printf.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-apps_ui.obj "apps\lib\apps_ui.c"
apps_ui.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\apps_ui.c" > apps\lib\libapps-lib-apps_ui.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-columns.obj "apps\lib\columns.c"
columns.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\columns.c" > apps\lib\libapps-lib-columns.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-engine.obj "apps\lib\engine.c"
engine.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\engine.c" > apps\lib\libapps-lib-engine.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-engine_loader.obj "apps\lib\engine_loader.c"
engine_loader.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\engine_loader.c" > apps\lib\libapps-lib-engine_loader.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-fmt.obj "apps\lib\fmt.c"
fmt.c
cmd /C ""cl" /Zs /showIncludes /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" "apps\lib\fmt.c" > apps\lib\libapps-lib-fmt.d 2>&1"
"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14.3 -I"." -I"include" -I"apps\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\SYS\ANAGER:[OPENSSL]\"" -D"ENGINESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\engines-3\"" -D"MODULESDIR=\"C:\\Users\\Devbox\\buildarea\\build_cryptography\\cryptography-42.0.8\\src\\rust\\target\\release\\build\\openssl-sys-78a038b9f453544a\\out\\openssl-build\\install\\lib\\ossl-modules\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Foapps\lib\libapps-lib-http_server.obj "apps\lib\http_server.c"
http_server.c
apps\lib\http_server.c(207): error C2065: 'OSSL_TRACE_CATEGORY_HTTP': undeclared identifier
Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33521 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1077: '"cl" /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy -IC:\Users\Devbox\openssl\include -IC:\Users\Devbox\openssl\include\WinNT.10.0.2_x86-64_MSVC.14. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src\rust\Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib --` failed with code 101
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Failed to build one or more wheels
Root cause:
OSSL_TRACE_CATEGORY_HTTP is introduced in OpenSSL3.1.0
openssl/include/openssl/trace.h at openssl-3.1.0 · openssl/openssl · GitHub
I think forcing cargo to pick openssl-src 300.0.13+3.0.8 should resolve this issue.
I tried updating src/rust/Cargo.toml as follows but it is still failing with above error.
openssl-src = { version = "300.0.13+3.0.8" }
openssl = { version = "0.10", features = ["vendored"] }
openssl-sys = { version = "0.9.92", optional = true }
Versions: python 3.9.19 rustup 1.27.1 rustc 1.78.0
Host: Windows 2022 Server Visual Studio 2022
I'm having a lot of trouble following your message, you seem to say that the error your indicated above was caused both by linking against your custom openssl, and by the fix you indicated?
I'm not sure how you've modified cryptography or openssl, but we never use the vendored option in our own builds, so your proposed fix doesn't really make sense.
For us to help, you're going to need to provide a complete set of steps for us to reproduce.
I am tasked with rebuilding Cryptography 42.0.8 using custom OpenSSL 3.0.13
I followed the official docs. But it fails with above mentioned error.
Steps to reproduce. On Windows 2022 server with Visual Studio 2022,
- Install python 3.9.19
- Install rustc 1.78.0
- Install OpenSSL 3.0.13 at custom location
python -m pip download --no-binary :all: --no-deps cryptography==42.0.8tar xmf cryptography-42.0.8.tar.gzcd cryptography-42.0.8OPENSSL_DIR=/path/to/openssl-3.0.13 python -m pip wheel . -w dist/
My attempt to fix the issue
cd cryptography-42.0.8- make following changes in rust/src/Cargo.toml
openssl-src = { version = "300.0.13+3.0.8" }
openssl = { version = "0.10", features = ["vendored"] }
openssl-sys = { version = "0.9.92", optional = true }
OPENSSL_DIR=/path/to/openssl-3.0.13 python -m pip wheel . -w dist/- still same error
Note: I am running above commands in cygwin3.5.3 terminal.
It sounds to me like your copy of OpenSSL 3.0.13 is somehow broken. apps\lib\http_server.c is a file from OpenSSL itself, so if it's trying to reference OSSL_TRACE_CATEGORY_HTTP that means you somehow have a copy of OpenSSL that's wrong.
I have identified the root cause. this is the main error. apps\lib\http_server.c(207): error C2065: 'OSSL_TRACE_CATEGORY_HTTP': undeclared identifier
Root cause: OSSL_TRACE_CATEGORY_HTTP is introduced in OpenSSL3.1.0 and I am using openssl 3.0.13 which does not have the said symbolc. openssl/include/openssl/trace.h at openssl-3.1.0 · openssl/openssl · GitHub
Following docs suggested using vendored option in Cargo.toml while building with custom openssl https://docs.rs/openssl/latest/openssl/#automatic
Even after defining openssl-src 300.0.13+3.0.8 in Cargo.toml it is still building with openssl-src v300.3.1+3.3.1 is there some other place where we can define dependencies so that it will pick lower version of openssl while compiling Cryptography?
Again, there is no reason for you to be doing anything with vendored, that's not necessary to use a custom OpenSSL, and in fact does the opposite of that.
As I said, it strongly looks to me like your copy of openssl is somehow defective.
I had tried without it but then it gives
OpenSSL libdir at ["C:\Users\Devbox\openssl\lib"] does not contain the required files to either statically or dynamically link OpenSSL
and after adding vendored option it started looking into the said path and continued further.
We build and use a custom OpenSSL to statically link our Windows wheel without any vendoring. We simply set OPENSSL_DIR to the dir that contains the include/lib directories for the OpenSSL we want (which is built with no-shared) and OPENSSL_STATIC=1. You can see this in our CI config in this repo, but we can't provide assistance past that.
Thanks @reaperhulk. Let me try this again.
This issue has been waiting for a reporter response for 3 days. It will be auto-closed if no activity occurs in the next 5 days.
Tried this as per suggestion but it is still not picking the intended openssl version. Command:
cmd /c " \
cd c:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8 & \
set OPENSSL_DIR=C:\Users\Devbox\openssl & \
set OPENSSL_STATIC=1 & \
python -m pip wheel . -w dist/ \
"
Output:
Processing c:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting cffi>=1.12
Using cached cffi-1.17.0-cp39-cp39-win_amd64.whl (180 kB)
Collecting pycparser
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Saved c:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\dist\cffi-1.17.0-cp39-cp39-win_amd64.whl
Saved c:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\dist\pycparser-2.22-py3-none-any.whl
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml): started
Building wheel for cryptography (pyproject.toml): still running...
Building wheel for cryptography (pyproject.toml): finished with status 'done'
Created wheel for cryptography: filename=cryptography-42.0.8-cp39-cp39-win_amd64.whl size=2532575 sha256=6a541fd8ae279262db410303eb513eb0bb81671383213e29d4f121a4f752431c
Stored in directory: c:\users\vagrant\appdata\local\pip\cache\wheels\d7\64\46\163e1c39a0bd0b62d4152a0f9d2d58ebe8e239bdbffee84b76
Successfully built cryptography
Command:
python -m pip install --no-deps --force-reinstall "C:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\dist\cryptography-42.0.8-cp39-cp39-win_amd64.whl"
Output:
Processing c:\Users\Devbox\buildarea\build_cryptography\cryptography-42.0.8\dist\cryptography-42.0.8-cp39-cp39-win_amd64.whl
Installing collected packages: cryptography
Attempting uninstall: cryptography
Found existing installation: cryptography 42.0.8
Uninstalling cryptography-42.0.8:
Successfully uninstalled cryptography-42.0.8
Successfully installed cryptography-42.0.8
After this I tried verifying if the cryptography is using openssl version which we have supplied during building the wheel i.e. 3.0.13
>> import ssl; print(ssl.OPENSSL_VERSION)
OpenSSL 3.0.13+SL_CCS-2.1.2+b 30 May 2024
>> from cryptography.hazmat.backends import default_backend; print(default_backend().openssl_version_text())
OpenSSL 3.3.1 4 Jun 2024
Python is using supplied openssl 3.0.13 which is what I expect for cryptography as well. But Cryptography continues to use openssl 3.3.1. I have not installed openssl 3.3.1 on the windows host so I assume its downloading it during building the wheel. How to proceed from here?
rust-openssl does not automatically download versions of OpenSSL and neither does our build process. You must have a copy of OpenSSL 3.3 somewhere on your system that it is building against. Unfortunately we can't assist any more with this -- all we can do is suggest that you follow the mechanisms we use in our own build process, which work.
As I mentioned earlier, documented way of building cryptography does not pick the openssl from given directory. Updating rust/src/Cargo.toml with openssl = { version = "0.10.63", features = ["vendored"] } at least takes me one step further where it tries building with given openssl and then fails with proper error. Also I had to export CFLAGS and LDFLAGS to make it work. Locking openssl-src version to 300.0.13+3.0.8 would solve the original error (OSSL_TRACE_CATEGORY_HTTP undeclared...) but updating Cargo.toml is not having intended effect.
This limited assistance would be appreciated. or any pointers in that direction would be really helpful.
Using featured = vendored causes rust-openssl to use it's own copy of OpenSSL. It is not doing what you want at all.
On Thu, Aug 29, 2024 at 6:27 AM Suyog Wani @.***> wrote:
As I mentioned earlier, documented way of building cryptography does not pick the openssl from given directory. Updating rust/src/Cargo.toml with openssl = { version = "0.10.63", features = ["vendored"] } at least takes me one step further where it tries building with given openssl and then fails with proper error. Also I had to export CFLAGS and LDFLAGS to make it work. Locking openssl-src version to 300.0.13+3.0.8 would solve the original error (OSSL_TRACE_CATEGORY_HTTP undeclared...) but updating Cargo.toml is not having intended effect. This limited assistance would be appreciated. or any pointers in that direction would be really helpful.
— Reply to this email directly, view it on GitHub https://github.com/pyca/cryptography/issues/11472#issuecomment-2317263616, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAAGBCXHJBI57UINAVCIA3ZT3ZPPAVCNFSM6AAAAABM5NXN6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJXGI3DGNRRGY . You are receiving this because you commented.Message ID: @.***>
-- All that is necessary for evil to succeed is for good people to do nothing.
I tried installing different crypto versions and I got corresponding OpenSSL versions in output. I have not installed any of these openssl versions on my system. how do we explain this?
C:\Users\Devbox>openssl version
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
C:\Users\Devbox>"C:\Users\Devbox\buildarea\pyenv\python" -m pip install cryptography==40.0.0 --force
Collecting cryptography==40.0.0
Using cached cryptography-40.0.0-cp36-abi3-win_amd64.whl (2.6 MB)
Collecting cffi>=1.12
Using cached cffi-1.17.0-cp39-cp39-win_amd64.whl (180 kB)
Collecting pycparser
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: pycparser, cffi, cryptography
Attempting uninstall: pycparser
Found existing installation: pycparser 2.22
Uninstalling pycparser-2.22:
Successfully uninstalled pycparser-2.22
Attempting uninstall: cffi
Found existing installation: cffi 1.17.0
Uninstalling cffi-1.17.0:
Successfully uninstalled cffi-1.17.0
Successfully installed cffi-1.17.0 cryptography-40.0.0 pycparser-2.22
[notice] A new release of pip is available: 23.0.1 -> 24.2
[notice] To update, run: C:\Users\Devbox\buildarea\pyenv\python.exe -m pip install --upgrade pip
C:\Users\Devbox>"C:\Users\Devbox\buildarea\pyenv\python" -c "from cryptography.hazmat.backends import default_backend; print(default_backend().openssl_version_text())"
OpenSSL 3.1.0 14 Mar 2023
C:\Users\Devbox>"C:\Users\Devbox\buildarea\pyenv\python" -m pip install cryptography==42.0.8 --force
Collecting cryptography==42.0.8
Using cached cryptography-42.0.8-cp39-abi3-win_amd64.whl (2.9 MB)
Collecting cffi>=1.12
Using cached cffi-1.17.0-cp39-cp39-win_amd64.whl (180 kB)
Collecting pycparser
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: pycparser, cffi, cryptography
Attempting uninstall: pycparser
Found existing installation: pycparser 2.22
Uninstalling pycparser-2.22:
Successfully uninstalled pycparser-2.22
Attempting uninstall: cffi
Found existing installation: cffi 1.17.0
Uninstalling cffi-1.17.0:
Successfully uninstalled cffi-1.17.0
Attempting uninstall: cryptography
Found existing installation: cryptography 40.0.0
Uninstalling cryptography-40.0.0:
Successfully uninstalled cryptography-40.0.0
Successfully installed cffi-1.17.0 cryptography-42.0.8 pycparser-2.22
[notice] A new release of pip is available: 23.0.1 -> 24.2
[notice] To update, run: C:\Users\Devbox\buildarea\pyenv\python.exe -m pip install --upgrade pip
C:\Users\Devbox>"C:\Users\Devbox\buildarea\pyenv\python" -c "from cryptography.hazmat.backends import default_backend; print(default_backend().openssl_version_text())"
OpenSSL 3.2.2 4 Jun 2024
C:\Users\Devbox>"C:\Users\Devbox\buildarea\pyenv\python" -m pip install cryptography==43.0.0 --force
Collecting cryptography==43.0.0
Using cached cryptography-43.0.0-cp39-abi3-win_amd64.whl (3.1 MB)
Collecting cffi>=1.12
Using cached cffi-1.17.0-cp39-cp39-win_amd64.whl (180 kB)
Collecting pycparser
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: pycparser, cffi, cryptography
Attempting uninstall: pycparser
Found existing installation: pycparser 2.22
Uninstalling pycparser-2.22:
Successfully uninstalled pycparser-2.22
Attempting uninstall: cffi
Found existing installation: cffi 1.17.0
Uninstalling cffi-1.17.0:
Successfully uninstalled cffi-1.17.0
Attempting uninstall: cryptography
Found existing installation: cryptography 42.0.8
Uninstalling cryptography-42.0.8:
Successfully uninstalled cryptography-42.0.8
Successfully installed cffi-1.17.0 cryptography-43.0.0 pycparser-2.22
[notice] A new release of pip is available: 23.0.1 -> 24.2
[notice] To update, run: C:\Users\Devbox\buildarea\pyenv\python.exe -m pip install --upgrade pip
C:\Users\Devbox>"C:\Users\Devbox\buildarea\pyenv\python" -c "from cryptography.hazmat.backends import default_backend; print(default_backend().openssl_version_text())"
OpenSSL 3.3.1 4 Jun 2024
C:\Users\Devbox>
Also, as per following line it says all the dependencies are included so can we say it includes openssl libraries as well?
The only time we include the dependencies is when we compile the static wheel for distribution. The sdist does not contain OpenSSL.
I am trying to compile cryptography static wheel based on OpenSSL_3.0.13 from custom location. How would we do it?
I am taking help of following command to get OpenSSL version used by Cryptography? Is it reliable?
from cryptography.hazmat.backends import default_backend; print(default_backend().openssl_version_text())
As mentioned earlier, I am seeing different versions of OpenSSL for different Cryptography. I have not installed those OpenSSL packages on system. How to understand it?
We have provided as much assistance as we can for this issue. You need to debug your environment to understand the sources.
Ok. Thank you for bearing with the queries. We can close this issue.