Request for help in resolving issue in building ports locally

Ryan Schmidt ryandesign at
Wed Mar 25 14:37:13 UTC 2020

On Mar 25, 2020, at 02:00, SAPTARSHI MUKHERJEE wrote:

> Please find attached the compressed file for main.log. Thanks in anticipation. 

The errors I see in this log look like this:

: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 ^
: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     ^

We have a ticket for that issue already:

More information about the macports-dev mailing list