[MacPorts] #13354: BUG: python/py25-scipy fails to build when py25-numpy built using gcc42/gcc43 variants

MacPorts trac at macosforge.org
Mon Nov 19 16:29:32 PST 2007


#13354: BUG: python/py25-scipy fails to build when py25-numpy built using
gcc42/gcc43 variants
-------------------------------+--------------------------------------------
  Reporter:  ram at macports.org  |       Owner:  erickt at macports.org
      Type:  defect            |      Status:  new                
  Priority:  Normal            |   Milestone:  Port Bugs          
 Component:  ports             |     Version:  1.5.2              
Resolution:                    |    Keywords:                     
-------------------------------+--------------------------------------------
Comment (by ram at macports.org):

 Just tried building/installing manually with

 {{{
 $ python setup.py config_fc --fcompiler gnu95 \
                   --f77exec /opt/local/bin/gfortran-mp-4.2 \
                   --f90exec /opt/local/bin/gfortran-mp-4.2 build
 $ python setup.py install --prefix=$HOME/scipy
 }}}

 and it fails with the same error. But if I install with

 {{{
 $ python setup.py config_fc --fcompiler gnu95 \
                   --f77exec /opt/local/bin/gfortran-mp-4.2 \
                   --f90exec /opt/local/bin/gfortran-mp-4.2 install
 --prefix=$HOME/scipy
 }}}

 then the install succeeds, therefore I added the appropriate
 `config_fc...` to `destroot.cmd` in
 each of the different variants and installing from the port succeeds.

 I've attached a new patch that does this for the py25-scipy Portfile, a
 similar change will therefore be needed for the py-scipy port.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13354#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list