Skip to content

Commit 2eed737

Browse files
committed
RHAIENG-948: fix(ppc): build failure due to missing fortran to build scikit-learn
``` × Failed to download and build `scikit-learn==1.7.2` ├─▶ Failed to install requirements from `build-system.requires` ├─▶ Failed to build `scipy==1.16.3` ├─▶ The build backend returned an error ╰─▶ Call to `mesonpy.build_wheel` failed (exit status: 1) [stdout] + meson setup ... ../meson.build:88:0: ERROR: Unknown compiler(s): [['gfortran'], ['flang-new'], ['flang'], ['nvfortran'], ['pgfortran'], ['ifort'], ['ifx'], ['g95']] The following exception(s) were encountered: Running `gfortran --help` gave "[Errno 2] No such file or directory: 'gfortran'" ```
1 parent 01a2047 commit 2eed737

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,9 @@ if [ "${TARGETARCH}" = "ppc64le" ]; then
392392

393393
# required to compile maturin
394394
openssl-devel
395+
396+
# required to compile scikit-learn
397+
gcc-gfortran
395398
)
396399
dnf install -y "${packages[@]}"
397400
fi

0 commit comments

Comments
 (0)