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

MacPorts noreply at macports.org
Tue Apr 14 20:07:51 PDT 2009


#19320: py25-scipy doesn't build
--------------------------------+-------------------------------------------
 Reporter:  user8472@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:  Port Bugs                            
Component:  ports               |     Version:  1.7.1                                
 Keywords:                      |        Port:                                       
--------------------------------+-------------------------------------------
 '''System:''' MacOS X 10.4.11, PPC G4, latest patches applied

 '''Expected behavior:''' When installing py25-scipy (v0.7.0, default
 choice in current distribution), the command ''sudo /opt/local/bin/port
 install py25-scipy'' should build and install py25-scipy.

 '''Observed behavior:''' The default compiler (there doesn't seem to be
 any option to change the defaults) doesn't compile at least one file
 properly:

 {{{
 $ sudo /opt/local/bin/port install py25-scipy
 --->  Building py25-scipy
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-scipy/work/scipy-0.7.0"
 && /opt/local/bin/python2.5 setup.py --no-user-cfg config_fc --fcompiler
 gnu95 --f77exec /opt/local/bin/gfortran-mp-4.3 --f90exec /opt/local/bin
 /gfortran-mp-4.3 build " returned error 1
 Command output: Target: powerpc-apple-darwin8.11.0
 Configured with: ../gcc-4.3.3/configure --prefix=/opt/local --enable-
 languages=c,c++,objc,obj-c++,java,fortran --libdir=/opt/local/lib/gcc43
 --includedir=/opt/local/include/gcc43 --infodir=/opt/local/share/info
 --mandir=/opt/local/share/man --with-local-prefix=/opt/local --with-
 system-zlib --disable-nls --program-suffix=-mp-4.3 --with-gxx-include-
 dir=/opt/local/include/gcc43/c++/ --with-gmp=/opt/local --with-
 mpfr=/opt/local --disable-multilib
 Thread model: posix
 gcc version 4.3.3 (GCC)
 Using built-in specs.
 Target: powerpc-apple-darwin8.11.0
 Configured with: ../gcc-4.3.3/configure --prefix=/opt/local --enable-
 languages=c,c++,objc,obj-c++,java,fortran --libdir=/opt/local/lib/gcc43
 --includedir=/opt/local/include/gcc43 --infodir=/opt/local/share/info
 --mandir=/opt/local/share/man --with-local-prefix=/opt/local --with-
 system-zlib --disable-nls --program-suffix=-mp-4.3 --with-gxx-include-
 dir=/opt/local/include/gcc43/c++/ --with-gmp=/opt/local --with-
 mpfr=/opt/local --disable-multilib
 Thread model: posix
 gcc version 4.3.3 (GCC)
 Using built-in specs.
 Target: powerpc-apple-darwin8.11.0
 Configured with: ../gcc-4.3.3/configure --prefix=/opt/local --enable-
 languages=c,c++,objc,obj-c++,java,fortran --libdir=/opt/local/lib/gcc43
 --includedir=/opt/local/include/gcc43 --infodir=/opt/local/share/info
 --mandir=/opt/local/share/man --with-local-prefix=/opt/local --with-
 system-zlib --disable-nls --program-suffix=-mp-4.3 --with-gxx-include-
 dir=/opt/local/include/gcc43/c++/ --with-gmp=/opt/local --with-
 mpfr=/opt/local --disable-multilib
 Thread model: posix
 gcc version 4.3.3 (GCC)
 Using built-in specs.
 Target: powerpc-apple-darwin8.11.0
 Configured with: ../gcc-4.3.3/configure --prefix=/opt/local --enable-
 languages=c,c++,objc,obj-c++,java,fortran --libdir=/opt/local/lib/gcc43
 --includedir=/opt/local/include/gcc43 --infodir=/opt/local/share/info
 --mandir=/opt/local/share/man --with-local-prefix=/opt/local --with-
 system-zlib --disable-nls --program-suffix=-mp-4.3 --with-gxx-include-
 dir=/opt/local/include/gcc43/c++/ --with-gmp=/opt/local --with-
 mpfr=/opt/local --disable-multilib
 Thread model: posix
 gcc version 4.3.3 (GCC)
 customize Gnu95FCompiler using build_clib
 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
 compile options:
 '-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/numpy/core/include -c'
 gfortran-mp-4.3:f77: scipy/fftpack/src/dfftpack/dcosqf.f
 f951: error: unrecognized command line option "-arch"
 f951: error: unrecognized command line option "-arch"
 error: Command "/opt/local/bin/gfortran-mp-4.3 -Wall -ffixed-form -fno-
 second-underscore -arch ppc -fPIC -O3 -funroll-loops
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/numpy/core/include -c -c
 scipy/fftpack/src/dfftpack/dcosqf.f -o
 build/temp.macosx-10.4-ppc-2.5/scipy/fftpack/src/dfftpack/dcosqf.o" failed
 with exit status 1

 Error: Status 1 encountered during processing.
 $
 }}}

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


More information about the macports-tickets mailing list