Summary: | dev-python/numpy-9999 - Failed Patch: numpy-1.9.2-no-hardcode-blas.patch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | numpy-1.9.2-no-hardcode-blas.patch.out |
Description
Martin Mokrejš
2018-02-08 22:46:27 UTC
Created attachment 518712 [details]
numpy-1.9.2-no-hardcode-blas.patch.out
$ cat numpy/distutils/system_info.py.rej --- numpy/distutils/system_info.py +++ numpy/distutils/system_info.py @@ -303,26 +303,7 @@ def get_info(name, notfound_action=0): 1 - display warning message 2 - raise error """ - cl = {'atlas': atlas_info, # use lapack_opt or blas_opt instead - 'atlas_threads': atlas_threads_info, # ditto - 'atlas_blas': atlas_blas_info, - 'atlas_blas_threads': atlas_blas_threads_info, - 'lapack_atlas': lapack_atlas_info, # use lapack_opt instead - 'lapack_atlas_threads': lapack_atlas_threads_info, # ditto - 'atlas_3_10': atlas_3_10_info, # use lapack_opt or blas_opt instead - 'atlas_3_10_threads': atlas_3_10_threads_info, # ditto - 'atlas_3_10_blas': atlas_3_10_blas_info, - 'atlas_3_10_blas_threads': atlas_3_10_blas_threads_info, - 'lapack_atlas_3_10': lapack_atlas_3_10_info, # use lapack_opt instead - 'lapack_atlas_3_10_threads': lapack_atlas_3_10_threads_info, # ditto - 'mkl': mkl_info, - # openblas which may or may not have embedded lapack - 'openblas': openblas_info, # use blas_opt instead - # openblas with embedded lapack - 'openblas_lapack': openblas_lapack_info, # use blas_opt instead - 'lapack_mkl': lapack_mkl_info, # use lapack_opt instead - 'blas_mkl': blas_mkl_info, # use blas_opt instead - 'x11': x11_info, + cl = {'x11': x11_info, 'fft_opt': fft_opt_info, 'fftw': fftw_info, 'fftw2': fftw2_info, $ This ebuild has more problems:
>>> Compiling source in /var/tmp/portage/dev-python/numpy-9999/work/numpy-9999 ...
* python2_7: running distutils-r1_run_phase python_compile
python2.7 setup.py build -j 1
Traceback (most recent call last):
File "setup.py", line 31, in <module>
raise RuntimeError("Python version >= 3.5 required.")
python3.6 setup.py build -j 1
Processing numpy/random/mtrand/randint_helpers.pxi.in
Processing numpy/random/mtrand/mtrand.pyx
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/numpy-9999/work/numpy-9999-python3_6/tools/cythonize.py", line 61, in process_pyx
from Cython.Compiler.Version import version as cython_version
ModuleNotFoundError: No module named 'Cython'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/numpy-9999/work/numpy-9999-python3_6/tools/cythonize.py", line 67, in process_pyx
['cython'] + flags + ["-o", tofile, fromfile])
File "/usr/lib/python3.6/subprocess.py", line 286, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python3.6/subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cython': 'cython'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/numpy-9999/work/numpy-9999-python3_6/tools/cythonize.py", line 224, in <module>
main()
File "/var/tmp/portage/dev-python/numpy-9999/work/numpy-9999-python3_6/tools/cythonize.py", line 220, in main
find_process_files(root_dir)
File "/var/tmp/portage/dev-python/numpy-9999/work/numpy-9999-python3_6/tools/cythonize.py", line 212, in find_process_files
process(cur_dir, fromfile, tofile, function, hash_db)
File "/var/tmp/portage/dev-python/numpy-9999/work/numpy-9999-python3_6/tools/cythonize.py", line 171, in process
processor_function(fromfile, tofile)
File "/var/tmp/portage/dev-python/numpy-9999/work/numpy-9999-python3_6/tools/cythonize.py", line 69, in process_pyx
raise OSError('Cython needs to be installed')
OSError: Cython needs to be installed
Running from numpy source directory.
Cythonizing sources
Traceback (most recent call last):
File "setup.py", line 409, in <module>
setup_package()
File "setup.py", line 392, in setup_package
generate_cython()
File "setup.py", line 205, in generate_cython
raise RuntimeError("Running cythonize failed!")
RuntimeError: Running cythonize failed!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a58f0a1115c689cbde65388efc97cbe74cb147b commit 4a58f0a1115c689cbde65388efc97cbe74cb147b Author: Rolf Eike Beer <eike@sf-mail.de> AuthorDate: 2019-01-01 13:44:56 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-01-02 10:30:25 +0000 dev-python/numpy-9999: fix python requirement Bug: https://bugs.gentoo.org/647072 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-python/numpy/numpy-9999.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c71a4aa9615c8c14caa8e7076519ab2a4b9824 commit f5c71a4aa9615c8c14caa8e7076519ab2a4b9824 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2019-06-23 12:46:21 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2019-06-23 12:47:37 +0000 dev-python/numpy: fix cblas detection. Drop old ebuilds versionator eclass. Drop live ebuild. It has not been taken care of since numpy-1.9. Suggested-By: Zongyu Zhang <zzy2529420793@gmail.com> Closes: https://bugs.gentoo.org/647072 Closes: https://bugs.gentoo.org/688392 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Benda Xu <heroxbd@gentoo.org> dev-python/numpy/Manifest | 16 -- .../files/numpy-1.10.2-no-hardcode-blas.patch | 64 -------- .../files/numpy-1.12.1-no-hardcode-blas.patch | 72 --------- .../numpy/files/numpy-1.8.0-no-hardcode-blas.patch | 25 --- .../numpy/files/numpy-1.9.2-no-hardcode-blas.patch | 35 ----- dev-python/numpy/numpy-1.10.4.ebuild | 154 ------------------- dev-python/numpy/numpy-1.13.3.ebuild | 167 --------------------- dev-python/numpy/numpy-1.14.5.ebuild | 3 +- dev-python/numpy/numpy-1.15.4.ebuild | 3 +- dev-python/numpy/numpy-1.16.1.ebuild | 3 +- dev-python/numpy/numpy-1.8.2.ebuild | 145 ------------------ dev-python/numpy/numpy-1.9.2.ebuild | 146 ------------------ dev-python/numpy/numpy-9999.ebuild | 134 ----------------- 13 files changed, 6 insertions(+), 961 deletions(-) |