Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81217 - emerge dev-python/pyopengl fails in src_unpack
Summary: emerge dev-python/pyopengl fails in src_unpack
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-08 03:27 UTC by Tom Payne (RETIRED)
Modified: 2005-02-08 04:08 UTC (History)
0 users

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


Attachments
pyopengl-sed.patch (pyopengl-sed.patch,392 bytes, patch)
2005-02-08 03:32 UTC, Tom Payne (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Payne (RETIRED) gentoo-dev 2005-02-08 03:27:15 UTC
Calculating dependencies ...done!
>>> emerge (1 of 24) dev-python/pyopengl-2.0.1.09 to /
>>> md5 src_uri ;-) PyOpenGL-2.0.1.09.tar.gz
>>> Unpacking source...
>>> Unpacking PyOpenGL-2.0.1.09.tar.gz to /var/tmp/portage/pyopengl-2.0.1.09/work
>>> Source unpacked.
Traceback (most recent call last):
  File "setup.py", line 44, in ?
    from setup.togl_setup import install, build_togl
  File "/var/tmp/portage/pyopengl-2.0.1.09/work/PyOpenGL-2.0.1.09/setup/togl_setup.py", line 89
    os.path.join(/usr/lib/, '..', '..', 'include'),
                 ^
SyntaxError: invalid syntax

!!! ERROR: dev-python/pyopengl-2.0.1.09 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 1
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.



The problem is in the sed patching if tcltk isn't in USE. The attached patch fixes this.
Comment 1 Tom Payne (RETIRED) gentoo-dev 2005-02-08 03:32:29 UTC
Created attachment 50719 [details, diff]
pyopengl-sed.patch
Comment 2 Fernando Serboncini (RETIRED) gentoo-dev 2005-02-08 04:08:38 UTC
My mistake. Fixed in CVS. Thanks for the diff.