Just selfupdated to 2.10.0, had to run "port outdated" with sudo for the first
time, and as python312 shows available update
python312 3.12.4_0 < 3.12.5_0
attempted to upgrade it.
There is no available binary package for python 3.12.5_0 for ventura (yet), so
port command proceeded with building of python.
The build failed, and I suspect that it failed because I have libressl @3.9.2_0.
The errors in the main.log show as follows:
:info:build /usr/bin/clang -fno-strict-overflow -Wsign-compare
-Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64
-flto=thin -std=c11 -Wextra -Wno-unused-parameter
-Wno-missing-field-initializers -Wstrict-prototypes
-Werror=implicit-function-declaration -fvisibility=hidden
-fprofile-instr-generate -I./Include/internal -I. -I./Include
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -c
./Modules/xxsubtype.c -o Modules/xxsubtype.o
:info:build In file included from ./Modules/_ssl.c:35:
:info:build In file included from ./Modules/_ssl.h:5:
:info:build In file included from /opt/local/include/openssl/evp.h:62:
:info:build In file included from /opt/local/include/openssl/opensslconf.h:1:
:info:build /opt/local/include/openssl/opensslfeatures.h:21:9: warning:
'OPENSSL_NO_DEPRECATED' macro redefined [-Wmacro-redefined]
:info:build #define OPENSSL_NO_DEPRECATED
:info:build ^
:info:build ./Modules/_ssl.c:22:9: note: previous definition is here
:info:build #define OPENSSL_NO_DEPRECATED 1
:info:build ^
:info:build /usr/bin/clang -fno-strict-overflow -Wsign-compare
-Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64
-flto=thin -std=c11 -Wextra -Wno-unused-parameter
-Wno-missing-field-initializers -Wstrict-prototypes
-Werror=implicit-function-declaration -fvisibility=hidden
-fprofile-instr-generate -I./Include/internal -I. -I./Include
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -c
./Modules/_xxtestfuzz/_xxtestfuzz.c -o Modules/_xxtestfuzz/_xxtestfuzz.o
:info:build /usr/bin/clang -fno-strict-overflow -Wsign-compare
-Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64
-flto=thin -std=c11 -Wextra -Wno-unused-parameter
-Wno-missing-field-initializers -Wstrict-prototypes
-Werror=implicit-function-declaration -fvisibility=hidden
-fprofile-instr-generate -I./Include/internal -I. -I./Include
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -c
./Modules/_xxtestfuzz/fuzzer.c -o Modules/_xxtestfuzz/fuzzer.o
:info:build ./Modules/_ssl.c:4532:18: error: call to undeclared function
'X509_OBJECT_set1_X509'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
:info:build ok = X509_OBJECT_set1_X509(ret,
X509_OBJECT_get0_X509(obj));
:info:build ^
:info:build ./Modules/_ssl.c:4532:18: note: did you mean
'X509_OBJECT_get0_X509'?
:info:build /opt/local/include/openssl/x509_vfy.h:285:7: note:
'X509_OBJECT_get0_X509' declared here
:info:build X509 *X509_OBJECT_get0_X509(const X509_OBJECT *xo);
:info:build ^
:info:build ./Modules/_ssl.c:4536:18: error: call to undeclared function
'X509_OBJECT_set1_X509_CRL'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
:info:build ok = X509_OBJECT_set1_X509_CRL(
:info:build ^
:info:build ./Modules/_ssl.c:4536:18: note: did you mean
'X509_OBJECT_get0_X509_CRL'?
:info:build /opt/local/include/openssl/x509_vfy.h:286:11: note:
'X509_OBJECT_get0_X509_CRL' declared here
:info:build X509_CRL *X509_OBJECT_get0_X509_CRL(X509_OBJECT *xo);
:info:build ^
:info:build ./Modules/_ssl.c:4553:1: error: static declaration of
'X509_STORE_get1_objects' follows non-static declaration
:info:build X509_STORE_get1_objects(X509_STORE *store)
:info:build ^
:info:build /opt/local/include/openssl/x509_vfy.h:296:24: note: previous
declaration is here
:info:build STACK_OF(X509_OBJECT) *X509_STORE_get1_objects(X509_STORE *xs);
:info:build ^
:info:build ./Modules/_ssl.c:4556:10: error: call to undeclared function
'X509_STORE_lock'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
:info:build if (!X509_STORE_lock(store)) {
:info:build ^
:info:build ./Modules/_ssl.c:4559:11: error: call to undeclared function
'sk_X509_OBJECT_deep_copy'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
:info:build ret = sk_X509_OBJECT_deep_copy(X509_STORE_get0_objects(store),
:info:build ^
:info:build ./Modules/_ssl.c:4559:9: warning: incompatible integer to pointer
conversion assigning to 'struct stack_st_X509_OBJECT *' from 'int'
[-Wint-conversion]
:info:build ret = sk_X509_OBJECT_deep_copy(X509_STORE_get0_objects(store),
:info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./Modules/_ssl.c:4561:5: error: call to undeclared function
'X509_STORE_unlock'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
:info:build X509_STORE_unlock(store);
:info:build ^
:info:build 2 warnings and 6 errors generated.
If it is a deliberate decision to not support building of python with libressl,
I don't think trac ticket is needed.
I am going to wait until binary package is available for ventura.
Thanks,
Kastus