[MacPorts] #19320: py25-scipy doesn't build

MacPorts noreply at macports.org
Tue Apr 14 21:50:49 PDT 2009


#19320: py25-scipy doesn't build
--------------------------------+-------------------------------------------
 Reporter:  user8472@…          |       Owner:  ram@…           
     Type:  defect              |      Status:  assigned        
 Priority:  Normal              |   Milestone:  Port Bugs       
Component:  ports               |     Version:  1.7.1           
 Keywords:                      |        Port:  py25-scipy      
--------------------------------+-------------------------------------------

Comment(by ram@…):

 I think I've found what is causing the failure, but not sure why. The
 following compilers, and flags, are being used for used for your build:

 {{{
 building 'dfftpack' library
 compiling Fortran sources
 Fortran f77 compiler: /opt/local/bin/gfortran-mp-4.3 -Wall -ffixed-form
 -fno-second-underscore -arch ppc -fPIC -O3 -funroll-loops
 Fortran f90 compiler: /opt/local/bin/gfortran-mp-4.3 -Wall -fno-second-
 underscore -arch ppc -fPIC -O3 -funroll-loops
 Fortran fix compiler: /opt/local/bin/gfortran-mp-4.3 -Wall -ffixed-form-
 fno-second-underscore -Wall -fno-second-underscore -arch ppc -fPIC -O3
 -funroll-loops
 }}}

 whereas I have:

 {{{
 building 'dfftpack' library
 compiling Fortran sources
 Fortran f77 compiler: /opt/local/bin/gfortran-mp-4.3 -Wall -ffixed-form
 -fno-second-underscore -fPIC -O3 -funroll-loops
 Fortran f90 compiler: /opt/local/bin/gfortran-mp-4.3 -Wall -fno-second-
 underscore -fPIC -O3 -funroll-loops
 Fortran fix compiler: /opt/local/bin/gfortran-mp-4.3 -Wall -ffixed-form
 -fno-second-underscore -Wall -fno-second-underscore -fPIC -O3 -funroll-
 loops
 }}}

 They are the same apart from the fact that your build is also passing
 "-arch ppc" to the build which is the cause of this error. From what I can
 tell this comes from numpy.disutils.fcompiler.gnu._universal_flags() but I
 can't determine why that method is being called. I'll see if upstream has
 any ideas why these flags could be being specified.

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


More information about the macports-tickets mailing list