Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198330 - >=dev-python/pyrex-0.9.6.3 breaks dev-python/glewpy-0.7.4
Summary: >=dev-python/pyrex-0.9.6.3 breaks dev-python/glewpy-0.7.4
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 199196 204825 220371 227703 (view as bug list)
Depends on:
Blocks: 208945
  Show dependency tree
 
Reported: 2007-11-07 07:18 UTC by Jouni Rinne
Modified: 2009-05-24 05:48 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
glewpy-0.7.4-x86_64-emergeinfo_buildlog (glewpy-0.7.4-x86_64-emergeinfo_buildlog-2008.05.05_07:29:50,21.46 KB, text/plain)
2008-05-05 14:35 UTC, Xavian-Anderson Macpherson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2007-11-07 07:18:20 UTC
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.
Comment 1 Mark Lee 2007-11-13 20:13:07 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-15 07:36:20 UTC
*** Bug 199196 has been marked as a duplicate of this bug. ***
Comment 3 Ali Polatel (RETIRED) gentoo-dev 2007-12-12 15:30:27 UTC
pyrex-0.9.6.4 should fix this, thanks for reporting.
Comment 4 Christoph Brill (egore) (RESIGNED) 2007-12-14 20:25:47 UTC
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?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-01-07 22:09:25 UTC
*** Bug 204825 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-01-07 22:09:58 UTC
Reopen.
Comment 7 Evil Compile Person 2008-01-16 22:13:14 UTC
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 :)
Comment 8 Xavian-Anderson Macpherson 2008-05-05 14:35:48 UTC
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
Comment 9 Jan Kundrát (RETIRED) gentoo-dev 2008-05-05 15:01:36 UTC
*** Bug 220371 has been marked as a duplicate of this bug. ***
Comment 10 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-18 00:31:56 UTC
*** Bug 227703 has been marked as a duplicate of this bug. ***
Comment 11 Jesus Rivero (RETIRED) gentoo-dev 2009-05-18 15:14:26 UTC
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
Comment 12 Jesus Rivero (RETIRED) gentoo-dev 2009-05-24 05:48:14 UTC
Hello, 
  
    dev-python/glewpy is now masked for removal in 30 days. 

    Best regards,