3.28.1: test suite build fails because code is not gcc 14.x ready and other test suite issues
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide. New gcc turns -Wincompatible-pointer-types
warnings into errors. In output are other failing units as well.
Part of the test suite output
+ cd cmake-3.28.1
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 ' '
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu
Guessing configuration NoConfig
Start 90: LinkFlags-prepare
Start 188: wrapping
Start 107: SubProject
Start 141: complexOneConfig
Start 181: Guide.ImportExport.MyExe
Start 183: Guide.ImportExport.MathFunctions
Start 185: Guide.ImportExport.MathFunctionsComponents
Start 200: linkorder1
Start 259: CTestTestTimeout
Start 1: SystemInformationNew
Start 2: kwsys.testEncode
Start 3: kwsys.testTerminal
Start 4: kwsys.testConfigure
Start 5: kwsys.testStatus
Start 6: kwsys.testSystemTools
Start 7: kwsys.testCommandLineArguments
Start 8: kwsys.testCommandLineArguments1
Start 9: kwsys.testDirectory
Start 10: kwsys.testEncoding
Start 11: kwsys.testFStream
Start 12: kwsys.testConsoleBuf
Start 13: kwsys.testSystemInformation
Start 14: kwsys.testDynamicLoader
Start 15: kwsys.testProcess-1
Start 16: kwsys.testProcess-2
Start 17: kwsys.testProcess-3
Start 18: kwsys.testProcess-4
Start 19: kwsys.testProcess-5
Start 20: kwsys.testProcess-6
Start 21: kwsys.testProcess-9
Start 22: kwsys.testProcess-10
Start 23: kwiml.test
Start 24: CMake.Copyright
Start 25: CommandLineTest
Start 26: FindPackageTest
Start 27: StringFileTest
Start 28: TryCompile
Start 29: SystemInformation
Start 30: MathTest
Start 31: CompileFeatures
Start 32: CMakeCommands.target_compile_features
Start 33: MSManifest
Start 34: Simple
Start 35: PreOrder
Start 36: MissingSourceFile
Start 37: FortranOnly
Start 38: VSGNUFortran
Start 39: COnly
1/704 Test #2: kwsys.testEncode ................................... Passed 0.07 sec
Start 40: CxxOnly
2/704 Test #3: kwsys.testTerminal ................................. Passed 0.08 sec
Start 41: CxxSubdirC
3/704 Test #4: kwsys.testConfigure ................................ Passed 0.08 sec
Start 42: OutDir
4/704 Test #5: kwsys.testStatus ................................... Passed 0.08 sec
Start 43: OutName
5/704 Test #6: kwsys.testSystemTools .............................. Passed 0.08 sec
Start 44: ObjectLibrary
6/704 Test #7: kwsys.testCommandLineArguments ..................... Passed 0.09 sec
Start 45: NewlineArgs
7/704 Test #8: kwsys.testCommandLineArguments1 .................... Passed 0.09 sec
Start 46: SetLang
8/704 Test #9: kwsys.testDirectory ................................ Passed 0.09 sec
Start 47: EmptyProperty
9/704 Test #10: kwsys.testEncoding ................................. Passed 0.09 sec
Start 48: ExternalOBJ
10/704 Test #11: kwsys.testFStream .................................. Passed 0.10 sec
Start 49: LoadCommand
11/704 Test #12: kwsys.testConsoleBuf ............................... Passed 0.10 sec
Start 50: LinkDirectory
12/704 Test #14: kwsys.testDynamicLoader ............................ Passed 0.10 sec
Start 51: LinkLanguage
13/704 Test #16: kwsys.testProcess-2 ................................ Passed 0.10 sec
Start 52: LinkLine
14/704 Test #23: kwiml.test ......................................... Passed 0.09 sec
Start 53: MacroTest
15/704 Test #24: CMake.Copyright .................................... Passed 0.10 sec
Start 54: FunctionTest
16/704 Test #19: kwsys.testProcess-5 ................................ Passed 0.17 sec
Start 55: ReturnTest
17/704 Test #18: kwsys.testProcess-4 ................................ Passed 0.17 sec
Start 56: Properties
18/704 Test #15: kwsys.testProcess-1 ................................ Passed 0.53 sec
Start 57: Assembler
19/704 Test #36: MissingSourceFile .................................. Passed 0.61 sec
Start 58: SourceGroups
20/704 Test #43: OutName ............................................ Passed 1.01 sec
Start 59: Preprocess
21/704 Test #90: LinkFlags-prepare .................................. Passed 1.22 sec
Start 91: LinkFlags-lib
22/704 Test #91: LinkFlags-lib ...................................... Passed 0.24 sec
Start 92: LinkFlags-dll
23/704 Test #1: SystemInformationNew ............................... Passed 1.45 sec
Start 60: ExportImport
24/704 Test #13: kwsys.testSystemInformation ........................ Passed 1.44 sec
Start 61: Unset
25/704 Test #57: Assembler .......................................... Passed 0.94 sec
Start 62: PolicyScope
26/704 Test #92: LinkFlags-dll ...................................... Passed 0.21 sec
Start 93: LinkFlags-mod
27/704 Test #45: NewlineArgs ........................................ Passed 1.69 sec
Start 63: EmptyLibrary
28/704 Test #183: Guide.ImportExport.MathFunctions ................... Passed 1.84 sec
Start 64: CompileDefinitions
29/704 Test #107: SubProject ......................................... Passed 1.85 sec
Start 65: CompileOptions
30/704 Test #39: COnly .............................................. Passed 1.78 sec
Start 66: CompatibleInterface
31/704 Test #93: LinkFlags-mod ...................................... Passed 0.22 sec
Start 94: LinkFlags-exe
32/704 Test #55: ReturnTest ......................................... Passed 1.74 sec
Start 67: AliasTarget
33/704 Test #54: FunctionTest ....................................... Passed 1.84 sec
Start 68: StagingPrefix
34/704 Test #35: PreOrder ........................................... Passed 1.93 sec
Start 69: ImportedSameName
35/704 Test #41: CxxSubdirC ......................................... Passed 1.93 sec
Start 70: InterfaceLibrary
36/704 Test #22: kwsys.testProcess-10 ............................... Passed 2.00 sec
Start 71: ConfigSources
37/704 Test #29: SystemInformation .................................. Passed 2.02 sec
Start 72: SourcesProperty
38/704 Test #30: MathTest ........................................... Passed 2.04 sec
Start 73: SourceFileProperty
39/704 Test #94: LinkFlags-exe ...................................... Passed 0.23 sec
Start 95: LinkFlags-lib_config
40/704 Test #185: Guide.ImportExport.MathFunctionsComponents ......... Passed 2.19 sec
Start 74: SourceFileIncludeDirProperty
41/704 Test #42: OutDir ............................................. Passed 2.17 sec
Start 75: CxxDialect
42/704 Test #181: Guide.ImportExport.MyExe ........................... Passed 2.28 sec
Start 76: CrossCompile
43/704 Test #53: MacroTest .......................................... Passed 2.15 sec
Start 77: Policy0002
44/704 Test #33: MSManifest ......................................... Passed 2.24 sec
Start 78: BundleUtilities
45/704 Test #51: LinkLanguage ....................................... Passed 2.21 sec
Start 79: CMakeBuildTest
46/704 Test #40: CxxOnly ............................................ Passed 2.28 sec
Start 80: CMakeDoubleProject
47/704 Test #95: LinkFlags-lib_config ............................... Passed 0.25 sec
Start 96: LinkFlags-dll_config
48/704 Test #34: Simple ............................................. Passed 2.37 sec
Start 81: Module.CheckTypeSize
49/704 Test #61: Unset .............................................. Passed 1.01 sec
Start 82: Module.CheckIPOSupported-C
50/704 Test #52: LinkLine ........................................... Passed 2.36 sec
Start 83: Module.CheckIPOSupported-CXX
51/704 Test #62: PolicyScope ........................................ Passed 1.00 sec
Start 84: Module.CheckIPOSupported-Fortran
52/704 Test #96: LinkFlags-dll_config ............................... Passed 0.24 sec
Start 97: LinkFlags-mod_config
53/704 Test #46: SetLang ............................................ Passed 2.57 sec
Start 85: Module.ExternalData
54/704 Test #97: LinkFlags-mod_config ............................... Passed 0.23 sec
Start 98: LinkFlags-exe_config
55/704 Test #98: LinkFlags-exe_config ............................... Passed 0.22 sec
Start 99: LinkFlags-lib_flags
56/704 Test #73: SourceFileProperty ................................. Passed 1.03 sec
Start 86: Module.FindDependency
57/704 Test #59: Preprocess ......................................... Passed 2.04 sec
Start 87: Module.WriteCompilerDetectionHeader
58/704 Test #74: SourceFileIncludeDirProperty ....................... Passed 0.99 sec
Start 88: PositionIndependentTargets
59/704 Test #63: EmptyLibrary ....................................... Passed 1.45 sec
Start 89: Visibility
60/704 Test #188: wrapping ........................................... Passed 3.33 sec
Start 189: qtwrapping
61/704 Test #99: LinkFlags-lib_flags ................................ Passed 0.25 sec
Start 100: LinkFlags-dll_flags
62/704 Test #50: LinkDirectory ...................................... Passed 3.26 sec
Start 108: SubProject-Stage2
63/704 Test #58: SourceGroups ....................................... Passed 2.82 sec
Start 109: Framework
64/704 Test #100: LinkFlags-dll_flags ................................ Passed 0.24 sec
Start 101: LinkFlags-mod_flags
65/704 Test #77: Policy0002 ......................................... Passed 1.28 sec
Start 110: TargetName
66/704 Test #47: EmptyProperty ...................................... Passed 3.48 sec
Start 111: LibName
67/704 Test #69: ImportedSameName ................................... Passed 1.61 sec
Start 112: CustComDepend
68/704 Test #49: LoadCommand ........................................***Failed 3.58 sec
Could not find executable LoadedCommand
Looked in the following places:
LoadedCommand
LoadedCommand
Release/LoadedCommand
Release/LoadedCommand
Debug/LoadedCommand
Debug/LoadedCommand
MinSizeRel/LoadedCommand
MinSizeRel/LoadedCommand
RelWithDebInfo/LoadedCommand
RelWithDebInfo/LoadedCommand
Deployment/LoadedCommand
Deployment/LoadedCommand
Development/LoadedCommand
Development/LoadedCommand
Internal cmake changing into directory: /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand
======== CMake output ======
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_policy):
The OLD behavior for policy CMP0031 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
The C compiler identification is GNU 14.0.1
The CXX compiler identification is GNU 14.0.1
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++ - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of char
Check size of char - done
Check size of short
Check size of short - done
Output from try compile: Change Dir: '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
Run Build Command(s): /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/bin/cmake -S/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands -B/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands --check-build-system CMakeFiles/Makefile.cmake 0
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/bin/cmake -E cmake_progress_start /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands//CMakeFiles/progress.marks
/usr/bin/gmake -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
/usr/bin/gmake -f CMakeFiles/cmCMAKE_TEST_COMMAND.dir/build.make CMakeFiles/cmCMAKE_TEST_COMMAND.dir/depend
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
cd /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands && /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles/cmCMAKE_TEST_COMMAND.dir/DependInfo.cmake
Dependee "/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles/cmCMAKE_TEST_COMMAND.dir/DependInfo.cmake" is newer than depender "/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles/cmCMAKE_TEST_COMMAND.dir/depend.internal".
Dependee "/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles/cmCMAKE_TEST_COMMAND.dir/depend.internal".
Scanning dependencies of target cmCMAKE_TEST_COMMAND
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
/usr/bin/gmake -f CMakeFiles/cmCMAKE_TEST_COMMAND.dir/build.make CMakeFiles/cmCMAKE_TEST_COMMAND.dir/build
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
[ 50%] Building C object CMakeFiles/cmCMAKE_TEST_COMMAND.dir/cmTestCommand.c.o
/usr/bin/cc -DMUCHO_MUDSLIDE -DcmCMAKE_TEST_COMMAND_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/include -I/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Source -fPIC -o CMakeFiles/cmCMAKE_TEST_COMMAND.dir/cmTestCommand.c.o -c /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c: In function ‘InitialPass’:
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:118:53: error: passing argument 4 of ‘info->CAPI->AddExecutable’ from incompatible pointer type [-Wincompatible-pointer-types]
118 | info->CAPI->AddExecutable(mf, "LoadedCommand", 1, &srcs, 0);
| ^~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:118:53: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:127:69: error: passing argument 5 of ‘info->CAPI->AddCustomCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
127 | info->CAPI->AddCustomCommand(mf, "LoadedCommand.cxx.in", file, 4, ccArgs, 1,
| ^~~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:127:69: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:128:32: error: passing argument 7 of ‘info->CAPI->AddCustomCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
128 | ccDep, 1, ccOut, "LoadedCommand");
| ^~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:128:32: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:128:42: error: passing argument 9 of ‘info->CAPI->AddCustomCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
128 | ccDep, 1, ccOut, "LoadedCommand");
| ^~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:128:42: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:134:63: error: passing argument 5 of ‘info->CAPI->AddCustomCommandToOutput’ from incompatible pointer type [-Wincompatible-pointer-types]
134 | info->CAPI->AddCustomCommandToOutput(mf, ccOut[0], file, 4, ccArgs, ccDep[0],
| ^~~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:134:63: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:139:70: error: passing argument 5 of ‘info->CAPI->AddCustomCommandToTarget’ from incompatible pointer type [-Wincompatible-pointer-types]
139 | info->CAPI->AddCustomCommandToTarget(mf, "LoadedCommand", file, 3, ccArgs,
| ^~~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:139:70: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:151:44: error: passing argument 4 of ‘info->CAPI->ExecuteCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
151 | info->CAPI->ExecuteCommand(mf, "SET", 2, args);
| ^~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:151:44: note: expected ‘const char **’ but argument is of type ‘char **’
gmake[2]: *** [CMakeFiles/cmCMAKE_TEST_COMMAND.dir/build.make:75: CMakeFiles/cmCMAKE_TEST_COMMAND.dir/cmTestCommand.c.o] Error 1
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/cmCMAKE_TEST_COMMAND.dir/all] Error 2
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
gmake: *** [Makefile:91: all] Error 2
failed to compile CMAKE_LOADED_COMMANDS
Configuring done (3.1s)
Generating done (0.0s)
Build files have been written to: /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_policy):
The OLD behavior for policy CMP0031 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Output from try compile: Change Dir: '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
Run Build Command(s): /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/bin/cmake -S/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands -B/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands --check-build-system CMakeFiles/Makefile.cmake 0
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/bin/cmake -E cmake_progress_start /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands//CMakeFiles/progress.marks
/usr/bin/gmake -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
/usr/bin/gmake -f CMakeFiles/cmCMAKE_TEST_COMMAND.dir/build.make CMakeFiles/cmCMAKE_TEST_COMMAND.dir/depend
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
cd /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands && /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles/cmCMAKE_TEST_COMMAND.dir/DependInfo.cmake
Dependee "/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles/cmCMAKE_TEST_COMMAND.dir/DependInfo.cmake" is newer than depender "/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles/cmCMAKE_TEST_COMMAND.dir/depend.internal".
Dependee "/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands/CMakeFiles/cmCMAKE_TEST_COMMAND.dir/depend.internal".
Scanning dependencies of target cmCMAKE_TEST_COMMAND
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
/usr/bin/gmake -f CMakeFiles/cmCMAKE_TEST_COMMAND.dir/build.make CMakeFiles/cmCMAKE_TEST_COMMAND.dir/build
gmake[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
[ 50%] Building C object CMakeFiles/cmCMAKE_TEST_COMMAND.dir/cmTestCommand.c.o
/usr/bin/cc -DMUCHO_MUDSLIDE -DcmCMAKE_TEST_COMMAND_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/include -I/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Source -fPIC -o CMakeFiles/cmCMAKE_TEST_COMMAND.dir/cmTestCommand.c.o -c /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c: In function ‘InitialPass’:
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:118:53: error: passing argument 4 of ‘info->CAPI->AddExecutable’ from incompatible pointer type [-Wincompatible-pointer-types]
118 | info->CAPI->AddExecutable(mf, "LoadedCommand", 1, &srcs, 0);
| ^~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:118:53: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:127:69: error: passing argument 5 of ‘info->CAPI->AddCustomCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
127 | info->CAPI->AddCustomCommand(mf, "LoadedCommand.cxx.in", file, 4, ccArgs, 1,
| ^~~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:127:69: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:128:32: error: passing argument 7 of ‘info->CAPI->AddCustomCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
128 | ccDep, 1, ccOut, "LoadedCommand");
| ^~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:128:32: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:128:42: error: passing argument 9 of ‘info->CAPI->AddCustomCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
128 | ccDep, 1, ccOut, "LoadedCommand");
| ^~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:128:42: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:134:63: error: passing argument 5 of ‘info->CAPI->AddCustomCommandToOutput’ from incompatible pointer type [-Wincompatible-pointer-types]
134 | info->CAPI->AddCustomCommandToOutput(mf, ccOut[0], file, 4, ccArgs, ccDep[0],
| ^~~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:134:63: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:139:70: error: passing argument 5 of ‘info->CAPI->AddCustomCommandToTarget’ from incompatible pointer type [-Wincompatible-pointer-types]
139 | info->CAPI->AddCustomCommandToTarget(mf, "LoadedCommand", file, 3, ccArgs,
| ^~~~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:139:70: note: expected ‘const char **’ but argument is of type ‘char **’
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:151:44: error: passing argument 4 of ‘info->CAPI->ExecuteCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
151 | info->CAPI->ExecuteCommand(mf, "SET", 2, args);
| ^~~~
| |
| char **
/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/Tests/LoadCommand/CMakeCommands/cmTestCommand.c:151:44: note: expected ‘const char **’ but argument is of type ‘char **’
gmake[2]: *** [CMakeFiles/cmCMAKE_TEST_COMMAND.dir/build.make:75: CMakeFiles/cmCMAKE_TEST_COMMAND.dir/cmTestCommand.c.o] Error 1
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/cmCMAKE_TEST_COMMAND.dir/all] Error 2
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand/CMakeCommands'
gmake: *** [Makefile:91: all] Error 2
failed to compile CMAKE_LOADED_COMMANDS
Configuring done (0.3s)
Generating done (0.0s)
Build files have been written to: /home/tkloczko/rpmbuild/BUILD/cmake-3.28.1/x86_64-redhat-linux-gnu/Tests/LoadCommand
======== End CMake output ======
[..]
96% tests passed, 26 tests failed out of 704
Label Time Summary:
CMake = 2057.32 sec*proc (292 tests)
CUDA = 171.23 sec*proc (11 tests)
HIP = 45.42 sec*proc (6 tests)
ISPC = 118.07 sec*proc (6 tests)
Label1 = 0.09 sec*proc (1 test)
Label2 = 0.09 sec*proc (1 test)
Qt5 = 831.00 sec*proc (49 tests)
command = 8.67 sec*proc (24 tests)
policy = 156.20 sec*proc (43 tests)
run = 2048.65 sec*proc (268 tests)
Total Test time (real) = 258.14 sec
The following tests FAILED:
49 - LoadCommand (Failed)
128 - CPackComponentsForAll-RPM-OnePackPerGroup (Failed)
129 - CPackComponentsForAll-RPM-IgnoreGroup (Failed)
136 - CPackComponentsPrefix (Failed)
139 - LoadedCommandOneConfig (Failed)
266 - BootstrapTest (Failed)
588 - RunCMake.CPack_RPM.CUSTOM_BINARY_SPEC_FILE (Failed)
589 - RunCMake.CPack_RPM.CUSTOM_NAMES (Failed)
590 - RunCMake.CPack_RPM.DEBUGINFO (Failed)
591 - RunCMake.CPack_RPM.DEFAULT_PERMISSIONS (Failed)
592 - RunCMake.CPack_RPM.DEPENDENCIES (Failed)
593 - RunCMake.CPack_RPM.DIST (Failed)
594 - RunCMake.CPack_RPM.EMPTY_DIR (Failed)
595 - RunCMake.CPack_RPM.VERSION (Failed)
596 - RunCMake.CPack_RPM.INSTALL_SCRIPTS (Failed)
597 - RunCMake.CPack_RPM.MAIN_COMPONENT (Failed)
598 - RunCMake.CPack_RPM.MINIMAL (Failed)
599 - RunCMake.CPack_RPM.PARTIALLY_RELOCATABLE_WARNING (Failed)
600 - RunCMake.CPack_RPM.PER_COMPONENT_FIELDS (Failed)
601 - RunCMake.CPack_RPM.SINGLE_DEBUGINFO (Failed)
602 - RunCMake.CPack_RPM.EXTRA_SLASH_IN_PATH (Failed)
603 - RunCMake.CPack_RPM.SOURCE_PACKAGE (Failed)
604 - RunCMake.CPack_RPM.SUGGESTS (Failed)
605 - RunCMake.CPack_RPM.SYMLINKS (Failed)
606 - RunCMake.CPack_RPM.USER_FILELIST (Failed)
607 - RunCMake.CPack_RPM.PROJECT_META (Failed)
Errors while running CTest
Full test suite output in attachmentcmake.FAIL.txt