When trying to (re)emerge glewpy-0.7.4 with pyrex-0.9.6.3, I get the following error: running build running build_py creating build creating build/lib.linux-i686-2.4 creating build/lib.linux-i686-2.4/glew copying src/__init__.py -> build/lib.linux-i686-2.4/glew creating build/lib.linux-i686-2.4/glew/gl copying src/gl/__init__.py -> build/lib.linux-i686-2.4/glew/gl creating build/lib.linux-i686-2.4/glew/glx copying src/glx/__init__.py -> build/lib.linux-i686-2.4/glew/glx creating build/lib.linux-i686-2.4/glew/wgl copying src/wgl/__init__.py -> build/lib.linux-i686-2.4/glew/wgl running build_ext pyrexc src/glew.pyx --> src/glew.c /var/tmp/portage/dev-python/glewpy-0.7.4/work/glewpy-0.7.4/src/glew.pyx:32:25: Cannot convert 'glew.GLbyte *' to Python object /var/tmp/portage/dev-python/glewpy-0.7.4/work/glewpy-0.7.4/src/glew.pyx:38:30: Cannot convert 'glew.GLbyte *' to Python object building 'glew' extension Traceback (most recent call last): File "setup.py", line 40, in ? cmdclass = {'build_ext': build_ext} File "/usr/lib/python2.4/distutils/core.py", line 149, in setup dist.run_commands() File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands self.run_command(cmd) File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "/usr/lib/python2.4/distutils/command/build.py", line 112, in run self.run_command(cmd_name) File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "/usr/lib/python2.4/distutils/command/build_ext.py", line 279, in run self.build_extensions() File "/usr/lib/python2.4/site-packages/Pyrex/Distutils/build_ext.py", line 82, in build_extensions self.build_extension(ext) File "/usr/lib/python2.4/distutils/command/build_ext.py", line 470, in build_extension depends=ext.depends) File "/usr/lib/python2.4/distutils/ccompiler.py", line 691, in compile depends, extra_postargs) File "/usr/lib/python2.4/distutils/ccompiler.py", line 372, in _setup_compile output_dir=outdir) File "/usr/lib/python2.4/distutils/ccompiler.py", line 982, in object_filenames for src_name in source_filenames: TypeError: iteration over non-sequence Works fine with pyrex-0.9.5.1a, though.
This version of pyrex also breaks building bzr: running build_ext building 'bzrlib._dirstate_helpers_c' extension Traceback (most recent call last): File "setup.py", line 337, in ? setup(**ARGS) File "/usr/lib/python2.4/distutils/core.py", line 149, in setup dist.run_commands() File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands self.run_command(cmd) File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "setup.py", line 141, in run build.run(self) File "/usr/lib/python2.4/distutils/command/build.py", line 112, in run self.run_command(cmd_name) File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "setup.py", line 177, in run build_ext.run(self) File "/usr/lib/python2.4/distutils/command/build_ext.py", line 279, in run self.build_extensions() File "/usr/lib/python2.4/site-packages/Pyrex/Distutils/build_ext.py", line 82, in build_extensions self.build_extension(ext) File "setup.py", line 185, in build_extension build_ext.build_extension(self, ext) File "/usr/lib/python2.4/distutils/command/build_ext.py", line 470, in build_extension depends=ext.depends) File "/usr/lib/python2.4/distutils/ccompiler.py", line 691, in compile depends, extra_postargs) File "/usr/lib/python2.4/distutils/ccompiler.py", line 372, in _setup_compile output_dir=outdir) File "/usr/lib/python2.4/distutils/ccompiler.py", line 982, in object_filenames for src_name in source_filenames: TypeError: iteration over non-sequence Again, pyrex 0.9.5.1a worked fine.
*** Bug 199196 has been marked as a duplicate of this bug. ***
pyrex-0.9.6.4 should fix this, thanks for reporting.
I still get the error with pyrex-0.9.6.4. Do I have to rebuild something before trying to build glewpy-0.7.4?
*** Bug 204825 has been marked as a duplicate of this bug. ***
Reopen.
creating build/temp.linux-x86_64-2.5 creating build/temp.linux-x86_64-2.5/src x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O2 -pipe -fPIC -I/usr/include/python2.5 -c src/glew.c -o build/temp.linux-x86_64-2.5/src/glew.o src/glew.c:1:2: error: #error Do not use this file, it is the result of a failed Pyrex compilation. error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 * * ERROR: dev-python/glewpy-0.7.4 failed. same thing I guess :)
Created attachment 151929 [details] glewpy-0.7.4-x86_64-emergeinfo_buildlog I'm going to open a separate bug report. Because I have the latest version of pyrex installed, and this still crashes. Shingoshi
*** Bug 220371 has been marked as a duplicate of this bug. ***
*** Bug 227703 has been marked as a duplicate of this bug. ***
Hello, dev-python/glewpy last update from upstream was 3 years ago (Apr 2006). This bug has been reported on other places[1] as well, and they are not fixing it as upstream seems not to have much interest in doing it. So I suggest we wipe this package out. We have PyOpenGL!!.. Best regards. PD: I'm closing this bug. Please reopen as needed. [1]http://trac.macports.org/ticket/18066
Hello, dev-python/glewpy is now masked for removal in 30 days. Best regards,