Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167652 - dev-python/numpy-1.0.1-r1 build fails to find cblas
Summary: dev-python/numpy-1.0.1-r1 build fails to find cblas
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-19 18:29 UTC by Grant Edwards
Modified: 2007-02-20 11:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Edwards 2007-02-19 18:29:13 UTC
When emerging numpy 1.0.1-r1, the build fails because it can't find cblas.

Reproducible: Always

Steps to Reproduce:
1. emerge numpy

Actual Results:  
>>> Compiling source in /home/tmp/portage/dev-python/numpy-1.0.1-r1/work/numpy-1.0.1 ...
 * You need to set cblas to atlas or reference. Do:
 *    eselect cblas set <impl>
 * where <impl> is atlas, threaded-atlas or reference

!!! ERROR: dev-python/numpy-1.0.1-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3930:   Called src_compile
  numpy-1.0.1-r1.ebuild, line 122:   Called numpy_configure
  numpy-1.0.1-r1.ebuild, line 37:   Called die


Expected Results:  
Um, I expected it to build...

I've tried "eseclect cblas set" with all of the suggested choices.  The numpy build fails with all of them.  I have all of the following installed:

app-admin/eselect-cblas 0.1
sci-libs/cblas-reference 20030223-r1
sci-libs/blas-atlas 3.7.11
sci-libs/lapack-atlas 3.7.11

The command "eselect cblas list"
shows nothing:

 # eselect cblas list
 #
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2007-02-20 00:19:47 UTC
It looks like the versions of cblas you have installed do not support the eselect cblas. You need at least blas-atlas-3.7.11-r1 or cblas-reference-20030223-r3. Let me know if it still doing it after updating your cblas lib. I updated the numpy ebuild accordingly no matter what.
Comment 2 Grant Edwards 2007-02-20 04:33:39 UTC
Doh! I should have thought of that.

After unmasking ~x86 versions of blas-atlas and cblas-reference, numpy built fine.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2007-02-20 11:04:56 UTC
closing then.