Date: Fri, 31 May 2024 07:46:28 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 279390] lang/python311 install failure (connected with libressl?) Message-ID: <bug-279390-21822-5mMpqK7yEs@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279390-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-279390-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279390 --- 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 lat= er do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] 4554 | ok =3D 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 =3D 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 =3D 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 =3D sk_X509_OBJECT_deep_copy(X509_STORE_get0_objects(store), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4582 | x509_object_dup, X509_OBJECT_fre= e); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~ /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); | ^ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279390-21822-5mMpqK7yEs>