Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37764 - [python2-opengl] sed after installation causes .pyc load failure

Attached to Project: Arch Linux
Opened by Felix Yan (felixonmars) - Thursday, 14 November 2013, 14:37 GMT
Last edited by Felix Yan (felixonmars) - Sunday, 19 January 2014, 04:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
PKGBUILD has sed -i lines after setup.py install, which makes corresponding .py files having greater mtime than .pyc/pyo, which causes those precompiled bytecode fail to load.

I've attached a patch to move corresponding parts into prepare().

Additional info:
* package version(s)
python2-opengl 3.0.2-4

Steps to reproduce:
$ python2 -v -c 'import OpenGL.Tk' 2>&1 | grep bad
# /usr/lib/python2.7/site-packages/OpenGL/Tk/__init__.pyc has bad mtime
This task depends upon

Closed by  Felix Yan (felixonmars)
Sunday, 19 January 2014, 04:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.0.2-5
Comment by Jelle van der Waa (jelly) - Friday, 15 November 2013, 09:31 GMT
Assigned to last packager

Loading...