[MacPorts] #58983: medusa @2.1.1_2: error: function definition is not allowed here (was: medusa @2.1.1_2 fails to build on mavericks)

MacPorts noreply at macports.org
Fri Jan 17 21:23:46 UTC 2020


#58983: medusa @2.1.1_2: error: function definition is not allowed here
---------------------+----------------------
  Reporter:  tehcog  |      Owner:  Gminfly
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.5.4
Resolution:          |   Keywords:
      Port:  medusa  |
---------------------+----------------------
Changes (by ryandesign):

 * cc: TheLastLovemark (added)


Comment:

 The relevant error in the log (repeated several times until maximum number
 of errors was exceeded) appears to be:

 {{{
 :info:build In file included from ssh.c:227:
 :info:build In file included from /opt/local/include/openssl/evp.h:16:
 :info:build In file included from /opt/local/include/openssl/bio.h:20:
 :info:build In file included from /opt/local/include/openssl/crypto.h:23:
 :info:build /opt/local/include/openssl/safestack.h:159:1: error: function
 definition is not allowed here
 :info:build DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
 :info:build ^
 :info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded
 from macro 'DEFINE_SPECIAL_STACK_OF'
 :info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2)
 SKM_DEFINE_STACK_OF(t1, t2, t2)
 :info:build                                          ^
 :info:build /opt/local/include/openssl/safestack.h:28:5: note: expanded
 from macro 'SKM_DEFINE_STACK_OF'
 :info:build     { \
 :info:build     ^
 }}}

 Has duplicate #59977.

 Maybe [ticket:59978 updating to version 2.2] would help.

 If not, it's worth noting that MacPorts updated openssl to 1.1.x somewhat
 recently. Although this is not the typical failure we see with ports that
 are not compatible with openssl 1.1, maybe it is related. If the port
 cannot be made to work with openssl 1.1, we still have an openssl 1.0 port
 available that this port can use if needed.

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


More information about the macports-tickets mailing list