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#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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
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-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

Closed by  Jan de Groot (JGC)
Tuesday, 19 November 2013, 10:55 GMT
Reason for closing:  Fixed

Loading...