[MacPorts] #70767: python312 @3.12.6 cannot compile on macOS 15 Sequoia

MacPorts noreply at macports.org
Tue Sep 17 21:57:27 UTC 2024


#70767: python312 @3.12.6 cannot compile on macOS 15 Sequoia
-------------------------------+-----------------------
 Reporter:  SaintBol           |      Owner:  (none)
     Type:  defect             |     Status:  new
 Priority:  High               |  Milestone:
Component:  ports              |    Version:  2.10.1
 Keywords:  Sequoia python312  |       Port:  python312
-------------------------------+-----------------------
 Using Xcode clang compiler (Command Line Tools not present): cannot
 compile the port on macOS 15 Sequoia.
  Attached main.log

 Issues:

 {{{
 :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  4532 |             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   285 | 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  4536 |             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   286 | 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  4553 | 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   296 | 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  4556 |     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  4559 |     ret =
 sk_X509_OBJECT_deep_copy(X509_STORE_get0_objects(store),
 :info:build       |           ^
 :info:build ./Modules/_ssl.c:4559:9: error: incompatible integer to
 pointer conversion assigning to 'struct stack_st_X509_OBJECT *' from 'int'
 [-Wint-conversion]
 :info:build  4559 |     ret =
 sk_X509_OBJECT_deep_copy(X509_STORE_get0_objects(store),
 :info:build       |         ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build  4560 |                                    x509_object_dup,
 X509_OBJECT_free);
 :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  4561 |     X509_STORE_unlock(store);
 :info:build       |     ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70767>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list