CMake

MSVCDebugInformationFormat

command_line: D:\a\nightly-builds\nightly-builds\build\bin\ctest.exe "--build-and-test" "D:/a/nightly-builds/nightly-builds/Tests/MSVCDebugInformationFormat" "D:/a/nightly-builds/nightly-builds/build/Tests/MSVCDebugInformationFormat" "--build-two-config" "--build-generator" "Ninja" "--build-makeprogram" "C:/ProgramData/chocolatey/bin/ninja.exe" "--build-project" "MSVCDebugInformationFormat" "--build-options" "-DCMake_TEST_CUDA=" "-DCMake_TEST_Fortran=1"

working_directory: "./Tests"

Processors: 1

Execution Time: 12.355

Completion Status: Completed

Environment: #CTEST_RESOURCE_GROUP_COUNT=

Exit Value: 1

Exit Code: Failed

stdout:

Internal cmake changing into directory: D:/a/nightly-builds/nightly-builds/build/Tests/MSVCDebugInformationFormat
======== CMake output     ======
The C compiler identification is MSVC 19.43.34808.0
The CXX compiler identification is MSVC 19.43.34808.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
The Fortran compiler identification is GNU 14.2.0
Detecting Fortran compiler ABI info
Detecting Fortran compiler ABI info - failed
Check for working Fortran compiler: C:/mingw64/bin/gfortran.exe
Check for working Fortran compiler: C:/mingw64/bin/gfortran.exe - broken
CMake Error at D:/a/nightly-builds/nightly-builds/Modules/CMakeTestFortranCompiler.cmake:59 (message):
  The Fortran compiler

    "C:/mingw64/bin/gfortran.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: 'D:/a/nightly-builds/nightly-builds/build/Tests/MSVCDebugInformationFormat/CMakeFiles/CMakeScratch/TryCompile-tra08k'
    
    Run Build Command(s): C:/ProgramData/chocolatey/bin/ninja.exe -v cmTC_d1a29
    [1/4] C:\Windows\system32\cmd.exe /C ""D:/a/nightly-builds/nightly-builds/build/bin/ctest.exe" --instrument --command-type compile --target-name cmTC_d1a29 --build-dir "D:/a/nightly-builds/nightly-builds/build/Tests/MSVCDebugInformationFormat/CMakeFiles/CMakeScratch/TryCompile-tra08k" --config  --output CMakeFiles\cmTC_d1a29.dir\testFortranCompiler.f.obj --source D:/a/nightly-builds/nightly-builds/build/Tests/MSVCDebugInformationFormat/CMakeFiles/CMakeScratch/TryCompile-tra08k/testFortranCompiler.f --language Fortran --  C:\mingw64\bin\gfortran.exe -cpp    -E D:/a/nightly-builds/nightly-builds/build/Tests/MSVCDebugInformationFormat/CMakeFiles/CMakeScratch/TryCompile-tra08k/testFortranCompiler.f -o CMakeFiles/cmTC_d1a29.dir/testFortranCompiler.f-pp.f && D:\a\nightly-builds\nightly-builds\build\bin\cmake.exe -E cmake_ninja_depends --tdi=CMakeFiles\cmTC_d1a29.dir\FortranDependInfo.json --lang=Fortran --src=CMakeFiles/cmTC_d1a29.dir/testFortranCompiler.f-pp.f --out=CMakeFiles/cmTC_d1a29.dir/testFortranCompiler.f-pp.f --dep=CMakeFiles\cmTC_d1a29.dir\testFortranCompiler.f-pp.f.d --obj=CMakeFiles\cmTC_d1a29.dir\testFortranCompiler.f.obj --ddi=CMakeFiles\cmTC_d1a29.dir\testFortranCompiler.f.obj.ddi --src-orig=D:/a/nightly-builds/nightly-builds/build/Tests/MSVCDebugInformationFormat/CMakeFiles/CMakeScratch/TryCompile-tra08k/testFortranCompiler.f"
    [2/4] D:\a\nightly-builds\nightly-builds\build\bin\cmake.exe -E cmake_ninja_dyndep --tdi=CMakeFiles\cmTC_d1a29.dir\FortranDependInfo.json --lang=Fortran --dd=CMakeFiles/cmTC_d1a29.dir/Fortran.dd @CMakeFiles/cmTC_d1a29.dir/Fortran.dd.rsp
    [3/4] "D:/a/nightly-builds/nightly-builds/build/bin/ctest.exe" --instrument --command-type compile --target-name cmTC_d1a29 --build-dir "D:/a/nightly-builds/nightly-builds/build/Tests/MSVCDebugInformationFormat/CMakeFiles/CMakeScratch/TryCompile-tra08k" --config  --output CMakeFiles/cmTC_d1a29.dir/testFortranCompiler.f.obj --source CMakeFiles/cmTC_d1a29.dir/testFortranCompiler.f-pp.f --language Fortran --  C:\mingw64\bin\gfortran.exe -ID:\a\nightly-builds\nightly-builds\build\Tests\MSVCDebugInformationFormat\CMakeFiles\CMakeScratch\TryCompile-tra08k -fpreprocessed -c CMakeFiles/cmTC_d1a29.dir/testFortranCompiler.f-pp.f -o CMakeFiles/cmTC_d1a29.dir/testFortranCompiler.f.obj
    [4/4] C:\Windows\system32\cmd.exe /C "cd . && "D:/a/nightly-builds/nightly-builds/build/bin/ctest.exe" --instrument --command-type link --target-name cmTC_d1a29 --build-dir "D:/a/nightly-builds/nightly-builds/build/Tests/MSVCDebugInformationFormat/CMakeFiles/CMakeScratch/TryCompile-tra08k" --output cmTC_d1a29.exe --target-type EXECUTABLE --config  --language Fortran --target-labels "" --  C:\mingw64\bin\gfortran.exe  /machine:x64 CMakeFiles/cmTC_d1a29.dir/testFortranCompiler.f.obj -o cmTC_d1a29.exe -Wl,--out-implib,libcmTC_d1a29.dll.a -Wl,--major-image-version,0,--minor-image-version,0   && cd ."
    FAILED: cmTC_d1a29.exe 
    C:\Windows\system32\cmd.exe /C "cd . && "D:/a/nightly-builds/nightly-builds/build/bin/ctest.exe" --instrument --command-type link --target-name cmTC_d1a29 --build-dir "D:/a/nightly-builds/nightly-builds/build/Tests/MSVCDebugInformationFormat/CMakeFiles/CMakeScratch/TryCompile-tra08k" --output cmTC_d1a29.exe --target-type EXECUTABLE --config  --language Fortran --target-labels "" --  C:\mingw64\bin\gfortran.exe  /machine:x64 CMakeFiles/cmTC_d1a29.dir/testFortranCompiler.f.obj -o cmTC_d1a29.exe -Wl,--out-implib,libcmTC_d1a29.dll.a -Wl,--major-image-version,0,--minor-image-version,0   && cd ."
    C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find /machine:x64: No such file or directory
    collect2.exe: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    
    



  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:16 (enable_language)


Configuring incomplete, errors occurred!
======== End CMake output ======
Error: cmake execution failed
Status: failed
Loading...