FS#54225 - [python2-numpy] Rebuild required due to updated libgfortran in gcc-7.1.1

Attached to Project: Arch Linux
Opened by Kartik Mohta (kartikmohta) - Monday, 29 May 2017, 20:58 GMT
Last edited by Antonio Rojas (arojas) - Monday, 29 May 2017, 21:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The new gcc-7.1.1 has changed the so name of libgfortran, so a rebuild of numpy is required.

Steps to reproduce:

$ python2
Python 2.7.13 (default, Feb 11 2017, 12:22:40)
[GCC 6.3.1 20170109] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/numpy/__init__.py", line 142, in <module>
from . import add_newdocs
File "/usr/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/usr/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
from .type_check import *
File "/usr/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "/usr/lib/python2.7/site-packages/numpy/core/__init__.py", line 24, in <module>
raise ImportError(msg)
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control). Otherwise reinstall numpy.

$ ldd /usr/lib/python2.7/site-packages/numpy/core/multiarray.so
linux-vdso.so.1 (0x00007ffe7f3c0000)
libcblas.so => /usr/lib/libcblas.so (0x00007f257358a000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f2573278000)
libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0x00007f2572e8e000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f2572c70000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f25728cb000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00005630767bf000)
libatlas.so => /usr/lib/libatlas.so (0x00007f2572270000)
libblas.so.3 => /usr/lib/libblas.so.3 (0x00007f257204f000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f2571e4b000)
libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f2571c48000)
libgfortran.so.3 => not found

$ ls /usr/lib/libgfortran.s*
/usr/lib/libgfortran.so /usr/lib/libgfortran.so.4 /usr/lib/libgfortran.so.4.0.0
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 29 May 2017, 21:51 GMT
Reason for closing:  Not a bug

Loading...