Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404435 - sci-libs/scipy-0.10.0 - numpy.distutils.system_info.BlasNotFoundError: Blas (http://www.netlib.org/blas/) libraries not found.
Summary: sci-libs/scipy-0.10.0 - numpy.distutils.system_info.BlasNotFoundError: B...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-18 18:38 UTC by Markus Walter
Modified: 2012-12-07 09:35 UTC (History)
0 users

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


Attachments
build log (build.log,570.23 KB, text/plain)
2012-02-18 18:38 UTC, Markus Walter
Details
emerge --info (info.txt,5.42 KB, text/plain)
2012-02-18 18:38 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2012-02-18 18:38:43 UTC
Created attachment 302413 [details]
build log

On my hardened ~amd64 machine I see the following error when merging scipy.

I'm not really sure what's happening here and am willing to track this down. I have blas-reference from science overlay installed. I also use sage-on-gentoo overlay (just to name anything that could be connected).

Traceback (most recent call last):
  File "setup.py", line 196, in <module>
    setup_package()
  File "setup.py", line 187, in setup_package
    configuration=configuration )
  File "/usr/lib64/python3.2/site-packages/numpy/distutils/core.py", line 152, in setup
    config = configuration()
  File "setup.py", line 138, in configuration
    config.add_subpackage('scipy')
  File "/usr/lib64/python3.2/site-packages/numpy/distutils/misc_util.py", line 972, in add_subpackage
    caller_level = 2)
  File "/usr/lib64/python3.2/site-packages/numpy/distutils/misc_util.py", line 941, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/lib64/python3.2/site-packages/numpy/distutils/misc_util.py", line 878, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/setup.py", line 8, in configuration
    config.add_subpackage('integrate')
  File "/usr/lib64/python3.2/site-packages/numpy/distutils/misc_util.py", line 972, in add_subpackage
    caller_level = 2)
  File "/usr/lib64/python3.2/site-packages/numpy/distutils/misc_util.py", line 941, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/lib64/python3.2/site-packages/numpy/distutils/misc_util.py", line 878, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/integrate/setup.py", line 10, in configuration
    blas_opt = get_info('blas_opt',notfound_action=2)
  File "/usr/lib64/python3.2/site-packages/numpy/distutils/system_info.py", line 310, in get_info
    return cl().get_info(notfound_action)
  File "/usr/lib64/python3.2/site-packages/numpy/distutils/system_info.py", line 461, in get_info
    raise self.notfounderror(self.notfounderror.__doc__)
numpy.distutils.system_info.BlasNotFoundError: 
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
Comment 1 Markus Walter 2012-02-18 18:38:53 UTC
Created attachment 302415 [details]
emerge --info
Comment 2 François Bissey 2012-02-20 00:12:29 UTC
I got this too. I hit bug #386269 first. After unmerging ATLAS I ended up with this. scipy with python 3.2 seem to be bent down to want atlas and the site.cfg is not doing the trick.
The mere presence of atlas on the system even if not eselected trigger numpy to link to clapack (at least numpy-1.5.1 I think).

And yes sage-on-gentoo is connected it's our being stuck with numpy-1.5.1 problem if I am not mistaken.
If you move to numpy 1.6.x do you still hit this?
Comment 3 Markus Walter 2012-02-21 17:40:12 UTC
After upgrading to numpy-1.6.1-r1 scipy-0.10.0 merges fine.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2012-12-07 09:35:26 UTC
+  07 Dec 2012; Justin Lecher <jlec@gentoo.org> -numpy-1.5.1.ebuild,
+  -numpy-1.6.0.ebuild, -numpy-1.6.1.ebuild:
+  Drop old, fixes #404435, #386847
+