[MacPorts] #30012: Erlang port hangs during installation on Lion DP

MacPorts noreply at macports.org
Mon Aug 8 02:29:33 PDT 2011


#30012: Erlang port hangs during installation on Lion DP
---------------------------------+------------------------------------------
  Reporter:  conradwt@…          |       Owner:  bfulgham@…           
      Type:  defect              |      Status:  closed               
  Priority:  Normal              |   Milestone:                       
 Component:  ports               |     Version:  1.9.2                
Resolution:  fixed               |    Keywords:  lion                 
      Port:  erlang              |  
---------------------------------+------------------------------------------

Comment(by easieste@…):

 Replying to [comment:16 andre.david@…]:
 > How is this related to #30516, which was submitted after the fix here ?

 It looks like that #30516 occurs when one has Xcode 4 installed on OS X
 10.6, as the configure process on my machine picks up the llvm-gcc-4.2
 compiler.

 Patching as follows enables the build to get past the hipe error on OS X
 10.6:

 {{{
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 82103)
 +++ Portfile    (working copy)
 @@ -102,6 +102,11 @@
      # This is a workaround.
      patchfiles-append   patch-erts_emulator_sys_unix_ddll.c.diff
      configure.ldflags-append -framework CoreFoundation
 +
 +    configure.cflags-delete -O2
 +    configure.cxxflags-delete -O2
 +    configure.cflags-append -O0
 +    configure.cxxflags-append -O0
  }

  platform darwin 11 {
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/30012#comment:17>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list