Problem with pyrex 0.9.6 and bzr
Panagiotis Papadakos
papadako at csd.uoc.gr
Wed Oct 10 14:54:33 BST 2007
Hi!
I upgraded to pyrex 0.9.6 and since then I get the following error during
install:
Traceback (most recent call last):
File "setup.py", line 336, in <module>
setup(**ARGS)
File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "/usr/lib/python2.5/distutils/command/install.py", line 506, in run
self.run_command('build')
File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "setup.py", line 140, in run
build.run(self)
File "/usr/lib/python2.5/distutils/command/build.py", line 112, in run
self.run_command(cmd_name)
File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "setup.py", line 176, in run
build_ext.run(self)
File "/usr/lib/python2.5/distutils/command/build_ext.py", line 290, in
run
self.build_extensions()
File "/usr/lib/python2.5/site-packages/Pyrex/Distutils/build_ext.py",
line 81, in build_extensions
ext.sources = self.pyrex_sources(ext.sources, ext)
File "/usr/lib/python2.5/site-packages/Pyrex/Distutils/build_ext.py",
line 152, in pyrex_sources
if not self.inplace and (self.pyrex_c_in_temp or
extension.pyrex_c_in_temp):
AttributeError: Extension instance has no attribute 'pyrex_c_in_temp
Previously during make I got the following warnings:
gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=i486 -mtune=i686
-fPIC -I/usr/include/python2.5 -c bzrlib/_dirstate_helpers_c.c -o
build/temp.linux-i686-2.5/bzrlib/_dirstate_helpers_c.o
bzrlib/_dirstate_helpers_c.c: In function '__Pyx_Raise':
bzrlib/_dirstate_helpers_c.c:2282: warning: passing argument 1 of
'PyType_IsSubtype' from incompatible pointer type
bzrlib/_dirstate_helpers_c.c:2282: warning: passing argument 2 of
'PyType_IsSubtype' from incompatible pointer type
gcc -pthread -shared
build/temp.linux-i686-2.5/bzrlib/_dirstate_helpers_c.o -L/usr/lib
-lpython2.5 -o bzrlib/_dirstate_helpers_c.so
pyrexing bzrlib/_knit_load_data_c.pyx to bzrlib/_knit_load_data_c.c
/root/BZR/bzr/bzrlib/_knit_load_data_c.pyx:89:4: Warning: __new__ method
of extension type will change semantics in a future version of Pyrex. Use
__cinit__ instead.
building 'bzrlib._knit_load_data_c' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=i486 -mtune=i686
-fPIC -I/usr/include/python2.5 -c bzrlib/_knit_load_data_c.c -o
build/temp.linux-i686-2.5/bzrlib/_knit_load_data_c.o
bzrlib/_knit_load_data_c.c: In function '__Pyx_Raise':
bzrlib/_knit_load_data_c.c:1293: warning: passing argument 1 of
'PyType_IsSubtype' from incompatible pointer type
bzrlib/_knit_load_data_c.c:1293: warning: passing argument 2 of
'PyType_IsSubtype' from incompatible pointer type
Regards
Panagiotis Papadakos
More information about the bazaar
mailing list