Skip to content

Unable to test the build of stdlib library using CMake #348

Closed
@aman-godara

Description

@aman-godara

I was working in the directory D:/GSoC/Fortran Codes and used the command cmake -B build -G Ninja to get this message.

-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: C:/MinGW/bin/gfortran.exe - skipped
-- Checking whether C:/MinGW/bin/gfortran.exe supports Fortran 90
-- Checking whether C:/MinGW/bin/gfortran.exe supports Fortran 90 - yes
-- Performing Test f18errorstop
-- Performing Test f18errorstop - Success
-- Performing Test f03rank
-- Performing Test f03rank - Success
-- Performing Test f03real128
-- Performing Test f03real128 - Success
-- Configuring done
-- Generating done
-- Build files have been written to: D:/GSoC/Fortran Codes/build

Then I ran the command cmake --build build --target test and got a very long error.
This is how the end of the error looks like:

Errors while running CTest
FAILED: CMakeFiles/test.util
cmd.exe /C "cd /D "D:\GSoC\Fortran Codes\build" && C:\Users\<myusername>\AppData\Roaming\Python\Python37\site-packages\cmake\data\bin\ctest.exe --force-new-ctest-process "
ninja: build stopped: subcommand failed.

I was working on a different version of the stdlib (after successfully pulling #346 to my local machine using Git) while I was following the instructions given in README.md file of stdlib. I was following the instructions from top to bottom one by one until I got this error.

I am using gfortran compiler GNU Fortran (MinGW.org GCC Build-2) 9.2.0 and platform architecture is
image
with Windows 10 as the operating system.
CMake version cmake version 3.18.4
Ninja version 1.10.0.git.kitware.jobserver-1
fypp version 3.0, python version Python 3.7.7

Can anyone please help me with it? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions