Community Packages

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#12869 - [python-numpy] system_info.py sets wrong lib dir for x11 on x86_64

Attached to Project: Community Packages
Opened by Maik Beckmann (Salamander1978) - Tuesday, 20 January 2009, 21:22 GMT
Last edited by Angel Velasquez (angvp) - Monday, 16 February 2009, 04:50 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Angel Velasquez (angvp)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
/usr/lib/python2.6/site-packages/numpy/distutils/system_info.py:153-154
if bit64:
default_x11_lib_dirs = ['/usr/lib64']
but we want
if bit64:
default_x11_lib_dirs = ['/usr/lib']
since arch isn't mutlib.

This bug causes
from numpy.distutils.system_info import *
get_info('x11')
to return
{}
rather than
{'include_dirs': ['/usr/include'],
'libraries': ['X11'],
'library_dirs': ['/usr/lib']}


Additional info:
* package version: 1.2.1-3

This task depends upon

Closed by  Angel Velasquez (angvp)
Monday, 16 February 2009, 04:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  I did a patch before python-numpy were moved to extra
Comment by Maik Beckmann (Salamander1978) - Tuesday, 20 January 2009, 21:29 GMT
Argh! Mantis removed leading whitespace, so the formatting is gone...
Comment by Angel Velasquez (angvp) - Sunday, 25 January 2009, 19:37 GMT
I did a patch, I will be posting soon, I am testing it right now, if this patch works, the problem will be solved, thanks for report this bug.
Comment by Maik Beckmann (Salamander1978) - Monday, 26 January 2009, 16:26 GMT
Thank you for taking care!
Comment by Greg (dolby) - Sunday, 15 February 2009, 16:23 GMT
This is in extra now. Is it still a problem?
Comment by Maik Beckmann (Salamander1978) - Sunday, 15 February 2009, 17:42 GMT
No, patch-lib64.patch in extra/python-numpy fixed it.

Loading...