Skip to content

Installation issue: [email protected] with [email protected] #45718

@climbfuji

Description

@climbfuji

Steps to reproduce the issue

> spack spec py-scipy
Input spec
--------------------------------
 -   py-scipy

Concretized
--------------------------------
 -   [email protected]%[email protected] build_system=python_pip arch=linux-sles15-zen2
[e]      ^[email protected]%[email protected] build_system=autotools arch=linux-sles15-zen2
[+]      ^[email protected]%[email protected]~bignuma~consistent_fpcsr+dynamic_dispatch+fortran~ilp64+locking+noavx512+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-sles15-zen2
[e]          ^[email protected]%[email protected]~guile build_system=generic patches=ca60bd9,fe5b60d arch=linux-sles15-zen2
[e]          ^[email protected]%[email protected]~cpanm+opcode+open+shared+threads build_system=generic patches=0eac10e,8cf4302 arch=linux-sles15-zen2
[e]      ^[email protected]%[email protected]+internal_glib build_system=autotools arch=linux-sles15-zen2
[+]      ^[email protected]%[email protected] build_system=python_pip patches=c4369ad arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected] build_system=generic arch=linux-sles15-zen2
[+]      ^[email protected]%[email protected] build_system=python_pip arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected] build_system=python_pip patches=0f0b1bd arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected] build_system=python_pip arch=linux-sles15-zen2
[+]              ^[email protected]%[email protected] build_system=python_pip arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected] build_system=python_pip arch=linux-sles15-zen2
[+]              ^[email protected]%[email protected] build_system=python_pip arch=linux-sles15-zen2
[+]      ^[email protected]%[email protected] build_system=python_pip patches=873745d arch=linux-sles15-zen2
[+]      ^[email protected]%[email protected] build_system=generic arch=linux-sles15-zen2
[+]      ^[email protected]%[email protected]~ipo build_system=cmake build_type=Release generator=ninja arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected]~doc+ncurses+ownlibs build_system=generic build_type=Release arch=linux-sles15-zen2
[+]              ^[email protected]%[email protected]~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs=shared,static tls=openssl arch=linux-sles15-zen2
[+]                  ^[email protected]%[email protected] build_system=autotools arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected]+re2c build_system=generic arch=linux-sles15-zen2
[+]              ^[email protected]%[email protected]+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,ebdca64,f2fd060 arch=linux-sles15-zen2
[+]                  ^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-sles15-zen2
[e]                      ^[email protected]%[email protected] build_system=autotools zip=pigz arch=linux-sles15-zen2
[+]              ^[email protected]%[email protected] build_system=generic arch=linux-sles15-zen2
[+]      ^[email protected]%[email protected] build_system=python_pip arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected] build_system=python_pip arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected] build_system=python_pip arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected] build_system=python_pip arch=linux-sles15-zen2
[+]      ^[email protected]%[email protected] build_system=generic arch=linux-sles15-zen2
[+]      ^[email protected]%[email protected]+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,ebdca64,f2fd060 arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected]~debug~pic+shared build_system=generic arch=linux-sles15-zen2
[e]              ^[email protected]%[email protected] build_system=autotools arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected]+libbsd build_system=autotools arch=linux-sles15-zen2
[+]              ^[email protected]%[email protected] build_system=autotools arch=linux-sles15-zen2
[+]                  ^[email protected]%[email protected] build_system=autotools arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected] build_system=autotools arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-sles15-zen2
[+]              ^[email protected]%[email protected]+pic~python+shared build_system=autotools arch=linux-sles15-zen2
[e]              ^[email protected]%[email protected] build_system=autotools zip=pigz arch=linux-sles15-zen2
[e]          ^[email protected]%[email protected]~guile build_system=generic patches=ca60bd9,fe5b60d arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected] build_system=autotools arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected]~obsolete_api build_system=autotools patches=4885da3 arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected]~symlinks+termlib abi=none build_system=autotools patches=7a351bc arch=linux-sles15-zen2
[e]              ^[email protected]%[email protected]+internal_glib build_system=autotools arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected]~docs+shared build_system=generic certs=mozilla arch=linux-sles15-zen2
[+]              ^ca-certificates-mozilla@2023-05-30%[email protected] build_system=generic arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected] build_system=autotools patches=bbf97f1 arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected]+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected] build_system=autotools arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected]~pic build_system=autotools libs=shared,static arch=linux-sles15-zen2
[+]          ^[email protected]%[email protected]+compat+new_strategies+opt+pic+shared build_system=autotools arch=linux-sles15-zen2
[+]      ^[email protected]%[email protected] build_system=generic arch=linux-sles15-zen2

Error message

==> [2024-08-13-13:38:50.737448] '/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/python-venv-1.0-6l77gix/bin/python3' '-m' 'pip' '-vvv' '--no-input' '--no-cache-dir' '--disable-pip-version-check' 'install' '--no-deps' '--ignore-installed' '--no-build-isolation' '--no-warn-script-location' '--no-index' '--prefix=/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-scipy-1.12.0-3oltvow' '--config-settings=builddir=build' '--config-settings=compile-args=-j1' '--config-settings=setup-args=-Dblas=openblas' '--config-settings=setup-args=-Dlapack=openblas' '.'
Using pip 23.1.2 from /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip (python 3.10)
Non-user install due to --prefix or --target option
Ignoring indexes: https://pypi.org/simple
Created temporary directory: /p/work1/tmp/heinzell/pip-build-tracker-z6h11y95
Initialized build tracking at /p/work1/tmp/heinzell/pip-build-tracker-z6h11y95
Created build tracker: /p/work1/tmp/heinzell/pip-build-tracker-z6h11y95
Entered build tracker: /p/work1/tmp/heinzell/pip-build-tracker-z6h11y95
Created temporary directory: /p/work1/tmp/heinzell/pip-install-n_g6pzaw
Created temporary directory: /p/work1/tmp/heinzell/pip-ephem-wheel-cache-ijxr2jk8
Processing /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src
  Added file:///p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src to build tracker '/p/work1/tmp/heinzell/pip-build-tracker-z6h11y95'
  Created temporary directory: /p/work1/tmp/heinzell/pip-modern-metadata-lhv6nez0
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  + meson setup /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src/build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dblas=openblas -Dlapack=openblas --native-file=/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src/build/meson-python-native-file.ini
  The Meson build system
  Version: 1.3.2
  Source dir: /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src
  Build dir: /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src/build
  Build type: native build
  Project name: scipy
  Project version: 1.12.0
  C compiler for the host machine: /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/spack/lib/spack/env/aocc/clang (clang 14.0.6 "AMD clang version 14.0.6 (CLANG: AOCC_4.0.0-Build#434 2022_10_28) (based on LLVM Mirror.Version.14.0.6)")
  C linker for the host machine: /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/spack/lib/spack/env/aocc/clang ld.lld 14.0.6
  C++ compiler for the host machine: /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/spack/lib/spack/env/aocc/clang++ (clang 14.0.6 "AMD clang version 14.0.6 (CLANG: AOCC_4.0.0-Build#434 2022_10_28) (based on LLVM Mirror.Version.14.0.6)")
  C++ linker for the host machine: /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/spack/lib/spack/env/aocc/clang++ ld.lld 14.0.6
  Cython compiler for the host machine: cython (cython 0.29.36)
  Host machine cpu family: x86_64
  Host machine cpu: x86_64
  Program python found: YES (/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/python-venv-1.0-6l77gix/bin/python3)
  Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
  Run-time dependency python found: YES 3.10
  Program cython found: YES (/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-cython-0.29.36-3u4kmco/bin/cython)
  Compiler for C supports arguments -Wno-unused-but-set-variable: YES
  Compiler for C supports arguments -Wno-unused-function: YES
  Compiler for C supports arguments -Wno-conversion: YES
  Compiler for C supports arguments -Wno-misleading-indentation: YES
  Library m found: YES

  ../meson.build:80:0: ERROR: Value "legacy" (of type "string") for combo option "Fortran language standard to use" is not one of the choices. Possible choices are (as string): "none".

  A full log can be found at /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src/build/meson-logs/meson-log.txt
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/python-venv-1.0-6l77gix/bin/python3 /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /p/work1/tmp/heinzell/tmpgg95mtgv
  cwd: /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src
  Preparing metadata (pyproject.toml): finished with status 'error'
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Exception information:
Traceback (most recent call last):
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/operations/build/metadata.py", line 35, in generate_metadata
    distinfo_dir = backend.prepare_metadata_for_build_wheel(metadata_dir)
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/utils/misc.py", line 713, in prepare_metadata_for_build_wheel
    return super().prepare_metadata_for_build_wheel(
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 186, in prepare_metadata_for_build_wheel
    return self._call_hook('prepare_metadata_for_build_wheel', {
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 311, in _call_hook
    self._subprocess_runner(
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/utils/subprocess.py", line 252, in runner
    call_subprocess(
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess
    raise error
pip._internal.exceptions.InstallationSubprocessError: Preparing metadata (pyproject.toml) exited with 1

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper
    status = run_func(*args)
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper
    return func(self, options, args)
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 377, in run
    requirement_set = resolver.resolve(
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 73, in resolve
    collected = self.factory.collect_root_requirements(root_reqs)
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 491, in collect_root_requirements
    req = self._make_requirement_from_install_req(
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 453, in _make_requirement_from_install_req
    cand = self._make_candidate_from_link(
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
    self._link_candidate_cache[link] = LinkCandidate(
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__
    super().__init__(
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__
    self.dist = self._prepare()
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare
    dist = self._prepare_distribution()
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution
    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 516, in prepare_linked_requirement
    return self._prepare_linked_requirement(req, parallel_builds)
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 631, in _prepare_linked_requirement
    dist = _get_prepared_distribution(
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata
    self.req.prepare_metadata()
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/req/req_install.py", line 555, in prepare_metadata
    self.metadata_directory = generate_metadata(
  File "/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_internal/operations/build/metadata.py", line 37, in generate_metadata
    raise MetadataGenerationFailed(package_details=details) from error
pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed
Removed file:///p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src from build tracker '/p/work1/tmp/heinzell/pip-build-tracker-z6h11y95'
Removed build tracker: '/p/work1/tmp/heinzell/pip-build-tracker-z6h11y95'
==> Error: ProcessError: Command exited with status 1:
    '/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/python-venv-1.0-6l77gix/bin/python3' '-m' 'pip' '-vvv' '--no-input' '--no-cache-dir' '--disable-pip-version-check' 'install' '--no-deps' '--ignore-installed' '--no-build-isolation' '--no-warn-script-location' '--no-index' '--prefix=/p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-scipy-1.12.0-3oltvow' '--config-settings=builddir=build' '--config-settings=compile-args=-j1' '--config-settings=setup-args=-Dblas=openblas' '--config-settings=setup-args=-Dlapack=openblas' '.'

2 errors found in build log:
     48      Compiler for C supports arguments -Wno-unused-but-set-variable: YES
     49      Compiler for C supports arguments -Wno-unused-function: YES
     50      Compiler for C supports arguments -Wno-conversion: YES
     51      Compiler for C supports arguments -Wno-misleading-indentation: YES
     52      Library m found: YES
     53
  >> 54    ../meson.build:80:0: ERROR: Value "legacy" (of type "string") for combo option "Fortran language standard to use" is not one of the choices. Possible choices are (as string): "none".
     55
     56      A full log can be found at /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src/build/meson-logs/meso
           n-log.txt
     57      error: subprocess-exited-with-error
     58
     59      × Preparing metadata (pyproject.toml) did not run successfully.
     60      │ exit code: 1
     61      ╰─> See above for output.
     62
     63      note: This error originates from a subprocess, and is likely not a problem with pip.
     64      full command: /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/envs/ne-aocc-4.0.0/install/aocc/4.0.0/python-venv-1.0-6l77gix/bin/python3 /p/work2/heinzell/spack-stack-oneapi_intel_use_mk
           l/envs/ne-aocc-4.0.0/install/aocc/4.0.0/py-pip-23.1.2-satltda/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /p/work1/tm
           p/heinzell/tmpgg95mtgv
     65      cwd: /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-src
     66      Preparing metadata (pyproject.toml): finished with status 'error'
  >> 67    error: metadata-generation-failed
     68
     69    × Encountered error while generating package metadata.
     70    ╰─> See above for output.
     71
     72    note: This is an issue with the package mentioned above, not pip.
     73    hint: See above for details.

See build log for details:
  /p/work2/heinzell/spack-stack-oneapi_intel_use_mkl/cache/build_stage/spack-stage-py-scipy-1.12.0-3oltvowdn4jk2dcwqtlupxda5xydxdsw/spack-build-out.txt

Information on your system

* **Spack:** 0.22.0.dev0 (7b1808fc8a344e551d6012a23b385571a354062d)
* **Python:** 3.6.15
* **Platform:** linux-sles15-zen2
* **Concretizer:** clingo

Additional information

See scipy/scipy#19447 for an explanation/solution. The offending 'fortran_std=legacy' in meson.build exists in all versions of py-scipy that support a meson builder (@1.9 up to develop, checked 2024/08/13).

I will submit a PR to patch the file shortly.

meson-log.txt
spack-build-env.txt
spack-build-env-mods.txt
spack-build-out.txt
spack-build-01-install-out.txt

@adamjstewart @rgommers

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions