On 8/5/12 4:30 PM, Gary K Olson wrote:
> I am attempting to build scipy32, but I get the following error due to 
> failure of Pylnit__superlu to return a value:
> 
>> scipy/sparse/linalg/dsolve/_superluobject.h:59:23: note: expanded from macro 
>> 'TYPE_GENERIC_FUNC'
>>     static returntype name(int type, name##_ARGS)          \
>>                       ^
>> scipy/sparse/linalg/dsolve/_superluobject.h:124:19: warning: unused function 
>> 'Create_CompCol_Matrix' [-Wunused-function]
>> TYPE_GENERIC_FUNC(Create_CompCol_Matrix, void);
>>                   ^
>> scipy/sparse/linalg/dsolve/_superluobject.h:59:23: note: expanded from macro 
>> 'TYPE_GENERIC_FUNC'
>>     static returntype name(int type, name##_ARGS)          \
>>                       ^
>> In file included from scipy/sparse/linalg/dsolve/_superlu_utils.c:9:
>> /sw/lib/python3.2/site-packages/numpy/core/include/numpy/npy_3kcompat.h:352:1:
>>  warning: unused function 'simple_capsule_dtor' [-Wunused-function]
>> simple_capsule_dtor(PyObject *cap)
>> ^
>> 8 warnings generated.
>> gcc: scipy/sparse/linalg/dsolve/_superlumodule.c
>> scipy/sparse/linalg/dsolve/_superlumodule.c:268:9: error: non-void function 
>> 'PyInit__superlu' should return a value [-Wreturn-type]
>>         return;
>>         ^
>> 1 error generated.
>> scipy/sparse/linalg/dsolve/_superlumodule.c:268:9: error: non-void function 
>> 'PyInit__superlu' should return a value [-Wreturn-type]
>>         return;
>>         ^
>> 1 error generated.
>> error: Command "gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes 
>> -I/sw/include -DNO_ATLAS_INFO=3 -DUSE_VENDOR_BLAS=1 
>> -I/sw/lib/python3.2/site-packages/numpy/core/include 
>> -I/sw/include/python3.2m -c scipy/sparse/linalg/dsolve/_superlumodule.c -o 
>> build/temp.macosx-10.8-x86_64-3.2/scipy/sparse/linalg/dsolve/_superlumodule.o
>>  -msse3" failed with exit status 1
>> ### execution of /tmp/fink.k6Snf failed, exit code 1
>> ### execution of /tmp/fink.cqNLo failed, exit code 1
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-scipy-py32-0.10.0-3
>> (Reading database ... 339934 files and directories currently installed.)
>> Removing fink-buildlock-scipy-py32-0.10.0-3 ...
>> Failed: phase compiling: scipy-py32-0.10.0-3 failed
> 
> I believe there was a similar problem under OSX 10.7. Thanks in advance for 
> any help.
> 
> Gary K Olson
> 
> Here is my kit:
> 
> Package manager version: 0.34.2
> Distribution version: selfupdate-rsync Sun Aug  5 16:28:02 2012, 10.8, x86_64
> Trees: local/main stable/main local/injected
> Xcode.app: 4.4
> Xcode command-line tools: 4.4.0.0.1.1249367152
> Max. Fink build jobs:  2
> 

I get the same thing on 10.7/Xcode 4.4, too, so this looks like an issue
with the clang compiler's strictness for this Xcode version/or sloppy code.

Maintainer cc'ed.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to