[MacPorts] #59881: uftp3 @3.7.2: does not build with openssl 1.1

MacPorts noreply at macports.org
Sun Mar 30 14:02:39 UTC 2025


#59881: uftp3 @3.7.2: does not build with openssl 1.1
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:  uftp3       |
-------------------------+--------------------

Comment (by barracuda156):

 Replying to [ticket:59881 ryandesign]:

 It fails to build with `openssl3` either:
 {{{
 --->  Building uftp3
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_uftp3/uftp3/work/uftp_src-3.7.2"
 && /usr/bin/gnumake -j6 -w all CC=/usr/bin/gcc-4.2 OPTIONS='-arch ppc'
 OPENSSL=/opt/local
 gnumake: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_uftp3/uftp3/work/uftp_src-3.7.2'
 /usr/bin/gcc-4.2 -arch ppc -I/opt/local/include  -c uftp_common.c
 /usr/bin/gcc-4.2 -arch ppc -I/opt/local/include  -c encrypt_openssl.c
 /usr/bin/gcc-4.2 -arch ppc -I/opt/local/include  -c server_announce.c
 /usr/bin/gcc-4.2 -arch ppc -I/opt/local/include  -c server_transfer.c
 /usr/bin/gcc-4.2 -arch ppc -I/opt/local/include  -c server_send.c
 /usr/bin/gcc-4.2 -arch ppc -I/opt/local/include  -c server_phase.c
 /usr/bin/gcc-4.2 -arch ppc -I/opt/local/include  -c server_common.c
 /usr/bin/gcc-4.2 -arch ppc -I/opt/local/include  -c server_config.c
 encrypt_openssl.c: In function ‘encrypt_block’:
 encrypt_openssl.c:184: error: storage size of ‘ctx’ isn’t known
 encrypt_openssl.c: In function ‘decrypt_block’:
 encrypt_openssl.c:217: error: storage size of ‘ctx’ isn’t known
 encrypt_openssl.c: In function ‘hash’:
 encrypt_openssl.c:261: error: storage size of ‘hashctx’ isn’t known
 encrypt_openssl.c: In function ‘RSA_keylen’:
 encrypt_openssl.c:287: warning: ‘RSA_size’ is deprecated (declared at
 /opt/local/include/openssl/rsa.h:215)
 encrypt_openssl.c: In function ‘RSA_encrypt’:
 encrypt_openssl.c:299: warning: ‘RSA_size’ is deprecated (declared at
 /opt/local/include/openssl/rsa.h:215)
 encrypt_openssl.c:305: warning: ‘RSA_public_encrypt’ is deprecated
 (declared at /opt/local/include/openssl/rsa.h:294)
 encrypt_openssl.c: In function ‘RSA_decrypt’:
 encrypt_openssl.c:321: warning: ‘RSA_size’ is deprecated (declared at
 /opt/local/include/openssl/rsa.h:215)
 encrypt_openssl.c:327: warning: ‘RSA_private_decrypt’ is deprecated
 (declared at /opt/local/include/openssl/rsa.h:303)
 encrypt_openssl.c: In function ‘create_RSA_sig’:
 encrypt_openssl.c:352: warning: ‘RSA_sign’ is deprecated (declared at
 /opt/local/include/openssl/rsa.h:361)
 /usr/bin/gcc-4.2 -arch ppc -I/opt/local/include  -c server_init.c
 encrypt_openssl.c: In function ‘verify_RSA_sig’:
 encrypt_openssl.c:377: warning: ‘RSA_verify’ is deprecated (declared at
 /opt/local/include/openssl/rsa.h:365)
 encrypt_openssl.c: In function ‘import_RSA_key’:
 encrypt_openssl.c:394: warning: ‘RSA_new’ is deprecated (declared at
 /opt/local/include/openssl/rsa.h:212)
 encrypt_openssl.c:401: error: dereferencing pointer to incomplete type
 encrypt_openssl.c:405: error: dereferencing pointer to incomplete type
 encrypt_openssl.c: In function ‘export_RSA_key’:
 encrypt_openssl.c:422: error: dereferencing pointer to incomplete type
 encrypt_openssl.c:426: error: dereferencing pointer to incomplete type
 encrypt_openssl.c:439: error: dereferencing pointer to incomplete type
 encrypt_openssl.c: In function ‘gen_RSA_key’:
 encrypt_openssl.c:457: warning: ‘RSA_generate_key’ is deprecated (declared
 at /opt/local/include/openssl/rsa.h:266)
 encrypt_openssl.c:473: warning: ‘PEM_write_RSAPrivateKey’ is deprecated
 (declared at /opt/local/include/openssl/pem.h:452)
 encrypt_openssl.c: In function ‘read_RSA_key’:
 encrypt_openssl.c:496: warning: ‘PEM_read_RSAPrivateKey’ is deprecated
 (declared at /opt/local/include/openssl/pem.h:452)
 encrypt_openssl.c: In function ‘free_RSA_key’:
 encrypt_openssl.c:507: warning: ‘RSA_free’ is deprecated (declared at
 /opt/local/include/openssl/rsa.h:304)
 /usr/bin/gcc-4.2 -arch ppc -I/opt/local/include  -c server_main.c
 gnumake: *** [encrypt_openssl.o] Error 1
 gnumake: *** Waiting for unfinished jobs....
 gnumake: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_uftp3/uftp3/work/uftp_src-3.7.2'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_uftp3/uftp3/work/uftp_src-3.7.2"
 && /usr/bin/gnumake -j6 -w all CC=/usr/bin/gcc-4.2 OPTIONS='-arch ppc'
 OPENSSL=/opt/local
 Exit code: 2
 Error: Failed to build uftp3: command execution failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59881#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list