Skip to content

Can't build fpm #884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
minhqdao opened this issue Apr 19, 2023 · 2 comments
Closed

Can't build fpm #884

minhqdao opened this issue Apr 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@minhqdao
Copy link
Contributor

minhqdao commented Apr 19, 2023

Description

fpm build currently doesn't work for me on main. This is the error message:

fpm_strings.f90                        failed.
[  1%] Compiling...
gfortran: error: Unrecognized option: 'single-DFPM_RELEASE_VERSION=0.8.1'
gfortran: note: valid arguments to '-fcoarray=' are: lib none single
<ERROR> Compilation failed for object " src_fpm_strings.f90.o "
<ERROR>stopping due to failed compilation
STOP 1

It was introduced with this PR: #865

I'm using:

  • GNU Fortran (Homebrew GCC 12.2.0) 12.2.0
  • macOS M1, Ventura 13.3.1

@perazz

Expected Behaviour

fpm should build.

Version of fpm

main.

Platform and Architecture

macOS/ARM.

Additional Information

Is the PR necessary at all? You can get the package version easily after building the model as demonstrated in #876.

@minhqdao minhqdao added the bug Something isn't working label Apr 19, 2023
@perazz
Copy link
Member

perazz commented Apr 19, 2023

What version of fpm are you using to build fpm? your issue was fixed in #804

@minhqdao
Copy link
Contributor Author

I see. I was still on 0.7.0 and had to update fpm through conda, which I'd forgotten. But it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants