[NumPy-Tickets] [NumPy] #1642: Undefined symbols when trying to build 1.5.1rc1
NumPy Trac
numpy-tickets@scipy....
Wed Oct 20 04:12:25 CDT 2010
#1642: Undefined symbols when trying to build 1.5.1rc1
-----------------------------+----------------------------------------------
Reporter: opk | Owner: cdavid
Type: defect | Status: new
Priority: normal | Milestone: 1.5.1
Component: numpy.distutils | Version: devel
Keywords: |
-----------------------------+----------------------------------------------
Changes (by opk):
* status: needs_info => new
Comment:
This particular configtest has the outward appearance of being broken
rather than of failing so I was assuming the build had failed. Autoconf
manages to handle failing tests in a rather less alarming way, printing
just yes or no, so if this is just a no it'd be nice if it looked less
fatal. It seems numpy may have gone on to build fully. I just tried to
install it and run the tests. (Is there a way to run the test cases from
the build directory without first installing?)
From the test cases I get one failure and some warnings. The warnings are:
Warning: overflow encountered in ldexp
Warning: invalid value encountered in power
The failure is:
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/csw/lib/python/site-packages/numpy/testing/decorators.py",
line 215, in knownfailer
return f(*args, **kwargs)
File "/opt/csw/lib/python/site-
packages/numpy/core/tests/test_umath_complex.py", line 173, in
test_special_values
assert_almost_equal(np.log(x), y)
File "/opt/csw/lib/python/site-packages/numpy/testing/utils.py", line
443, in assert_almost_equal
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal
ACTUAL: array([-inf+0.j])
DESIRED: (-inf+3.1415926535897931j)
config tests failing are:
cc: _configtest.c
"_configtest.c", line 1: cannot find include file: <endian.h>
"_configtest.c", line 3: warning: empty translation unit
cc: acomp failed for _configtest.c
cc: _configtest.c
"_configtest.c", line 5: zero or negative subscript
cc: acomp failed for _configtest.c
cc: _configtest.c
"_configtest.c", line 7: undefined symbol: SIZEOF_LONGDOUBLE
cc: acomp failed for _configtest.c
cc: _configtest.c
"_configtest.c", line 8: undefined symbol: HAVE_DECL_SIGNBIT
cc: acomp failed for _configtest.c
cc: _configtest.c
"_configtest.c", line 5: warning: tokens ignored at end of directive line
"_configtest.c", line 6: undefined symbol: die
"_configtest.c", line 6: syntax error before or at: in
cc: acomp failed for _configtest.c
Thanks
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1642#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list