Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280453 - Failed to emerge sci-libs/scipy-0.7.1
Summary: Failed to emerge sci-libs/scipy-0.7.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 13:24 UTC by Mike Sears
Modified: 2010-05-04 13:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,154.12 KB, text/plain)
2009-08-05 13:25 UTC, Mike Sears
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Sears 2009-08-05 13:24:29 UTC
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
Comment 1 Mike Sears 2009-08-05 13:25:14 UTC
Created attachment 200256 [details]
build.log
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-07 21:46:43 UTC
Some problem with the build system on OSX, I guess.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-05-03 15:04:17 UTC
What about scipy-0.7.2?
Comment 5 Fabian Groffen gentoo-dev 2010-05-03 16:33:30 UTC
something tells me I fixed this in the past sometime...
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2010-05-04 07:07:56 UTC
(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?
Comment 7 Fabian Groffen gentoo-dev 2010-05-04 08:48:17 UTC
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.)
Comment 8 Ramon 2010-05-04 13:14:25 UTC
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
Comment 9 Fabian Groffen gentoo-dev 2010-05-04 13:23:14 UTC
then I take it this issue has been fixed appropriately