Using Python 3.14.4 environment at: /lustre/work/pdl16831/udlc74081/.venv_x86-64
Resolved 4 packages in 66ms
× Failed to build `scipy==1.14.0`
├─▶ The build backend returned an error
╰─▶ Call to `mesonpy.build_wheel` failed (exit status: 1)
[stdout]
+ meson setup /lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src
/lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/.mesonpy-xxezvebt -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md
--native-file=/lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/.mesonpy-xxezvebt/meson-python-native-file.ini
The Meson build system
Version: 1.11.1
Source dir: /lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src
Build dir: /lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/.mesonpy-xxezvebt
Build type: native build
Project name: scipy
Project version: 1.14.0
C compiler for the host machine: cc (gcc 11.5.0 "cc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)")
C linker for the host machine: cc ld.bfd 2.35.2-54
C++ compiler for the host machine: c++ (gcc 11.5.0 "c++ (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)")
C++ linker for the host machine: c++ ld.bfd 2.35.2-54
Cython compiler for the host machine: cython (cython 3.0.12)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/bin/python)
Found pkg-config: YES (/usr/bin/pkg-config) 1.7.3
Run-time dependency python found: YES 3.14
Program cython found: YES (/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/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
Fortran compiler for the host machine: gfortran (gcc 11.5.0 "GNU Fortran (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)")
Fortran linker for the host machine: gfortran ld.bfd 2.35.2-54
Compiler for Fortran supports arguments -Wno-conversion: YES
Checking if "-Wl,--version-script" links: YES
Program tools/generate_f2pymod.py found: YES (/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/bin/python
/lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/tools/generate_f2pymod.py)
Program scipy/_build_utils/tempita.py found: YES (/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/bin/python
/lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/scipy/_build_utils/tempita.py)
Program pythran found: YES 0.16.1 0.16.1 (/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/bin/pythran)
Found CMake: /usr/bin/cmake (3.26.5)
Run-time dependency xsimd found: NO (tried pkg-config and cmake)
Run-time dependency threads found: YES
../scipy/meson.build:48:17: ERROR: Command `/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/bin/python -c 'import os
os.chdir(os.path.join("..", "tools"))
import numpy as np
try:
incdir = os.path.relpath(np.get_include())
except Exception:
incdir = np.get_include()
print(incdir)
'` failed with status 1.
A full log can be found at /lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/.mesonpy-xxezvebt/meson-logs/meson-log.txt
hint: Build failures usually indicate python -c 'import osackage or the build environment
Traceback (most recent call last):
File "<string>", line 2, in <module>
os.chdir(os.path.join("..", "tools"))
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '../tools'
```bash
uv pip install -r requirements.txt
```
<details>
<summary>Output:</summary>
```
Using Python 3.14.4 environment at: /lustre/work/pdl16831/udlc74081/.venv_x86-64
Resolved 4 packages in 66ms
× Failed to build `scipy==1.14.0`
├─▶ The build backend returned an error
╰─▶ Call to `mesonpy.build_wheel` failed (exit status: 1)
[stdout]
+ meson setup /lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src
/lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/.mesonpy-xxezvebt -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md
--native-file=/lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/.mesonpy-xxezvebt/meson-python-native-file.ini
The Meson build system
Version: 1.11.1
Source dir: /lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src
Build dir: /lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/.mesonpy-xxezvebt
Build type: native build
Project name: scipy
Project version: 1.14.0
C compiler for the host machine: cc (gcc 11.5.0 "cc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)")
C linker for the host machine: cc ld.bfd 2.35.2-54
C++ compiler for the host machine: c++ (gcc 11.5.0 "c++ (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)")
C++ linker for the host machine: c++ ld.bfd 2.35.2-54
Cython compiler for the host machine: cython (cython 3.0.12)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/bin/python)
Found pkg-config: YES (/usr/bin/pkg-config) 1.7.3
Run-time dependency python found: YES 3.14
Program cython found: YES (/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/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
Fortran compiler for the host machine: gfortran (gcc 11.5.0 "GNU Fortran (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)")
Fortran linker for the host machine: gfortran ld.bfd 2.35.2-54
Compiler for Fortran supports arguments -Wno-conversion: YES
Checking if "-Wl,--version-script" links: YES
Program tools/generate_f2pymod.py found: YES (/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/bin/python
/lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/tools/generate_f2pymod.py)
Program scipy/_build_utils/tempita.py found: YES (/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/bin/python
/lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/scipy/_build_utils/tempita.py)
Program pythran found: YES 0.16.1 0.16.1 (/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/bin/pythran)
Found CMake: /usr/bin/cmake (3.26.5)
Run-time dependency xsimd found: NO (tried pkg-config and cmake)
Run-time dependency threads found: YES
../scipy/meson.build:48:17: ERROR: Command `/lustre/work/pdl16831/udlc74081/.cache/uv/builds-v0/.tmpu4vwSN/bin/python -c 'import os
os.chdir(os.path.join("..", "tools"))
import numpy as np
try:
incdir = os.path.relpath(np.get_include())
except Exception:
incdir = np.get_include()
print(incdir)
'` failed with status 1.
A full log can be found at /lustre/work/pdl16831/udlc74081/.cache/uv/sdists-v9/pypi/scipy/1.14.0/FAKGoh_LOhakpiUT/src/.mesonpy-xxezvebt/meson-logs/meson-log.txt
hint: Build failures usually indicate python -c 'import osackage or the build environment
```
</details>
<details>
<summary>Bash script:</summary>
```bash
python -c 'import os
os.chdir(os.path.join("..", "tools"))
import numpy as np
try:
incdir = os.path.relpath(np.get_include())
except Exception:
incdir = np.get_include()
print(incdir)
'
```
</details>
<details>
<summary>Output:</summary>
```
Traceback (most recent call last):
File "<string>", line 2, in <module>
os.chdir(os.path.join("..", "tools"))
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '../tools'
```
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Following Benjamin_Loison/apptainer/issues/33#issuecomment-17184611.
DuckDuckGo search
"Unknown compiler(s): [['gfortran'], ['flang-new'], ['flang'], ['nvfortran'], ['pgfortran'], ['ifort'], ['ifx'], ['g95']]".The answer and comments to the Stack Overflow question 77607056 mention installing binaries.
Outside container:
Issue tracked at Benjamin_Loison/apptainer/issues/35.
I quickly had a look to the Stack Overflow question 79146073 and its comments.
Output:
Bash script:
Output:
Output:
Output:
diff:Output: