[Scipy-tickets] [SciPy] #490: weave.test(5) failures

SciPy scipy-tickets@scipy....
Mon Aug 27 15:10:50 CDT 2007


#490: weave.test(5) failures
-------------------------+--------------------------------------------------
 Reporter:  eric         |       Owner:  eric
     Type:  defect       |      Status:  new 
 Priority:  high         |   Milestone:  0.6 
Component:  scipy.weave  |     Version:      
 Severity:  major        |    Keywords:      
-------------------------+--------------------------------------------------
 Several level=5 tests are failing for weave.  After a cursory look, I
 don't believe this affects any "main-line" usage of weave, but I would
 like to try and knock them out before the release.

 {{{

 ======================================================================
 ERROR: check_string_add_speed (test_scxx_sequence.test_list)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/tests/test_scxx_sequence.py",
 line 405, in check_string_add_speed
     inline_tools.inline(code,['a','b'])
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/inline_tools.py",
 line 339, in inline
     **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/inline_tools.py",
 line 447, in compile_function
     verbose=verbose, **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/ext_tools.py",
 line 365, in compile
     verbose = verbose, **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/build_tools.py",
 line 269, in build_extension
     setup(name = module_name, ext_modules = [ext],verbose=verb)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/numpy-1.0.4.dev4015-py2.5-linux-x86_64.egg/numpy/distutils/core.py",
 line 176, in setup
     return old_setup(**new_attr)
   File "/usr/local/lib/python2.5/distutils/core.py", line 168, in setup
     raise SystemExit, "error: " + str(msg)
 CompileError: error: Command "g++ -pthread -fno-strict-aliasing -DNDEBUG
 -g -O3 -Wall -fPIC -I/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave
 -I/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/scxx
 -I/home/eric/scipy_test/lib/python2.5/site-
 packages/numpy-1.0.4.dev4015-py2.5-linux-x86_64.egg/numpy/core/include
 -I/usr/local/include/python2.5 -c
 /home/eric/.python25_compiled/sc_30bcdfe77c16ba01711b3f9b4f2d38df0.cpp -o
 /tmp/eric/python25_intermediate/compiler_4e3d2016f8a0b6cb4ea15bde8ce0a17c/home/eric/.python25_compiled/sc_30bcdfe77c16ba01711b3f9b4f2d38df0.o"
 failed with exit status 1

 ======================================================================
 ERROR: check_false (test_scxx_object.test_object_is_true)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/tests/test_scxx_object.py",
 line 656, in check_false
     res = inline_tools.inline('return_val = a.not();',['a'])
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/inline_tools.py",
 line 339, in inline
     **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/inline_tools.py",
 line 447, in compile_function
     verbose=verbose, **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/ext_tools.py",
 line 365, in compile
     verbose = verbose, **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/build_tools.py",
 line 269, in build_extension
     setup(name = module_name, ext_modules = [ext],verbose=verb)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/numpy-1.0.4.dev4015-py2.5-linux-x86_64.egg/numpy/distutils/core.py",
 line 176, in setup
     return old_setup(**new_attr)
   File "/usr/local/lib/python2.5/distutils/core.py", line 168, in setup
     raise SystemExit, "error: " + str(msg)
 CompileError: error: Command "g++ -pthread -fno-strict-aliasing -DNDEBUG
 -g -O3 -Wall -fPIC -I/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave
 -I/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/scxx
 -I/home/eric/scipy_test/lib/python2.5/site-
 packages/numpy-1.0.4.dev4015-py2.5-linux-x86_64.egg/numpy/core/include
 -I/usr/local/include/python2.5 -c
 /home/eric/.python25_compiled/sc_59d6632d9aa817d143793325d95caafc0.cpp -o
 /tmp/eric/python25_intermediate/compiler_4e3d2016f8a0b6cb4ea15bde8ce0a17c/home/eric/.python25_compiled/sc_59d6632d9aa817d143793325d95caafc0.o"
 failed with exit status 1

 ======================================================================
 ERROR: check_true (test_scxx_object.test_object_is_true)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/tests/test_scxx_object.py",
 line 660, in check_true
     res = inline_tools.inline('return_val = a.not();',['a'])
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/inline_tools.py",
 line 339, in inline
     **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/inline_tools.py",
 line 447, in compile_function
     verbose=verbose, **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/ext_tools.py",
 line 365, in compile
     verbose = verbose, **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/build_tools.py",
 line 269, in build_extension
     setup(name = module_name, ext_modules = [ext],verbose=verb)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/numpy-1.0.4.dev4015-py2.5-linux-x86_64.egg/numpy/distutils/core.py",
 line 176, in setup
     return old_setup(**new_attr)
   File "/usr/local/lib/python2.5/distutils/core.py", line 168, in setup
     raise SystemExit, "error: " + str(msg)
 CompileError: error: Command "g++ -pthread -fno-strict-aliasing -DNDEBUG
 -g -O3 -Wall -fPIC -I/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave
 -I/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/scxx
 -I/home/eric/scipy_test/lib/python2.5/site-
 packages/numpy-1.0.4.dev4015-py2.5-linux-x86_64.egg/numpy/core/include
 -I/usr/local/include/python2.5 -c
 /home/eric/.python25_compiled/sc_59d6632d9aa817d143793325d95caafc1.cpp -o
 /tmp/eric/python25_intermediate/compiler_4e3d2016f8a0b6cb4ea15bde8ce0a17c/home/eric/.python25_compiled/sc_59d6632d9aa817d143793325d95caafc1.o"
 failed with exit status 1

 ======================================================================
 ERROR: check_set_from_member
 (test_scxx_object.test_object_set_item_op_key)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/tests/test_scxx_object.py",
 line 817, in check_set_from_member
     inline_tools.inline('a["first"] = a["second"];',['a'])
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/inline_tools.py",
 line 339, in inline
     **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/inline_tools.py",
 line 447, in compile_function
     verbose=verbose, **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/ext_tools.py",
 line 365, in compile
     verbose = verbose, **kw)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/build_tools.py",
 line 269, in build_extension
     setup(name = module_name, ext_modules = [ext],verbose=verb)
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/numpy-1.0.4.dev4015-py2.5-linux-x86_64.egg/numpy/distutils/core.py",
 line 176, in setup
     return old_setup(**new_attr)
   File "/usr/local/lib/python2.5/distutils/core.py", line 168, in setup
     raise SystemExit, "error: " + str(msg)
 CompileError: error: Command "g++ -pthread -fno-strict-aliasing -DNDEBUG
 -g -O3 -Wall -fPIC -I/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave
 -I/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/scxx
 -I/home/eric/scipy_test/lib/python2.5/site-
 packages/numpy-1.0.4.dev4015-py2.5-linux-x86_64.egg/numpy/core/include
 -I/usr/local/include/python2.5 -c
 /home/eric/.python25_compiled/sc_a35665b241c24d6c9d3fd21e957285660.cpp -o
 /tmp/eric/python25_intermediate/compiler_4e3d2016f8a0b6cb4ea15bde8ce0a17c/home/eric/.python25_compiled/sc_a35665b241c24d6c9d3fd21e957285660.o"
 failed with exit status 1

 ======================================================================
 FAIL: check_noargs (test_scxx_object.test_object_call)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/tests/test_scxx_object.py",
 line 485, in check_noargs
     assert sys.getrefcount(res) == 2
 AssertionError

 ======================================================================
 FAIL: check_set_complex (test_scxx_object.test_object_set_item_op_key)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/eric/scipy_test/lib/python2.5/site-
 packages/scipy-0.6.dev0.6.dev3267-py2.5-linux-x86_64.egg/scipy/weave/tests/test_scxx_object.py",
 line 786, in check_set_complex
     assert sys.getrefcount(key) == 3
 AssertionError

 ----------------------------------------------------------------------
 Ran 369 tests in 140.724s

 FAILED (failures=2, errors=4)
 }}}

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


More information about the Scipy-tickets mailing list