[Numpy-discussion] Build error on OSX from commit 72c6fbd

10 views
Skip to first unread message

Matthew Brett

unread,
Mar 17, 2012, 4:24:34 AM3/17/12
to Discussion of Numerical Python
Hi,

As of commit 72c6fbd, I am getting the appended build error on OSX
10.6.8. I couldn't immediately see what might have caused the
problem.

Cheers,

Matthew

...
creating build/temp.macosx-10.3-fat-2.6/numpy/core/blasdot
compile options: '-DNO_ATLAS_INFO=3 -Inumpy/core/blasdot
-Inumpy/core/include
-Ibuild/src.macosx-10.3-fat-2.6/numpy/core/include/numpy
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-Ibuild/src.macosx-10.3-fat-2.6/numpy/core/src/multiarray
-Ibuild/src.macosx-10.3-fat-2.6/numpy/core/src/umath -c'
extra options: '-msse3 -I/System/Library/Frameworks/vecLib.framework/Headers'
gcc-4.0: numpy/core/blasdot/_dotblas.c
In file included from numpy/core/include/numpy/ndarraytypes.h:1972,
from numpy/core/include/numpy/ndarrayobject.h:17,
from numpy/core/include/numpy/arrayobject.h:15,
from numpy/core/blasdot/_dotblas.c:6:
numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning
"Using deprecated NumPy API, disable it by #defining
NPY_NO_DEPRECATED_API"
In file included from numpy/core/include/numpy/ndarraytypes.h:1972,
from numpy/core/include/numpy/ndarrayobject.h:17,
from numpy/core/include/numpy/arrayobject.h:15,
from numpy/core/blasdot/_dotblas.c:6:
numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning
"Using deprecated NumPy API, disable it by #defining
NPY_NO_DEPRECATED_API"
numpy/core/blasdot/_dotblas.c: In function ‘dotblas_matrixproduct’:
numpy/core/blasdot/_dotblas.c: In function ‘dotblas_matrixproduct’:
numpy/core/blasdot/_dotblas.c:239: warning: comparison of distinct
pointer types lacks a cast
numpy/core/blasdot/_dotblas.c:257: warning: passing argument 3 of
‘*(PyArray_API + 1120u)’ from incompatible pointer type
numpy/core/blasdot/_dotblas.c:292: warning: passing argument 3 of
‘*(PyArray_API + 1120u)’ from incompatible pointer type
numpy/core/blasdot/_dotblas.c:239: warning: comparison of distinct
pointer types lacks a cast
numpy/core/blasdot/_dotblas.c:257: warning: passing argument 3 of
‘*(PyArray_API + 1120u)’ from incompatible pointer type
numpy/core/blasdot/_dotblas.c:292: warning: passing argument 3 of
‘*(PyArray_API + 1120u)’ from incompatible pointer type
gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-g -bundle -undefined dynamic_lookup
build/temp.macosx-10.3-fat-2.6/numpy/core/blasdot/_dotblas.o
-Lbuild/temp.macosx-10.3-fat-2.6 -o
build/lib.macosx-10.3-fat-2.6/numpy/core/_dotblas.so -Wl, -framework
-Wl,Accelerate
ld: file not found:
collect2: ld returned 1 exit status
ld: file not found:
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/jg/jgfZ12ZXHwGSFKD85xLpLk+++TI/-Tmp-//ccZil7bP.out (No
such file or directory)
ld: file not found:
collect2: ld returned 1 exit status
ld: file not found:
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/jg/jgfZ12ZXHwGSFKD85xLpLk+++TI/-Tmp-//ccZil7bP.out (No
such file or directory)
error: Command "gcc-4.0 -arch ppc -arch i386 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup
build/temp.macosx-10.3-fat-2.6/numpy/core/blasdot/_dotblas.o
-Lbuild/temp.macosx-10.3-fat-2.6 -o
build/lib.macosx-10.3-fat-2.6/numpy/core/_dotblas.so -Wl, -framework
-Wl,Accelerate" failed with exit status 1
_______________________________________________
NumPy-Discussion mailing list
NumPy-Di...@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Ralf Gommers

unread,
Mar 17, 2012, 5:10:48 AM3/17/12
to Discussion of Numerical Python
On Sat, Mar 17, 2012 at 9:24 AM, Matthew Brett <matthe...@gmail.com> wrote:
Hi,

As of commit 72c6fbd, I am getting the appended build error on OSX
10.6.8.  I couldn't immediately see what might have caused the
problem.

I can't reproduce it, but it should be fixed by https://github.com/rgommers/numpy/commit/bca298fb3. Can you confirm that?

Ralf

Matthew Brett

unread,
Mar 17, 2012, 3:45:10 PM3/17/12
to Discussion of Numerical Python
Hi,

Yes that fixes it - thanks for the quick reply,

Matthew

Reply all
Reply to author
Forward
0 new messages