[Bug 279390] lang/python311 install failure (connected with libressl?)
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 279390] lang/python311 install failure"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 May 2024 07:46:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279390
--- Comment #2 from David Marec <david@lapinbilly.eu> ---
The error is related to libressl, and stands here:
/wrkdirs/usr/ports/lang/python311/work/Python-3.11.9/Modules/_ssl.c:4554:18:
error: call to undeclared function 'X509_OBJECT_set1_X509'; ISO C99 and later
do not support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
4554 | ok = X509_OBJECT_set1_X509(ret,
X509_OBJECT_get0_X509(obj));
| ^
/wrkdirs/usr/ports/lang/python311/work/Python-3.11.9/Modules/_ssl.c:4554:18:
note: did you mean 'X509_OBJECT_get0_X509'?
/usr/local/include/openssl/x509_vfy.h:285:7: note: 'X509_OBJECT_get0_X509'
declared here
285 | X509 *X509_OBJECT_get0_X509(const X509_OBJECT *xo);
| ^
/wrkdirs/usr/ports/lang/python311/work/Python-3.11.9/Modules/_ssl.c:4558:18:
error: call to undeclared function 'X509_OBJECT_set1_X509_CRL'; ISO C99 and
later do not support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
4558 | ok = X509_OBJECT_set1_X509_CRL(
| ^
/wrkdirs/usr/ports/lang/python311/work/Python-3.11.9/Modules/_ssl.c:4558:18:
note: did you mean 'X509_OBJECT_get0_X509_CRL'?
/usr/local/include/openssl/x509_vfy.h:286:11: note: 'X509_OBJECT_get0_X509_CRL'
declared here
286 | X509_CRL *X509_OBJECT_get0_X509_CRL(X509_OBJECT *xo);
| ^
/wrkdirs/usr/ports/lang/python311/work/Python-3.11.9/Modules/_ssl.c:4575:1:
error: static declaration of 'X509_STORE_get1_objects' follows non-static
declaration
4575 | X509_STORE_get1_objects(X509_STORE *store)
| ^
/usr/local/include/openssl/x509_vfy.h:296:24: note: previous declaration is
here
296 | STACK_OF(X509_OBJECT) *X509_STORE_get1_objects(X509_STORE *xs);
| ^
/wrkdirs/usr/ports/lang/python311/work/Python-3.11.9/Modules/_ssl.c:4578:10:
error: call to undeclared function 'X509_STORE_lock'; ISO C99 and later do not
support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
4578 | if (!X509_STORE_lock(store)) {
| ^
/wrkdirs/usr/ports/lang/python311/work/Python-3.11.9/Modules/_ssl.c:4581:11:
error: call to undeclared function 'sk_X509_OBJECT_deep_copy'; ISO C99 and
later do not support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
4581 | ret = sk_X509_OBJECT_deep_copy(X509_STORE_get0_objects(store),
| ^
/wrkdirs/usr/ports/lang/python311/work/Python-3.11.9/Modules/_ssl.c:4581:9:
error: incompatible integer to pointer conversion assigning to 'struct
stack_st_X509_OBJECT *' from 'int' [-Wint-conversion]
4581 | ret = sk_X509_OBJECT_deep_copy(X509_STORE_get0_objects(store),
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4582 | x509_object_dup, X509_OBJECT_free);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/lang/python311/work/Python-3.11.9/Modules/_ssl.c:4583:5:
error: call to undeclared function 'X509_STORE_unlock'; ISO C99 and later do
not support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
4583 | X509_STORE_unlock(store);
| ^
--
You are receiving this mail because:
You are the assignee for the bug.