spack: Installation issue: py-scipy cannot be built with an ILP64 BLAS variant
Steps to reproduce the issue
spack install py-scipy%gcc@13.1.0^python3.11.2%gcc13.1.0
Error message
Error message
==> py-meson-python: Executing phase: 'install'
==> Error: ProcessError: Command exited with status 1:
'/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-13.1.0/python-3.11.2-6arbwkhzay6x3453lidjmghsqchpkip7/bin/python3.11' '-m' 'pip' '-vvv' '--no-input' '--no-cache-dir' '--disable-pip-version-$
heck' 'install' '--no-deps' '--ignore-installed' '--no-build-isolation' '--no-warn-script-location' '--no-index' '--prefix=/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-13.1.0/py-meson-python-$
.12.0-vcmmkoc4ewwoktus4355q5j4ot3ydbuw' '.'
2 errors found in build log:
36
37 Found ninja-1.11.1 at /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-13.1.0/ninja-1.11.1-y27sfj3c3smfezhtfhusixwwuhgfnlol/bin/ninja
38 ninja: no work to do.
39 INFO: autodetecting backend as ninja
40 INFO: calculating backend command to run: /home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-13.1.0/ninja-1.11.1-y27sfj3c3smfezhtfhusixwwuhgfnlol/bin/ninja
41 ninja: Entering directory `/tmp/root/spack-stage/spack-stage-py-meson-python-0.12.0-vcmmkoc4ewwoktus4355q5j4ot3ydbuw/spack-src/.mesonpy-u3ws8m5v/build'
>> 42 ninja: fatal: chdir to '/tmp/root/spack-stage/spack-stage-py-meson-python-0.12.0-vcmmkoc4ewwoktus4355q5j4ot3ydbuw/spack-src/.mesonpy-u3ws8m5v/build' - Permission denied
43 Could not rebuild /tmp/root/spack-stage/spack-stage-py-meson-python-0.12.0-vcmmkoc4ewwoktus4355q5j4ot3ydbuw/spack-src/.mesonpy-u3ws8m5v/build
44 + meson setup --prefix=/home/sw/spack-v0.20.1-a/opt/spack/linux-rhel8-icelake/gcc-13.1.0/python-3.11.2-6arbwkhzay6x3453lidjmghsqchpkip7 /tmp/root/spack-stage/spack-stage-py-meson-python-0.12.0
-vcmmkoc4ewwoktus4355q5j4ot3ydbuw/spack-src /tmp/root/spack-stage/spack-stage-py-meson-python-0.12.0-vcmmkoc4ewwoktus4355q5j4ot3ydbuw/spack-src/.mesonpy-u3ws8m5v/build --native-file=/tmp/root/sp
ack-stage/spack-stage-py-meson-python-0.12.0-vcmmkoc4ewwoktus4355q5j4ot3ydbuw/spack-src/.mesonpy-native-file.ini -Ddebug=false -Doptimization=2
45 + meson compile
46 + meson install --destdir /tmp/root/spack-stage/spack-stage-py-meson-python-0.12.0-vcmmkoc4ewwoktus4355q5j4ot3ydbuw/spack-src/.mesonpy-u3ws8m5v/install
47 error: subprocess-exited-with-error
Information on your system
- Spack: 0.20.1 (e8658d6493887ef702dd38f0e9ee5870a1651c1e)
- Python: 3.6.8
- Platform: linux-rhel8-icelake
- Concretizer: clingo
Additional information
I guess this is not spack’s fault but rather’s scipy choice to use that broken built system that meson is as described at https://github.com/mesonbuild/meson/issues/7345 but yet as it is scipy is unbuildable in spack, hence this report.
@adamjstewart @pradyunsg @rgommers @scheibelp
General information
- I have run
spack debug reportand 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
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 21 (17 by maintainers)
No problem, happy to help (and apologies for releasing a buggy version of meson originally).
P.S. I’m listed as a maintainer for the meson package in spack, so you can always add me to the list of stakeholders that you are pinging in cases where the issue looks like it may involve the build system (meson) in addition to the package itself (py-scipy).