[Scipy-tickets] [SciPy] #1476: easy_install of 0.9.0 fails on OS X 10.7 (Lion)

SciPy Trac scipy-tickets@scipy....
Wed Jul 13 01:01:42 CDT 2011


#1476: easy_install of 0.9.0 fails on OS X 10.7 (Lion)
--------------------------+-------------------------------------------------
 Reporter:  tacoe         |       Owner:  cdavid     
     Type:  defect        |      Status:  new        
 Priority:  normal        |   Milestone:  Unscheduled
Component:  Build issues  |     Version:  0.9.0      
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by rgommers):

 * cc: pv (added)


Old description:

> This is a GM build of Lion, meaning no changes are expected before
> release.
>
> From the first error to the end of the trace:
> {{{
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> warning: type defaults to ‘int’ in declaration of ‘complex’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:16:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:21:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
> warning: type defaults to ‘int’ in declaration of ‘complex’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> warning: type defaults to ‘int’ in declaration of ‘complex’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:16:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:21:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
> lipo: can't open input file: /var/tmp//cc7t1IIv.out (No such file or
> directory)
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
> warning: type defaults to ‘int’ in declaration of ‘complex’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> warning: type defaults to ‘int’ in declaration of ‘complex’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:16:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:21:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
> warning: type defaults to ‘int’ in declaration of ‘complex’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> warning: type defaults to ‘int’ in declaration of ‘complex’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:16:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
> /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:21:
> error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
> lipo: can't open input file: /var/tmp//cc7t1IIv.out (No such file or
> directory)
> error: Setup script exited with error: Command "llvm-gcc-4.2 -fno-strict-
> aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-
> aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall
> -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall
> -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe
> -I/private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/SRC
> -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include
> -c /private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c
> -o build/temp.macosx-10.7-intel-2.7/private/tmp/easy_install-
> N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.o"
> failed with exit status 1
> /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/distutils/misc_util.py:251:
> RuntimeWarning: Parent module 'numpy.distutils' not found while handling
> absolute import
>   from numpy.distutils import log
> }}}

New description:

 This is a GM build of Lion, meaning no changes are expected before
 release.

 From the first error to the end of the trace:
 {{{
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
 warning: type defaults to ‘int’ in declaration of ‘complex’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:16:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:21:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
 warning: type defaults to ‘int’ in declaration of ‘complex’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
 warning: type defaults to ‘int’ in declaration of ‘complex’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:16:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:21:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 lipo: can't open input file: /var/tmp//cc7t1IIv.out (No such file or
 directory)
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
 warning: type defaults to ‘int’ in declaration of ‘complex’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
 warning: type defaults to ‘int’ in declaration of ‘complex’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:16:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:21:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
 warning: type defaults to ‘int’ in declaration of ‘complex’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
 warning: type defaults to ‘int’ in declaration of ‘complex’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘float’
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:16:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 /private/tmp/easy_install-
 N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:21:
 error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 lipo: can't open input file: /var/tmp//cc7t1IIv.out (No such file or
 directory)
 error: Setup script exited with error: Command "llvm-gcc-4.2 -fno-strict-
 aliasing -fno-common -dynamic -g -Os -pipe -fno-common
 -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE

 -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g
 -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE
 -arch i386 -arch x86_64 -pipe -I/private/tmp/easy_install-N6GrEl
 /scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/SRC -I/System
 /Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
 /numpy/core/include -c /private/tmp/easy_install-N6GrEl/scipy-
 0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS
 /veclib_cabi_c.c -o build/temp.macosx-10.7-intel-2.7/private
 /tmp/easy_install-N6GrEl/scipy-0.9.0/scipy/sparse/linalg/eigen
 /arpack/ARPACK/FWRAPPERS/veclib_cabi_c.o" failed with exit status 1
 /System/Library/Frameworks/Python.framework/Versions/2.7/Extras
 /lib/python/numpy/distutils/misc_util.py:251: RuntimeWarning:
 Parent module 'numpy.distutils' not found while handling absolute import
   from numpy.distutils import log
 }}}

--

Comment:

 Never mind gcc then. Quite surprising that it's not shipped with OS X
 anymore.

 It seems to be complaining about this:
 {{{
 #include <vecLib/vecLib.h>

 #define WRAP_F77(a) a##_
 void WRAP_F77(veclib_cdotc)(const int *N, const complex float *X, const
 int *incX,
 const complex float *Y, const int *incY, complex float *dotc)
 {
     cblas_cdotc_sub(*N, X, *incX, Y, *incY, dotc);
 }
 }}}
 in particular the {{{"const complex float"}}} declarations. Those are non-
 standard, a quoted google search for them turns up the scipy arpack source
 as first hit which actually has this in it.  The (C++) hits before all use
 {{{"const complex<float>"}}}. Not sure what the right way in C is.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1476#comment:4>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list