Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382383 - dev-python/numpy-1.6.1 IndexError: list index out of range
Summary: dev-python/numpy-1.6.1 IndexError: list index out of range
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 12:56 UTC by tman
Modified: 2012-12-07 08:27 UTC (History)
1 user (show)

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


Attachments
/var/log/portage/dev-python:numpy-1.6.1:20110908-071154.log (dev-python:numpy-1.6.1:20110908-071154.log,11.02 KB, text/plain)
2011-09-09 16:06 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2011-09-09 12:56:01 UTC
^[[39mSetting PTATLAS=ATLAS^[[0m
Traceback (most recent call last):
  File "setup.py", line 196, in <module>
    setup_package()
  File "setup.py", line 189, in setup_package
    configuration=configuration )
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/core.py", line 152, in setup
    config = configuration()
  File "setup.py", line 142, in configuration
    config.add_subpackage('numpy')
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/misc_util.py", line 1002, in add_subpackage
    caller_level = 2)
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/misc_util.py", line 971, in get_subpackage
    caller_level = caller_level + 1)
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/misc_util.py", line 908, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "numpy/setup.py", line 14, in configuration
    config.add_subpackage('linalg')
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/misc_util.py", line 1002, in add_subpackage
    caller_level = 2)
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/misc_util.py", line 971, in get_subpackage
    caller_level = caller_level + 1)
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/misc_util.py", line 908, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "numpy/linalg/setup.py", line 12, in configuration
    lapack_info = get_info('lapack_opt',0) # and {}
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/system_info.py", line 311, in get_info
    return cl().get_info(notfound_action)
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/system_info.py", line 456, in get_info
    self.calc_info()
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/system_info.py", line 1314, in calc_info
    atlas_info = get_info('atlas_threads')
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/system_info.py", line 311, in get_info
    return cl().get_info(notfound_action)
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/system_info.py", line 456, in get_info
    self.calc_info()
  File "/var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1/numpy/distutils/system_info.py", line 986, in calc_info
    lapack_name = lapack['libraries'][0]
IndexError: list index out of range
 ^[[31;01m*^[[0m ERROR: dev-python/numpy-1.6.1 failed (compile phase):
 ^[[31;01m*^[[0m   Building failed with CPython 2.7 in distutils_building() function
 ^[[31;01m*^[[0m 


Reproducible: Always




Portage 2.2.0_alpha54_p6 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 09 Sep 2011 11:30:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo amielke-overlay gnome lorelei-overlay lxde mgorny nikai qting-edge roslin scarabeus_local_overlay science bleeding-edge wirelay kde poly-c webapp-experimental mpd luman emacs java-overlay Techwolf lokal
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-09-09 15:03:08 UTC
Please attach the entire build log.
Comment 2 Rafał Mużyło 2011-09-09 15:16:24 UTC
Given the list of the overlays (and their number) I'd check bug 381801.
Comment 3 tman 2011-09-09 16:05:49 UTC
numpy is in the: science overlay


my whole overlay list:

PORTDIR_OVERLAY="/usr/portage/local/layman/amielke-overlay /usr/portage/local/layman/gnome /usr/portage/local/layman/lorelei /usr/portage/local/layman/lxde /usr/portage/local/layman/mgorny /usr/portage/local/layman/nikai /usr/portage/local/layman/qting-edge /usr/portage/local/layman/roslin /usr/portage/local/layman/scarabeus /usr/portage/local/layman/science /usr/portage/local/layman/bleeding-edge /usr/portage/local/layman/wirelay /usr/portage/local/layman/kde /usr/portage/local/layman/poly-c /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/mpd /usr/portage/local/layman/luman /usr/portage/local/layman/emacs /usr/portage/local/layman/java-overlay /usr/portage/local/layman/techwolf /usr/portage/local/local-overlay"
Comment 4 tman 2011-09-09 16:06:50 UTC
Created attachment 285983 [details]
/var/log/portage/dev-python:numpy-1.6.1:20110908-071154.log

full error log
Comment 5 François Bissey 2011-09-10 02:20:30 UTC
(In reply to comment #3)
> numpy is in the: science overlay
> 

numpy is not in the science overlay. I was going to ask you to try the ebuild in bug #371099 but I believe you have another problem. From your log:
>>> Preparing source in /var/tmp/portage/dev-python/numpy-1.6.1/work/numpy-1.6.1 ...
Package blas was not found in the pkg-config search path.
Perhaps you should add the directory containing `blas.pc'
to the PKG_CONFIG_PATH environment variable
No package 'blas' found


It looks to me like you don't have a blas eselected or for some reason the corresponding blas.pc is missing.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2012-12-07 08:27:32 UTC
This seems to be a broken blas installation on your side. Please fix this and reopen if the bug still exists.