Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,823
    • Issues 3,823
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Issues
  • #18014
Closed
Open
Created May 22, 2018 by Miroslav Iliaš@miro.ilias

failed to parse dependencies from Fortran sources

(Following e11cd31f (comment 413798) )

with CMake version: 3.10.2 we are getting these warnings, and we have no cluse why Fortran parsing failed:

[ 64%] Building Fortran object src/reladc/CMakeFiles/reladc.dir/polprp_cousat.F.o
[ 64%] Building Fortran object src/luciarel/CMakeFiles/luciarel.dir/vecmat_r.F.o
[ 64%] Building Fortran object src/luciarel/CMakeFiles/luciarel.dir/io_ttss_r.F90.o
[ 64%] Built target luciarel
Scanning dependencies of target krcc
warning: failed to parse dependencies from Fortran source '/builds/dirac/dirac/src/krcc/krcc_inp.F': syntax error, unexpected WORD
[ 64%] Building Fortran object src/krcc/CMakeFiles/krcc.dir/cc_vec_fnc2.F.o
[ 64%] Building Fortran object src/krcc/CMakeFiles/krcc.dir/optimization.F.o

Failed parsing is causing compilation errors. Our software project contains mix of Fortran sources - Fortran77,Fortran90.

At least we would welcome more informative printout why the parsing failed.

With lower CMake versions we do not observe parsing failures.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking