Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194484 - numpy-1.0.3.1 fails with blas-reference because it doesn't link to libcblas
Summary: numpy-1.0.3.1 fails with blas-reference because it doesn't link to libcblas
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-02 09:05 UTC by Donnie Berkholz (RETIRED)
Modified: 2007-12-07 11:30 UTC (History)
0 users

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


Attachments
numpy.log (numpy.log,41.02 KB, text/plain)
2007-10-05 07:33 UTC, Donnie Berkholz (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Donnie Berkholz (RETIRED) gentoo-dev 2007-10-02 09:05:27 UTC
creating build/temp.linux-ppc-2.5/numpy/core/blasdot
compile options: '-DNO_ATLAS_INFO=1 -Inumpy/core/blasdot -Inumpy/core/include -Ibuild/src.linux-ppc-2.5/numpy/core -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.5 -c'
powerpc-unknown-linux-gnu-gcc: numpy/core/blasdot/_dotblas.c
/usr/bin/gfortran -Wl,-O1 -Wl,--as-needed build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib -L/usr/lib -lblas -lpython2.5 -lgfortran -o build/lib.linux-ppc-2.5/numpy/core/_dotblas.so
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `DOUBLE_dot':
_dotblas.c:(.text+0x418): undefined reference to `cblas_ddot'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `FLOAT_dot':
_dotblas.c:(.text+0x4c8): undefined reference to `cblas_sdot'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `dotblas_vdot':
_dotblas.c:(.text+0xaf0): undefined reference to `cblas_ddot'
_dotblas.c:(.text+0xb14): undefined reference to `cblas_sdot'
_dotblas.c:(.text+0xb38): undefined reference to `cblas_zdotc_sub'
_dotblas.c:(.text+0xb58): undefined reference to `cblas_cdotc_sub'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `CDOUBLE_dot':
_dotblas.c:(.text+0xc08): undefined reference to `cblas_zdotu_sub'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `CFLOAT_dot':
_dotblas.c:(.text+0xcb8): undefined reference to `cblas_cdotu_sub'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `dotblas_innerproduct':
_dotblas.c:(.text+0x1298): undefined reference to `cblas_cgemm'
_dotblas.c:(.text+0x1310): undefined reference to `cblas_cgemv'
_dotblas.c:(.text+0x1438): undefined reference to `cblas_cdotu_sub'
_dotblas.c:(.text+0x14b0): undefined reference to `cblas_cgemv'
_dotblas.c:(.text+0x14ec): undefined reference to `cblas_daxpy'
_dotblas.c:(.text+0x150c): undefined reference to `cblas_zaxpy'
_dotblas.c:(.text+0x1568): undefined reference to `cblas_dgemm'
_dotblas.c:(.text+0x158c): undefined reference to `cblas_saxpy'
_dotblas.c:(.text+0x15d4): undefined reference to `cblas_sgemm'
_dotblas.c:(.text+0x15f4): undefined reference to `cblas_caxpy'
_dotblas.c:(.text+0x163c): undefined reference to `cblas_zgemm'
_dotblas.c:(.text+0x1660): undefined reference to `cblas_sdot'
_dotblas.c:(.text+0x16a4): undefined reference to `cblas_sgemv'
_dotblas.c:(.text+0x16e0): undefined reference to `cblas_zgemv'
_dotblas.c:(.text+0x171c): undefined reference to `cblas_dgemv'
_dotblas.c:(.text+0x1758): undefined reference to `cblas_zgemv'
_dotblas.c:(.text+0x1794): undefined reference to `cblas_dgemv'
_dotblas.c:(.text+0x17b4): undefined reference to `cblas_zdotu_sub'
_dotblas.c:(.text+0x17d0): undefined reference to `cblas_ddot'
_dotblas.c:(.text+0x1814): undefined reference to `cblas_sgemv'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `dotblas_matrixproduct':
_dotblas.c:(.text+0x2244): undefined reference to `cblas_cgemv'
_dotblas.c:(.text+0x2304): undefined reference to `cblas_daxpy'
_dotblas.c:(.text+0x2430): undefined reference to `cblas_zaxpy'
_dotblas.c:(.text+0x24a8): undefined reference to `cblas_dgemm'
_dotblas.c:(.text+0x250c): undefined reference to `cblas_saxpy'
_dotblas.c:(.text+0x2554): undefined reference to `cblas_caxpy'
_dotblas.c:(.text+0x25d8): undefined reference to `cblas_saxpy'
_dotblas.c:(.text+0x26a4): undefined reference to `cblas_daxpy'
_dotblas.c:(.text+0x2780): undefined reference to `cblas_zgemv'
_dotblas.c:(.text+0x2794): undefined reference to `cblas_sdot'
_dotblas.c:(.text+0x27b0): undefined reference to `cblas_ddot'
_dotblas.c:(.text+0x2854): undefined reference to `cblas_zgemm'
_dotblas.c:(.text+0x2898): undefined reference to `cblas_sgemm'
_dotblas.c:(.text+0x28dc): undefined reference to `cblas_cgemm'
_dotblas.c:(.text+0x2948): undefined reference to `cblas_sgemv'
_dotblas.c:(.text+0x298c): undefined reference to `cblas_dgemv'
_dotblas.c:(.text+0x2a70): undefined reference to `cblas_zaxpy'
_dotblas.c:(.text+0x2b8c): undefined reference to `cblas_caxpy'
_dotblas.c:(.text+0x2c10): undefined reference to `cblas_cdotu_sub'
_dotblas.c:(.text+0x2c28): undefined reference to `cblas_zdotu_sub'
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.0/libgfortranbegin.a(fmain.o): In function `main':
(.text+0x10): undefined reference to `MAIN__'
collect2: ld returned 1 exit status
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `DOUBLE_dot':
_dotblas.c:(.text+0x418): undefined reference to `cblas_ddot'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `FLOAT_dot':
_dotblas.c:(.text+0x4c8): undefined reference to `cblas_sdot'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `dotblas_vdot':
_dotblas.c:(.text+0xaf0): undefined reference to `cblas_ddot'
_dotblas.c:(.text+0xb14): undefined reference to `cblas_sdot'
_dotblas.c:(.text+0xb38): undefined reference to `cblas_zdotc_sub'
_dotblas.c:(.text+0xb58): undefined reference to `cblas_cdotc_sub'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `CDOUBLE_dot':
_dotblas.c:(.text+0xc08): undefined reference to `cblas_zdotu_sub'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `CFLOAT_dot':
_dotblas.c:(.text+0xcb8): undefined reference to `cblas_cdotu_sub'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `dotblas_innerproduct':
_dotblas.c:(.text+0x1298): undefined reference to `cblas_cgemm'
_dotblas.c:(.text+0x1310): undefined reference to `cblas_cgemv'
_dotblas.c:(.text+0x1438): undefined reference to `cblas_cdotu_sub'
_dotblas.c:(.text+0x14b0): undefined reference to `cblas_cgemv'
_dotblas.c:(.text+0x14ec): undefined reference to `cblas_daxpy'
_dotblas.c:(.text+0x150c): undefined reference to `cblas_zaxpy'
_dotblas.c:(.text+0x1568): undefined reference to `cblas_dgemm'
_dotblas.c:(.text+0x158c): undefined reference to `cblas_saxpy'
_dotblas.c:(.text+0x15d4): undefined reference to `cblas_sgemm'
_dotblas.c:(.text+0x15f4): undefined reference to `cblas_caxpy'
_dotblas.c:(.text+0x163c): undefined reference to `cblas_zgemm'
_dotblas.c:(.text+0x1660): undefined reference to `cblas_sdot'
_dotblas.c:(.text+0x16a4): undefined reference to `cblas_sgemv'
_dotblas.c:(.text+0x16e0): undefined reference to `cblas_zgemv'
_dotblas.c:(.text+0x171c): undefined reference to `cblas_dgemv'
_dotblas.c:(.text+0x1758): undefined reference to `cblas_zgemv'
_dotblas.c:(.text+0x1794): undefined reference to `cblas_dgemv'
_dotblas.c:(.text+0x17b4): undefined reference to `cblas_zdotu_sub'
_dotblas.c:(.text+0x17d0): undefined reference to `cblas_ddot'
_dotblas.c:(.text+0x1814): undefined reference to `cblas_sgemv'
build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o: In function `dotblas_matrixproduct':
_dotblas.c:(.text+0x2244): undefined reference to `cblas_cgemv'
_dotblas.c:(.text+0x2304): undefined reference to `cblas_daxpy'
_dotblas.c:(.text+0x2430): undefined reference to `cblas_zaxpy'
_dotblas.c:(.text+0x24a8): undefined reference to `cblas_dgemm'
_dotblas.c:(.text+0x250c): undefined reference to `cblas_saxpy'
_dotblas.c:(.text+0x2554): undefined reference to `cblas_caxpy'
_dotblas.c:(.text+0x25d8): undefined reference to `cblas_saxpy'
_dotblas.c:(.text+0x26a4): undefined reference to `cblas_daxpy'
_dotblas.c:(.text+0x2780): undefined reference to `cblas_zgemv'
_dotblas.c:(.text+0x2794): undefined reference to `cblas_sdot'
_dotblas.c:(.text+0x27b0): undefined reference to `cblas_ddot'
_dotblas.c:(.text+0x2854): undefined reference to `cblas_zgemm'
_dotblas.c:(.text+0x2898): undefined reference to `cblas_sgemm'
_dotblas.c:(.text+0x28dc): undefined reference to `cblas_cgemm'
_dotblas.c:(.text+0x2948): undefined reference to `cblas_sgemv'
_dotblas.c:(.text+0x298c): undefined reference to `cblas_dgemv'
_dotblas.c:(.text+0x2a70): undefined reference to `cblas_zaxpy'
_dotblas.c:(.text+0x2b8c): undefined reference to `cblas_caxpy'
_dotblas.c:(.text+0x2c10): undefined reference to `cblas_cdotu_sub'
_dotblas.c:(.text+0x2c28): undefined reference to `cblas_zdotu_sub'
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.0/libgfortranbegin.a(fmain.o): In function `main':
(.text+0x10): undefined reference to `MAIN__'
collect2: ld returned 1 exit status
error: Command "/usr/bin/gfortran -Wl,-O1 -Wl,--as-needed build/temp.linux-ppc-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib -L/usr/lib -lblas -lpython2.5 -lgfortran -o build/lib.linux-ppc-2.5/numpy/core/_dotblas.so" failed with exit status 1

!!! ERROR: dev-python/numpy-1.0.3.1 failed.
Call stack:
  ebuild-daemon.sh, line 200:   Called execute_phases 'compile'
  ebuild.sh, line 623:   Called dyn_compile
  ebuild-default-functions.sh, line 255:   Called src_compile
  ebuild.sh, line 3106:   Called distutils_src_compile
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.

phases failed
!!! Failed to build config wrapped(use): ebuild src: dev-python/numpy-1.0.3.1: Failed build operation: compile: Failed building (False/0 return from handler)
finished

donnie@comet ~ $ eselect blas list
Installed BLAS for library directory lib
  [1]   reference *

donnie@comet ~ $ emvp numpy
 * Resolving...
[ebuild     U ] dev-python/numpy-1.0.3.1 [1.0.1-r1] USE="lapack (-debug%)"  [1]
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2007-10-02 09:25:05 UTC
Hi Donnie,

Could you post also the eselect cblas list and the full log?
I have the impression it is a problem with as-needed in cblas.

Sébastien
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-05 07:33:15 UTC
Created attachment 132614 [details]
numpy.log

Here's the log.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-05 07:33:59 UTC
donnie@comet ~ $ eselect cblas list
Installed CBLAS for library directory lib
  [1]   reference *
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2007-10-05 14:37:40 UTC
I just can't reproduce it even with as-needed, although I'm testing only for x86 and amd64. Do the libs at /usr/lib/libcblas* got properly link with eselect?

Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2007-12-07 11:30:47 UTC
Should be fixed in cvs now.