[MacPorts] #50771: openssl 1.0.2g_0 fails to build on Mac OS X 10.6.8

MacPorts noreply at macports.org
Fri Mar 4 11:52:25 PST 2016


#50771: openssl 1.0.2g_0 fails to build on Mac OS X 10.6.8
------------------------+----------------------------------
  Reporter:  floehlj@…  |      Owner:  cal@…
      Type:  defect     |     Status:  new
  Priority:  High       |  Milestone:
 Component:  ports      |    Version:  2.3.4
Resolution:             |   Keywords:  haspatch snowleopard
      Port:  openssl    |
------------------------+----------------------------------

Comment (by gadcode@…):

 Replying to [comment:16 gaport@…]:
 > I've found a '''clang-3.4''', thus I did a (better clean before):
 > {{{
 > sudo port -s clean openssl
 > sudo port -s upgrade openssl configure.compiler=macports-clang-3.4
 > }}}
 >
 > maybe this works for other clangs as well…. good luck!

 My system did not have clang-3.4 installed.  And attempting to install it
 ran into trouble, because various dependencies meant that openssl needed
 to be recompiled before compiling clang-3.4.  However, there was a way
 around that problem.

 I did:
 {{{
 sudo port selfupdate          # of course
 sudo port installed outdated
 sudo port rdeps clang-3.4
 }}}
 and then looked over the dependencies for clang which would cared about
 openssl.  Those dependencies included two ports which (in my case) needed
 to be upgraded:  scons and python27

 So I:
 {{{
 sudo port update  -n python27
 sudo port install -n clang-3.4
 sudo port -s clean openssl     #  this is important!!
 sudo port -s upgrade openssl configure.compiler=macports-clang-3.4
 }}}
 (hmm, I thought I had also done 'sudo port update  -n scons', but looking
 over my bash history I had not done that).

 This time openssl built without any errors.  I then did 'sudo port upgrade
 cyrus-sasl2', 'sudo port upgrade ruby20', and 'sudo port upgrade net-snmp'
 (all of which require openssl), and all of those built fine.

 Should I do something so this new (to me) clang-3.4 is preferred over
 clang-3.3 ?

-- 
Ticket URL: <https://trac.macports.org/ticket/50771#comment:22>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list