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!
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!
FS#37761 - [python2-numpy] sed after installation causes .pyc load failure
Attached to Project:
Arch Linux
Opened by Felix Yan (felixonmars) - Thursday, 14 November 2013, 08:12 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 19 November 2013, 10:55 GMT
Opened by Felix Yan (felixonmars) - Thursday, 14 November 2013, 08:12 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 19 November 2013, 10:55 GMT
|
DetailsDescription:
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-numpy 1.7.1-3 Steps to reproduce: $ python2 -v -c 'import numpy' 2>&1 | grep bad # /usr/lib/python2.7/site-packages/numpy/__init__.pyc has bad mtime ... |
This task depends upon
fix_mtime.patch