[MacPorts] #31604: gcc44, gcc45, gcc46: build hangs on lion

MacPorts noreply at macports.org
Mon Oct 24 14:42:55 PDT 2011


#31604: gcc44, gcc45, gcc46: build hangs on lion
---------------------------------+------------------------------------------
 Reporter:  guygurari@…          |       Owner:  mww@…              
     Type:  defect               |      Status:  new                
 Priority:  Normal               |   Milestone:                     
Component:  ports                |     Version:  2.0.3              
 Keywords:  lion                 |        Port:  gcc44, gcc45, gcc46
---------------------------------+------------------------------------------

Comment(by alexmo@…):

 Commenting out these when editing portfile "sudo port edit gcc44":

 {{{
   #file rename ${destroot}${prefix}/share/python/aotcompile.py \
         #       ${destroot}${prefix}/share/python/aotcompile-44.py
         #file rename ${destroot}${prefix}/share/python/classfile.py \
         #       ${destroot}${prefix}/share/python/classfile-44.py

 }}}

 {{{
 #configure.args --enable-languages=c,c++,objc,obj-c++,java,fortran \
 configure.args  --enable-languages=c,c++,objc,obj-c++ \
                 --libdir=${prefix}/lib/${name} \
 }}}


 {{{
 #set dfort              gcc-fortran-${version}.tar.bz2
 set dcxx                gcc-g++-${version}.tar.bz2
 #set djava              gcc-java-${version}.tar.bz2
 set dobjc               gcc-objc-${version}.tar.bz2
 #distfiles              ${dcore} ${dfort} ${dcxx} ${djava} ${dobjc}
 distfiles               ${dcore}  ${dcxx}  ${dobjc}
 }}}



 Along with commenting out fortran and java, it at least finishes
 installation.  I don't know if this will ruin anything in the future;
 however it seems I can get other things to install by pointing them to the
 fortran I got directly from the Mac binaries:


 {{{
 sudo port install openmpi configure.f77=/usr/local/bin/gfortran
 configure.fc=/usr/local/bin/gfortran
 }}}

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


More information about the macports-tickets mailing list