loki icon indicating copy to clipboard operation
loki copied to clipboard

Re-activate the Macos runner for tests

Open reuterbal opened this issue 1 year ago • 0 comments

What happened?

The MacOS runner fails to install f90wrap, therefore tests can not be run on macos right now.

What are the steps to reproduce the bug?

Install Loki on MacOS

Version

0.3.0-dev

Platform (OS and architecture)

MacOS

Relevant log output

Collecting f90wrap>=0.2.15 (from loki==0.3.1.dev36+g0cbe3695)
  Downloading f90wrap-0.2.16.tar.gz (2.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 79.5 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [254 lines of output]
      + meson setup /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/pip-install-1ynlq3wa/f90wrap_8de49a0310894c79b2198094f983ed18 /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/pip-install-1ynlq3wa/f90wrap_8de49a0310894c79b2198094f983ed18/.mesonpy-4ol5jr1t -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/pip-install-1ynlq3wa/f90wrap_8de49a0310894c79b2198094f983ed18/.mesonpy-4ol5jr1t/meson-python-native-file.ini
      The Meson build system
      Version: 1.7.0
      Source dir: /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/pip-install-1ynlq3wa/f90wrap_8de49a0310894c79b2198094f983ed18
      Build dir: /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/pip-install-1ynlq3wa/f90wrap_8de49a0310894c79b2198094f983ed18/.mesonpy-4ol5jr1t
      Build type: native build
      Project name: f90wrap
      Project version: 0.2.16
      C compiler for the host machine: cc (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.3.9.4)")
      C linker for the host machine: cc ld64 1053.12
      Host machine cpu family: aarch64
      Host machine cpu: aarch64
      
      ../meson.build:13: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'"
      Running `gfortran --version` gave "[Errno 2] No such file or directory: 'gfortran'"
      Running `gfortran -V` gave "[Errno 2] No such file or directory: 'gfortran'"
      Running `flang-new --help` gave "[Errno 2] No such file or directory: 'flang-new'"
      Running `flang-new --version` gave "[Errno 2] No such file or directory: 'flang-new'"
      Running `flang-new -V` gave "[Errno 2] No such file or directory: 'flang-new'"
      Running `flang --help` gave "[Errno 2] No such file or directory: 'flang'"
      Running `flang --version` gave "[Errno 2] No such file or directory: 'flang'"
      Running `flang -V` gave "[Errno 2] No such file or directory: 'flang'"
      Running `nvfortran --help` gave "[Errno 2] No such file or directory: 'nvfortran'"
      Running `nvfortran --version` gave "[Errno 2] No such file or directory: 'nvfortran'"
      Running `nvfortran -V` gave "[Errno 2] No such file or directory: 'nvfortran'"
      Running `pgfortran --help` gave "[Errno 2] No such file or directory: 'pgfortran'"
      Running `pgfortran --version` gave "[Errno 2] No such file or directory: 'pgfortran'"
      Running `pgfortran -V` gave "[Errno 2] No such file or directory: 'pgfortran'"
      Running `ifort --help` gave "[Errno 2] No such file or directory: 'ifort'"
      Running `ifort --version` gave "[Errno 2] No such file or directory: 'ifort'"
      Running `ifort -V` gave "[Errno 2] No such file or directory: 'ifort'"
      Running `ifx --help` gave "[Errno 2] No such file or directory: 'ifx'"
      Running `ifx --version` gave "[Errno 2] No such file or directory: 'ifx'"
      Running `ifx -V` gave "[Errno 2] No such file or directory: 'ifx'"
      Running `g95 --help` gave "[Errno 2] No such file or directory: 'g95'"
      Running `g95 --version` gave "[Errno 2] No such file or directory: 'g95'"
      Running `g95 -V` gave "[Errno 2] No such file or directory: 'g95'"
      
      A full log can be found at /private/var/folders/2s/h6hvv9ps03xgz_krkkstvq_r0000gn/T/pip-install-1ynlq3wa/f90wrap_8de49a0310894c79b2198094f983ed18/.mesonpy-4ol5jr1t/meson-logs/meson-log.txt
==== CI platform detected, click here for meson-log.txt contents. ====
      
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
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.

Accompanying data

No response

Organisation

No response

reuterbal avatar Feb 26 '25 08:02 reuterbal