Bug 1735674

Summary: Cython: FTBFS in Fedora rawhide (numpy 1.17)
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: CythonAssignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync, igor.raits, mhroncok, ndbecker2, python-sig, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://apps.fedoraproject.org/koschei/package/Cython
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-01 19:21:38 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1700317, 1686977    

Description Miro Hrončok 2019-08-01 08:45:11 UTC
Description of problem:
Package Cython fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
0.29.13-1.fc31

Steps to Reproduce:
koji build --scratch f31 Cython-0.29.13-1.fc31.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/Cython

I believe this is caused by the update of numpy to 1.17.

There is plenty of:

BUILDSTDERR: distutils.errors.DistutilsExecError: Command "gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g /builddir/build/BUILD/cython-0.29.13/TEST_TMP/0/memoryview/c/numpy_memoryview_readonly/numpy_memoryview_readonly.o -L/usr/lib64/python3.7/site-packages/numpy/core/lib -L/usr/lib64 -lnpymath -lm -lpython3.7m -o /builddir/build/BUILD/cython-0.29.13/TEST_TMP/0/memoryview/c/numpy_memoryview_readonly/numpy_memoryview_readonly.cpython-37m-x86_64-linux-gnu.so" failed with exit status 1

in %check

Comment 1 Miro Hrončok 2019-08-01 09:02:21 UTC
Possible fix in https://src.fedoraproject.org/rpms/numpy/pull-request/9