Opened 3 months ago
Closed 3 months ago
#32746 closed defect (fixed)
fedora-{26,27,...,34}-minimal: scipy build fails - openblas not found
Reported by: | mkoeppe | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | sage-9.5 |
Component: | packages: standard | Keywords: | |
Cc: | dimpase, jhpalmieri | Merged in: | |
Authors: | Matthias Koeppe | Reviewers: | John Palmieri |
Report Upstream: | N/A | Work issues: | |
Branch: | 59d7245 (Commits, GitHub, GitLab) | Commit: | 59d7245435b006946504f7c6a84aef42cbe66648 |
Dependencies: | Stopgaps: |
Description (last modified by )
for example, fedora-34-minimal
https://github.com/mkoeppe/sage/runs/3968544625?check_suite_focus=true
Note: CFLAGS, CXXFLAGS and SHAREDFLAGS are taken from distutils, so their current settings are ignored. Installing scipy-1.6.3 Processing /sage/local/var/lib/sage/venv-python3.9.7/var/tmp/sage/build/scipy-1.6.3/src Preparing wheel metadata: started Running command /sage/local/var/lib/sage/venv-python3.9.7/bin/python3 /sage/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpatw3swb6 setup.py:462: UserWarning: Unrecognized setuptools command ('dist_info --egg-base /tmp/pip-modern-metadata-assu7gnc'), proceeding with generating Cython sources and expanding templates warnings.warn("Unrecognized setuptools command ('{}'), proceeding with " Running from SciPy source directory. lapack_opt_info: [...] lapack_info: libraries openblas not found in ['/sage/local/var/lib/sage/venv-python3.9.7/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE /sage/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/numpy/distutils/system_info.py:1858: UserWarning: Lapack (http://www.netlib.org/lapack/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [lapack]) or by setting the LAPACK environment variable. return getattr(self, '_calc_info_{}'.format(name))() lapack_src_info: NOT AVAILABLE /sage/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/numpy/distutils/system_info.py:1858: UserWarning: Lapack (http://www.netlib.org/lapack/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [lapack_src]) or by setting the LAPACK_SRC environment variable. return getattr(self, '_calc_info_{}'.format(name))() NOT AVAILABLE Traceback (most recent call last): File "/sage/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module> main() File "/sage/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/sage/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 151, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) File "/sage/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/setuptools/build_meta.py", line 166, in prepare_metadata_for_build_wheel self.run_setup() File "/sage/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/setuptools/build_meta.py", line 258, in run_setup super(_BuildMetaLegacyBackend, File "/sage/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/setuptools/build_meta.py", line 150, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 598, in <module> setup_package() File "setup.py", line 594, in setup_package setup(**metadata) File "/sage/local/var/lib/sage/venv-python3.9.7/lib/python3.9/site-packages/numpy/distutils/core.py", line 135, in setup config = configuration() File "setup.py", line 500, in configuration raise NotFoundError(msg) numpy.distutils.system_info.NotFoundError: No BLAS/LAPACK libraries found. To build Scipy from sources, BLAS & LAPACK libraries need to be installed. See site.cfg.example in the Scipy source directory and https://docs.scipy.org/doc/scipy/reference/building/index.html for details. Preparing wheel metadata: finished with status 'error'
This is another regression caused by #32442 (./configure
: Make --with-sage-venv=auto
the default).
Change History (10)
comment:1 Changed 3 months ago by
- Priority changed from major to blocker
comment:2 Changed 3 months ago by
- Cc jhpalmieri added
- Description modified (diff)
comment:3 follow-up: ↓ 6 Changed 3 months ago by
comment:4 Changed 3 months ago by
- Branch set to u/mkoeppe/fedora__26_27_____34__minimal__scipy_build_fails___openblas_not_found
comment:5 Changed 3 months ago by
- Commit set to 59d7245435b006946504f7c6a84aef42cbe66648
- Status changed from new to needs_review
New commits:
59d7245 | build/pkgs/numpy/spkg-install.in: Make sure that site.cfg contains the directories of SAGE_LOCAL
|
comment:6 in reply to: ↑ 3 Changed 3 months ago by
Replying to mkoeppe:
To test the fix:
tox -e docker-fedora-34-minimal -- scipy
... tested successfully.
comment:7 Changed 3 months ago by
Let's get this in please
comment:8 Changed 3 months ago by
- Reviewers set to John Palmieri
- Status changed from needs_review to positive_review
It works for me. Looks good.
comment:9 Changed 3 months ago by
Thank you!
comment:10 Changed 3 months ago by
- Branch changed from u/mkoeppe/fedora__26_27_____34__minimal__scipy_build_fails___openblas_not_found to 59d7245435b006946504f7c6a84aef42cbe66648
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
To test the fix:
tox -e docker-fedora-34-minimal -- scipy