[MacPorts] #70763: lftp @4.9.2_5 cannot compile on macOS 15 Sequoia

MacPorts noreply at macports.org
Tue Sep 17 21:47:01 UTC 2024


#70763: lftp @4.9.2_5 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 lftp  |       Port:  lftp
--------------------------+--------------------
 Using Xcode clang compiler (Command Line Tools not present): cannot
 compile the port on macOS 15 Sequoia.
 Attached main.log

 Issues:

 {{{
 :info:build lftp_ssl.cc:783:47: error: invalid application of 'sizeof' to
 an incomplete type 'X509_OBJECT' (aka 'x509_object_st')
 :info:build   783 |     return (X509_OBJECT*)OPENSSL_malloc(sizeof(*ret));
 :info:build       |                                               ^~~~~~

 :info:build lftp_ssl.cc:789:5: error: use of undeclared identifier
 'X509_OBJECT_free_contents'; did you mean 'X509_OBJECT_up_ref_count'?
 :info:build   789 |     X509_OBJECT_free_contents(a);
 :info:build       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build       |     X509_OBJECT_up_ref_count

 :info:build lftp_ssl.cc:795:10: error: member access into incomplete type
 'X509_OBJECT' (aka 'x509_object_st')
 :info:build   795 |     if (a->type != X509_LU_CRL) return NULL;
 :info:build       |          ^

 :info:build lftp_ssl.cc:796:13: error: member access into incomplete type
 'X509_OBJECT' (aka 'x509_object_st')
 :info:build   796 |     return a->data.crl;
 :info:build       |             ^

 :info:build lftp_ssl.cc:1214:43: error: member access into incomplete type
 'X509_REVOKED' (aka 'x509_revoked_st')
 :info:build  1214 |             const ASN1_INTEGER *revoked_serial =
 X509_REVOKED_get0_serialNumber(revoked);
 :info:build       |                                                  ^
 }}}

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


More information about the macports-tickets mailing list