When trying to compile fuse-python-0.2 and having =pyrex-0.9.6.4 installed, the compilation fails. This only happens for this exact pyrex version. I'm not sure if this is a pyrex issue - and thus more packages are involved, or a fuse-python issue. I'll investigate this. (This error is really interesting ... as pyrex is not used by fuse-python in any way ...) The error message: building 'fuseparts._fusemodule' extension Traceback (most recent call last): File "setup.py", line 113, in <module> distclass = MyDistribution) 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 "setup.py", line 42, in run_command return Distribution.run_command(self, command) File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() 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 "setup.py", line 42, in run_command return Distribution.run_command(self, command) File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/usr/lib/python2.5/site-packages/setuptools/command/build_ext.py", line 46, 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 82, in build_extensions self.build_extension(ext) File "/usr/lib/python2.5/site-packages/setuptools/command/build_ext.py", line 175, in build_extension _build_ext.build_extension(self,ext) File "/usr/lib/python2.5/distutils/command/build_ext.py", line 453, in build_extension sources = self.swig_sources(sources, ext) File "/usr/lib/python2.5/site-packages/setuptools/command/build_ext.py", line 77, in swig_sources sources = _build_ext.swig_sources(self, sources) or sources File "/usr/lib/python2.5/site-packages/Pyrex/Distutils/build_ext.py", line 87, in swig_sources return _build_ext.build_ext.swig_sources(self, sources, extension) File "/usr/lib/python2.5/distutils/command/build_ext.py", line 537, in swig_sources ('-c++' in extension.swig_opts): AttributeError: 'NoneType' object has no attribute 'swig_opts'
Ok - found the solution (I hope): dev-python/setuptools-0.6_rc7-r1 is the culprit. If this version _and_ pyrex-0.9.6.4 is installed it fails. If setuptools is removed: It works. If pyrex is removed or downgraded: It works. If setuptools is upgraded to 0.6_rc8: It works. And as the changelog for setuptools notes: "Updated Pyrex support to work with Pyrex 0.9.6 and higher." this really seems to be the reason. Now the question is: How to make sure that setuptools-0.6_rc7 and >pyrex-0.9.6 aren't installed together?
(In reply to comment #1) > Now the question is: How to make sure that setuptools-0.6_rc7 and >pyrex-0.9.6 > aren't installed together? > Added a blocker to pyrex-0.6.4 for older setuptools. Thanks for reporting :)