Skip to content
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

Build fails with fpm 0.8.0 #5

Closed
tueda opened this issue May 11, 2023 · 1 comment
Closed

Build fails with fpm 0.8.0 #5

tueda opened this issue May 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@tueda
Copy link
Owner

tueda commented May 11, 2023

$ fpm --version
Version:     0.8.0, alpha
Program:     fpm(1)
Description: A Fortran package manager and build system
Home Page:   https://github.com/fortran-lang/fpm
License:     MIT
OS Type:     Linux
$ fpm test --verbose
# Dependency change detected: test-drive
# Update: test-drive
Reinitialized existing Git repository in /home/tueda/work/paramcard/build/dependencies/test-drive/.git/
remote: Enumerating objects: 31, done.
remote: Counting objects: 100% (31/31), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 31 (delta 5), reused 9 (delta 0), pack-reused 0
Unpacking objects: 100% (31/31), 30.85 KiB | 4.41 MiB/s, done.
From https://github.com/fortran-lang/test-drive
 * tag               v0.4.0     -> FETCH_HEAD
 <INFO> BUILD_NAME: build/gfortran
 <INFO> COMPILER:  gfortran
 <INFO> C COMPILER:  gcc
 <INFO> CXX COMPILER: g++
 <INFO> COMPILER OPTIONS:   -Wall -Wextra -fPIC -fmax-errors=1 -g -fcheck=bounds -fcheck=array-temps -fbacktrace -fcoarray=single
 <INFO> C COMPILER OPTIONS:
 <INFO> CXX COMPILER OPTIONS:
 <INFO> LINKER OPTIONS:
 <INFO> INCLUDE DIRECTORIES:  []
[  0%]                       demo77.f
 + gfortran -c example/demo77.f  -Wall -Wextra -fPIC -fmax-errors=1 -g -fcheck=bounds -fcheck=array-temps -fbacktrace -fcoarray=single -fimplicit-none -Werror=implicit-interface -ffree-form -J build/gfortran_020AF3609BFD7C6D -Ibuild/gfortran_020AF3609BFD7C6D -o build/gfortran_020AF3609BFD7C6D/paramcard/example_demo77.f.o
example/demo77.f:5:1:

    5 | C
      | 1
Error: Unclassifiable statement at (1)
compilation terminated due to -fmax-errors=1.
[  7%]                       demo77.f  done.

example/demo77.f:5:1:

    5 | C
      | 1
Error: Unclassifiable statement at (1)
compilation terminated due to -fmax-errors=1.
<ERROR> Compilation failed for object " example_demo77.f.o "
<ERROR>stopping due to failed compilation
STOP 1

Sounds like it is related to: fortran-lang/fpm#363

@tueda tueda added the bug Something isn't working label May 11, 2023
@tueda
Copy link
Owner Author

tueda commented Jun 18, 2023

This looks like a workaround, but it can't be built with fpm 0.7.0.

@tueda tueda closed this as completed in b522db4 Aug 6, 2023
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

1 participant