Bug 560086

Summary: Problems building against numpy in koji
Product: [Fedora] Fedora Reporter: Jeremy Sanders <jeremy>
Component: numpyAssignee: Gwyn Ciesla <gwync>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: caolanm, christoph.wickert, gwync, jspaleta, rdieter, williams
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-08 11:28:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeremy Sanders 2010-01-29 19:49:21 UTC
Description of problem:
I'm trying to update Veusz in development to the latest version. It has a build dependency on numpy. It's failing on building. It appears there is a problem with the numpy installation in the mock environment, so I'm guessing this is a numpy issue:

+ /usr/bin/python setup.py build
Traceback (most recent call last):
  File "setup.py", line 29, in <module>
    import numpy
  File "/usr/lib/python2.6/site-packages/numpy/__init__.py", line 132, in <module>
    import add_newdocs
  File "/usr/lib/python2.6/site-packages/numpy/add_newdocs.py", line 9, in <module>
    from lib import add_newdoc
  File "/usr/lib/python2.6/site-packages/numpy/lib/__init__.py", line 13, in <module>
    from polynomial import *
  File "/usr/lib/python2.6/site-packages/numpy/lib/polynomial.py", line 17, in <module>
    from numpy.linalg import eigvals, lstsq
  File "/usr/lib/python2.6/site-packages/numpy/linalg/__init__.py", line 47, in <module>
    from linalg import *
  File "/usr/lib/python2.6/site-packages/numpy/linalg/linalg.py", line 22, in <module>
    from numpy.linalg import lapack_lite
ImportError: /usr/lib/python2.6/site-packages/numpy/linalg/lapack_lite.so: undefined symbol: zgesdd_
error: Bad exit status from /var/tmp/rpm-tmp.SSDsoH (%build)

See http://koji.fedoraproject.org/koji/getfile?taskID=1952416&name=build.log
and http://koji.fedoraproject.org/koji/getfile?taskID=1952415&name=build.log


Version-Release number of selected component (if applicable):
numpy-1.4.0-1.fc13

Comment 1 Christoph Wickert 2010-01-29 20:04:53 UTC
Same here: http://koji.fedoraproject.org/koji/taskinfo?taskID=1952486

Comment 2 Christoph Wickert 2010-01-29 20:07:53 UTC
Sorry, wrong URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=1952443

Comment 3 Gwyn Ciesla 2010-02-01 19:03:25 UTC
Hmm.  I can build veusz on F-12 with numpy 1.3.0, and also with numpy 1.4.0, so it's not numpy per se, though it could be packaging issue.  I'll dig deeper. . .

Comment 4 Gwyn Ciesla 2010-02-01 19:22:11 UTC
Looks to me like mock's not pulling in lapack for some reason.  My F-12 mock against rawhide replicates koji's behaviour.  rpm -q --requires of my locally built numpy-1.4.0 indicates that it requires liblapack.so.3, as it should.  KOji: http://koji.fedoraproject.org/koji/rpminfo?rpmID=1782042

says the rawhide one does too.

CCing someone who probably knows more about mock than I do.

Comment 5 Caolan McNamara 2010-02-08 11:28:33 UTC

*** This bug has been marked as a duplicate of bug 562577 ***