Bug 1612139

Summary: python-astropy: FTBFS on s390x due to numpy issue
Product: [Fedora] Fedora Reporter: Christian Dersch <lupinix.fedora>
Component: python-astropyAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, orion, sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Fixed In Version: numpy-1.15.0-2.fc29, python-astropy-3.0.4-2.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-13 23:49:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1610996    
Bug Blocks: 485231    

Description Christian Dersch 2018-08-03 14:55:57 UTC
python-astropy builds fail on s390x due to a numpy issue (#1610996), error message in build.log:

Traceback (most recent call last):
  File "/usr/lib64/python3.7/site-packages/numpy/core/__init__.py", line 16, in <module>
    from . import multiarray
ImportError: /usr/lib64/python3.7/site-packages/numpy/core/multiarray.cpython-37m-s390x-linux-gnu.so: undefined symbol: LogBase2_128
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "setup.py", line 128, in <module>
  File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup
  File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands
  File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command
  File "/usr/lib64/python3.7/distutils/command/build.py", line 135, in run
  File "/usr/lib64/python3.7/distutils/cmd.py", line 313, in run_command
  File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command
  File "/builddir/build/BUILD/astropy-3.0.3/astropy_helpers/astropy_helpers/setup_helpers.py", line 242, in run
  File "/builddir/build/BUILD/astropy-3.0.3/astropy_helpers/astropy_helpers/commands/build_ext.py", line 292, in run
    np_include = get_numpy_include_path()
  File "/builddir/build/BUILD/astropy-3.0.3/astropy_helpers/astropy_helpers/utils.py", line 72, in get_numpy_include_path
    import numpy
  File "/usr/lib64/python3.7/site-packages/numpy/__init__.py", line 142, in <module>
    from . import add_newdocs
  File "/usr/lib64/python3.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "/usr/lib64/python3.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
    from .type_check import *
  File "/usr/lib64/python3.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
    import numpy.core.numeric as _nx
  File "/usr/lib64/python3.7/site-packages/numpy/core/__init__.py", line 26, in <module>
    raise ImportError(msg)
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.

Comment 1 Miro Hrončok 2018-08-13 23:49:44 UTC
https://koji.fedoraproject.org/koji/taskinfo?taskID=29056786 is running and should be OK. reopen if it isn't.