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

SciPy Trac scipy-tickets@scipy....
Tue Jul 12 16:02:49 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:                |  
--------------------------+-------------------------------------------------

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(by rgommers):

 <reformatted description>

 This could be due to easy_install or your setup in addition to the OS
 upgrade.  Could you build on Snow Leopard?  Can you install on Lion with
 standard "python setup.py install"?  Can you use the standard installed
 gcc instead of llvm-gcc?

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


More information about the Scipy-tickets mailing list