Opened 5 years ago
Closed 3 years ago
#58983 closed defect (fixed)
medusa @2.1.1_2: error: function definition is not allowed here
Reported by: | tehcog (tehcog) | Owned by: | Gminfly |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | i0ntempest, TheLastLovemark, ryandesign (Ryan Carsten Schmidt) | |
Port: | medusa |
Description (last modified by tehcog (tehcog))
Sep 08 12:24:19 xxXXxx ---> Computing dependencies for medusa Sep 08 12:24:19 xxXXxx ---> Fetching archive for medusa Sep 08 12:24:19 xxXXxx ---> Attempting to fetch medusa-2.1.1_2+subversion.darwin_13.x86_64.tbz2 from https://packages.macports.org/medusa Sep 08 12:24:19 xxXXxx ---> Attempting to fetch medusa-2.1.1_2+subversion.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/medusa Sep 08 12:24:20 xxXXxx ---> Attempting to fetch medusa-2.1.1_2+subversion.darwin_13.x86_64.tbz2 from http://kmq.jp.packages.macports.org/medusa Sep 08 12:24:20 xxXXxx ---> Verifying checksums for medusa Sep 08 12:24:20 xxXXxx ---> Extracting medusa Sep 08 12:24:20 xxXXxx ---> Applying patches to medusa Sep 08 12:24:20 xxXXxx ---> Configuring medusa Sep 08 12:24:24 xxXXxx ---> Building medusa Sep 08 12:24:24 xxXXxx Error: Failed to build medusa: command execution failed Sep 08 12:24:24 xxXXxx Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/main.log for details.
please see attached main.log for details
Attachments (1)
Change History (7)
Changed 5 years ago by tehcog (tehcog)
Attachment: | medusa_main.log added |
---|
comment:1 Changed 5 years ago by tehcog (tehcog)
Description: | modified (diff) |
---|
comment:2 Changed 5 years ago by mf2k (Frank Schima)
Cc: | Gminfly removed |
---|---|
Owner: | set to Gminfly |
Status: | new → assigned |
comment:3 Changed 5 years ago by i0ntempest
Cc: | i0ntempest added |
---|
comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | TheLastLovemark added |
---|---|
Summary: | medusa @2.1.1_2 fails to build on mavericks → medusa @2.1.1_2: error: function definition is not allowed here |
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 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.
comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
comment:6 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
main.log