scipy fails to build. Stops compilation in fftpack (dfftpack). Build.log attached Reproducible: Always Actual Results: last portion of build: Thread model: posix gcc version 4.2.1 (Apple Inc. build 5574) customize Gnu95FCompiler using build_clib building 'dfftpack' library compiling Fortran sources Fortran f77 compiler: /Users/msears/Gentoo/usr/bin/i686-apple-darwin9-gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -fPIC Fortran f90 compiler: /Users/msears/Gentoo/usr/bin/gfortran -Wall -fno-second-underscore -arch i686 -fPIC Fortran fix compiler: /Users/msears/Gentoo/usr/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -arch i686 -fPIC creating build/temp.macosx-10.5-i386-2.6 creating build/temp.macosx-10.5-i386-2.6/scipy creating build/temp.macosx-10.5-i386-2.6/scipy/fftpack creating build/temp.macosx-10.5-i386-2.6/scipy/fftpack/src creating build/temp.macosx-10.5-i386-2.6/scipy/fftpack/src/dfftpack compile options: '-I/Users/msears/Gentoo/usr/lib/python2.6/site-packages/numpy/core/include -c' i686-apple-darwin9-gfortran:f77: scipy/fftpack/src/dfftpack/dcosqb.f f951: error: unrecognized command line option "-arch" f951: error: unrecognized command line option "-arch" error: Command "/Users/msears/Gentoo/usr/bin/i686-apple-darwin9-gfortran -Wall -ffixed-form -fno-second-underscore -arch i686 -fPIC -I/Users/msears/Gentoo/usr/lib/python2.6/site-packages/numpy/core/include -c -c scipy/fftpack/src/dfftpack/dcosqb.f -o build/temp.macosx-10.5-i386-2.6/scipy/fftpack/src/dfftpack/dcosqb.o" failed with exit status 1 * ERROR: sci-libs/scipy-0.7.1 failed: * compilation failed * * Call stack: * ebuild.sh: 64: <call call-ebuildshell 'src_compile'> * environment: 501: <call src_compile> * environment:3361: <call distutils_src_compile 'config_fc' '--noopt' '--noarch'> * environment: 890: ${python} setup.py build "$@" || die "compilation failed"; * * If you need support, post the topmost build error, and the call stack if relevant. >>> Failed to emerge sci-libs/scipy-0.7.1, Log file: >>> '/Users/msears/Gentoo/var/tmp/portage/sci-libs/scipy-0.7.1/temp/build.log' * Messages for package sci-libs/scipy-0.7.1: * ERROR: sci-libs/scipy-0.7.1 failed: * compilation failed * * Call stack: * ebuild.sh: 64: <call call-ebuildshell 'src_compile'> * environment: 501: <call src_compile> * environment:3361: <call distutils_src_compile 'config_fc' '--noopt' '--noarch'> * environment: 890: ${python} setup.py build "$@" || die "compilation failed"; * * If you need support, post the topmost build error, and the call stack if relevant. Expected Results: successful compile
Created attachment 200256 [details] build.log
Some problem with the build system on OSX, I guess.
What about scipy-0.7.2?
http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.4/unstable/main/finkinfo/sci/scipy-core-py.patch?revision=1.7&view=markup http://projects.scipy.org/numpy/ticket/1087
something tells me I fixed this in the past sometime...
(In reply to comment #5) > something tells me I fixed this in the past sometime... > You are also CCed on the upstream bug. So can I consider that as being fixed?
I/someone else need to test if they did a correct fix. (Given the upstream bug, I wouldn't be surprised if they committed something which still doesn't work.)
Well I compiled it at request of jlec and it compiles for me. That means that the build problem is fixed on x64_macos on 10.6
then I take it this issue has been fixed appropriately