<div dir="ltr">Thanks Sir, for the valuable information. It appears that the problem is in fact, that the port medusa has got outdated. I regret that I got digressed from the prime issue - <b>Inability to build and test port in my local machine</b>. (Error encountered on trying "<b>sudo port test</b>" inside the directory of the port) I've followed the guidelines in <a href="http://mac-os-forge.2317878.n4.nabble.com/Unable-to-execute-port-Could-not-open-file-td364084.html" target="_blank">http://mac-os-forge.2317878.n4.nabble.com/Unable-to-execute-port-Could-not-open-file-td364084.html</a>, but adding permissions using chmod didn't help (all necessary files seem to possess 777 permission). Any suggestions in this regard will immensely help.<div><br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Thanks in anticipation,</div><div>Yours Sincerely,</div><div dir="ltr"><i>Saptarshi Mukherjee</i><i>.</i></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 25, 2020 at 8:07 PM Ryan Schmidt <<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On Mar 25, 2020, at 02:00, SAPTARSHI MUKHERJEE wrote:<br>
<br>
> Please find attached the compressed file for main.log. Thanks in anticipation. <br>
<br>
The errors I see in this log look like this:<br>
<br>
:info:build In file included from ssh.c:227:<br>
:info:build In file included from /opt/local/include/openssl/evp.h:16:<br>
:info:build In file included from /opt/local/include/openssl/bio.h:20:<br>
:info:build In file included from /opt/local/include/openssl/crypto.h:23:<br>
:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here<br>
:info:build DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)<br>
:info:build ^<br>
:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'<br>
:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)<br>
:info:build                                          ^<br>
:info:build /opt/local/include/openssl/safestack.h:28:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'<br>
:info:build     { \<br>
:info:build     ^<br>
<br>
We have a ticket for that issue already:<br>
<br>
<a href="https://trac.macports.org/ticket/58983" rel="noreferrer" target="_blank">https://trac.macports.org/ticket/58983</a><br>
<br>
<br>
</blockquote></div>