[Numpy-discussion] numpy-1.6.2: python setup.py build bdist_rpm fails

Ed Sexton sextonhadoop at gmail.com
Fri Oct 5 16:45:10 EDT 2012


Hello Numpy Group-

I have a working installation of Numpy-1.6.2 on a RHEL 6.3 host, now I have
to create an RPM to push out to 600+ hosts.

1.  I cannot get the RPM build command to work, error listed below.

2.  Another issue, how do you pass --fcompiler=gnu95 to bdlist_rpm?  I have
everything compiled under fcompiler.

# python setup.py build_bdist

Tail of the error:

<snip><snip><snip><snip>
<snip><snip><snip><snip>
RPM build errors:
    File listed twice:
/usr/lib64/python2.6/site-packages/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c
    File listed twice:
/usr/lib64/python2.6/site-packages/numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap
    File listed twice:
/usr/lib64/python2.6/site-packages/numpy/f2py/tests/src/assumed_shape/foo_free.f90
    File listed twice:
/usr/lib64/python2.6/site-packages/numpy/f2py/tests/src/assumed_shape/foo_mod.f90
    File listed twice:
/usr/lib64/python2.6/site-packages/numpy/f2py/tests/src/assumed_shape/foo_use.f90
    File listed twice:
/usr/lib64/python2.6/site-packages/numpy/f2py/tests/src/assumed_shape/precision.f90
    File listed twice:
/usr/lib64/python2.6/site-packages/numpy/f2py/tests/src/kind/foo.f90
    File listed twice:
/usr/lib64/python2.6/site-packages/numpy/f2py/tests/src/mixed/foo.f
    File listed twice:
/usr/lib64/python2.6/site-packages/numpy/f2py/tests/src/mixed/foo_fixed.f90
    File listed twice:
/usr/lib64/python2.6/site-packages/numpy/f2py/tests/src/mixed/foo_free.f90
    File listed twice:
/usr/lib64/python2.6/site-packages/numpy/f2py/tests/src/size/foo.f90
    Installed (but unpackaged) file(s) found:
<snip><snip><snip><snip>
<snip><snip><snip><snip>
   /usr/lib64/python2.6/site-packages/numpy/tests/test_matlib.pyc
   /usr/lib64/python2.6/site-packages/numpy/tests/test_matlib.pyo
error: command 'rpmbuild' failed with exit status 1

Full Error on Pastebin:
http://paste.ubuntu.com/1262671/


Thanks for your ideas/suggestions.

Sincerely,
Ed



-- 
Sincerely,
Ed Sexton
e: sextonhadoop at gmail.com
gv: (408) 475-2358
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20121005/c28c1349/attachment.html>


More information about the NumPy-Discussion mailing list