First, when installing fpm it seem the install.sh has some problems:
❯ brew install fpm
==> Downloading https://formulae.brew.sh/api/formula.jws.json
############################################################################################################################################################################ 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
############################################################################################################################################################################ 100.0%
==> Fetching fortran-lang/fortran/fpm
==> Downloading https://github.com/fortran-lang/fpm/releases/download/v0.9.0/fpm-0.9.0.zip
Already downloaded: /Users/jeremy/Library/Caches/Homebrew/downloads/68154cf51d54c21de2973f87212abc343a826bddcefdb9727973b32d43a6e93c--fpm-0.9.0.zip
==> Installing fpm from fortran-lang/fortran
==> Using Homebrew-provided Fortran compiler
This may be changed by setting the FC environment variable.
==> ./install.sh --prefix=/opt/homebrew/Cellar/fpm/0.9.0
Last 15 lines from /Users/jeremy/Library/Logs/Homebrew/fpm/01.install.sh:
28554 | call set_string(table, "descriptor", descriptor_name(self%descriptor), error, 'git_target_t')
| 1
Error: There is no specific subroutine for the generic 'set_string' at (1)
fpm.F90:30325:93:
30325 | call set_string(table,"os-type",os_type_name(self%os_type), error, 'profile_config_t')
| 1
Error: There is no specific subroutine for the generic 'set_string' at (1)
fpm.F90:31376:9:
31376 | use fpm_git, only: git_target_t, git_target_tag, git_target_branch, &
| 1
Fatal Error: Cannot open module file 'fpm_git.mod' for reading at (1): No such file or directory
compilation terminated.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/fortran-lang/homebrew-fortran/issues
These open issues may also help:
Documentation: Please add fpm version update instructions to the README.md https://github.com/fortran-lang/homebrew-fortran/issues/18
Second, when installing lfortran the llvm@11 is disabled:
❯ brew install lfortran
==> Fetching dependencies for fortran-lang/fortran/lfortran: llvm@11 and zlib
Error: llvm@11 has been disabled because it is a versioned formula!
First, when installing fpm it seem the install.sh has some problems:
Second, when installing lfortran the llvm@11 is disabled:
On MacOS 14.1.1 (Arm64), brew 4.3.9