Skip to content

Instantly share code, notes, and snippets.

@harfangk
Last active April 5, 2019 14:01
Show Gist options
  • Save harfangk/7e7ec0005bb74e885b9f40c73ab4f1ca to your computer and use it in GitHub Desktop.
Save harfangk/7e7ec0005bb74e885b9f40c73ab4f1ca to your computer and use it in GitHub Desktop.
error log for syntax highlighter
➜ syntax-highlighting git:(master) ✗ cmake ./ && make && make test
Checking file [/usr/local/share/ECM/cmake/ECMConfig.cmake]
Checking file [/home/bonghyunkim/Qt5.10.0/5.10.0/gcc_64/lib/cmake/Qt5Core/Qt5CoreConfig.cmake]
Checking file [/home/bonghyunkim/Qt5.10.0/5.10.0/gcc_64/lib/cmake/Qt5Core/Qt5CoreConfig.cmake]
Checking file [/home/bonghyunkim/Qt5.10.0/5.10.0/gcc_64/lib/cmake/Qt5/Qt5Config.cmake]
Checking file [/home/bonghyunkim/Qt5.10.0/5.10.0/gcc_64/lib/cmake/Qt5Core/Qt5CoreConfig.cmake]
Checking file [/home/bonghyunkim/Qt5.10.0/5.10.0/gcc_64/lib/cmake/Qt5Network/Qt5NetworkConfig.cmake]
Checking file [/home/bonghyunkim/Qt5.10.0/5.10.0/gcc_64/lib/cmake/Qt5Test/Qt5TestConfig.cmake]
Checking file [/home/bonghyunkim/Qt5.10.0/5.10.0/gcc_64/lib/cmake/Qt5/Qt5Config.cmake]
Checking file [/home/bonghyunkim/Qt5.10.0/5.10.0/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake]
Checking file [/home/bonghyunkim/Qt5.10.0/5.10.0/gcc_64/lib/cmake/Qt5/Qt5Config.cmake]
Checking file [/home/bonghyunkim/Qt5.10.0/5.10.0/gcc_64/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake]
Checking file [/home/bonghyunkim/Qt5.10.0/5.10.0/gcc_64/lib/cmake/Qt5XmlPatterns/Qt5XmlPatternsConfig.cmake]
-- The following features have been enabled:
* SYNTAX_RESOURCE, Bundle the syntax definition files inside the library as resources
-- The following OPTIONAL packages have been found:
* Qt5Widgets
Example application.
* Qt5XmlPatterns
Compile-time validation of syntax definition files.
-- The following REQUIRED packages have been found:
* ECM (required version >= 5.56.0)
* Qt5Core
* Qt5Network
* Qt5Test
* Qt5Gui
* Qt5 (required version >= 5.10.0), <http://qt-project.org/>
* Perl
Auto-generate PHP syntax definition files.
-- The following features have been disabled:
* FEATURE_NO_STANDARD_PATHS, Skip lookup of syntax and theme definitions in QStandardPaths locations
* QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)
-- Configuring done
CMake Warning (dev) in data/CMakeLists.txt:
Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
For compatibility, CMake is excluding the GENERATED source file(s):
"/home/bonghyunkim/Documents/Projects/syntax-highlighting/data/qrc_theme-data.cpp"
from processing by AUTOMOC. If any of the files should be processed, set
CMP0071 to NEW. If any of the files should not be processed, explicitly
exclude them by setting the source file property SKIP_AUTOMOC:
set_property(SOURCE file.h PROPERTY SKIP_AUTOMOC ON)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /home/bonghyunkim/Documents/Projects/syntax-highlighting
[ 1%] Automatic MOC for target SyntaxHighlightingData
[ 1%] Built target SyntaxHighlightingData_autogen
[ 2%] Automatic MOC for target katehighlightingindexer
[ 2%] Built target katehighlightingindexer_autogen
[ 6%] Built target katehighlightingindexer
[ 8%] Generating index.katesyntax
[ 9%] Generating qrc_syntax-data.cpp
Scanning dependencies of target SyntaxHighlightingData
[ 10%] Building CXX object data/CMakeFiles/SyntaxHighlightingData.dir/qrc_syntax-data.cpp.o
[ 14%] Built target SyntaxHighlightingData
[ 16%] Automatic MOC for target KF5SyntaxHighlighting
[ 16%] Built target KF5SyntaxHighlighting_autogen
Scanning dependencies of target KF5SyntaxHighlighting
[ 17%] Building CXX object src/lib/CMakeFiles/KF5SyntaxHighlighting.dir/abstracthighlighter.cpp.o
[ 18%] Building CXX object src/lib/CMakeFiles/KF5SyntaxHighlighting.dir/definitiondownloader.cpp.o
[ 20%] Building CXX object src/lib/CMakeFiles/KF5SyntaxHighlighting.dir/definition.cpp.o
[ 21%] Linking CXX shared library ../../bin/libKF5SyntaxHighlighting.so
[ 43%] Built target KF5SyntaxHighlighting
[ 44%] Automatic MOC for target kate-syntax-highlighter
[ 44%] Built target kate-syntax-highlighter_autogen
Scanning dependencies of target kate-syntax-highlighter
[ 45%] Building CXX object src/cli/CMakeFiles/kate-syntax-highlighter.dir/kate-syntax-highlighter.cpp.o
[ 47%] Linking CXX executable ../../bin/kate-syntax-highlighter
[ 48%] Built target kate-syntax-highlighter
[ 50%] Automatic MOC for target codeeditor
[ 50%] Built target codeeditor_autogen
[ 51%] Linking CXX executable ../bin/codeeditor
[ 55%] Built target codeeditor
[ 56%] Automatic MOC for target repository_benchmark
[ 56%] Built target repository_benchmark_autogen
Scanning dependencies of target repository_benchmark
[ 58%] Building CXX object autotests/CMakeFiles/repository_benchmark.dir/repository_benchmark.cpp.o
[ 59%] Linking CXX executable ../bin/repository_benchmark
[ 60%] Built target repository_benchmark
[ 62%] Automatic MOC for target highlighter_benchmark
[ 62%] Built target highlighter_benchmark_autogen
Scanning dependencies of target highlighter_benchmark
[ 63%] Building CXX object autotests/CMakeFiles/highlighter_benchmark.dir/highlighter_benchmark.cpp.o
[ 64%] Linking CXX executable ../bin/highlighter_benchmark
[ 66%] Built target highlighter_benchmark
[ 67%] Automatic MOC for target syntaxrepository_test
[ 67%] Built target syntaxrepository_test_autogen
Scanning dependencies of target syntaxrepository_test
[ 68%] Building CXX object autotests/CMakeFiles/syntaxrepository_test.dir/syntaxrepository_test.cpp.o
[ 70%] Linking CXX executable ../bin/syntaxrepository_test
[ 71%] Built target syntaxrepository_test
[ 72%] Automatic MOC for target testhighlighter_test
[ 72%] Built target testhighlighter_test_autogen
Scanning dependencies of target testhighlighter_test
[ 74%] Building CXX object autotests/CMakeFiles/testhighlighter_test.dir/testhighlighter.cpp.o
[ 75%] Linking CXX executable ../bin/testhighlighter_test
[ 77%] Built target testhighlighter_test
[ 78%] Automatic MOC for target wildcardmatcher_test
[ 78%] Built target wildcardmatcher_test_autogen
[ 79%] Linking CXX executable ../bin/wildcardmatcher_test
[ 83%] Built target wildcardmatcher_test
[ 85%] Automatic MOC for target theme_test
[ 85%] Built target theme_test_autogen
Scanning dependencies of target theme_test
[ 86%] Building CXX object autotests/CMakeFiles/theme_test.dir/theme_test.cpp.o
[ 87%] Linking CXX executable ../bin/theme_test
[ 89%] Built target theme_test
[ 90%] Automatic MOC for target htmlhighlighter_test
[ 90%] Built target htmlhighlighter_test_autogen
Scanning dependencies of target htmlhighlighter_test
[ 91%] Building CXX object autotests/CMakeFiles/htmlhighlighter_test.dir/htmlhighlighter_test.cpp.o
[ 93%] Linking CXX executable ../bin/htmlhighlighter_test
[ 94%] Built target htmlhighlighter_test
[ 95%] Automatic MOC for target folding_test
[ 95%] Built target folding_test_autogen
Scanning dependencies of target folding_test
[ 97%] Building CXX object autotests/CMakeFiles/folding_test.dir/foldingtest.cpp.o
[ 98%] Linking CXX executable ../bin/folding_test
[100%] Built target folding_test
Running tests...
Test project /home/bonghyunkim/Documents/Projects/syntax-highlighting
Start 1: appstreamtest
1/7 Test #1: appstreamtest .................... Passed 0.00 sec
Start 2: wildcardmatcher_test
2/7 Test #2: wildcardmatcher_test ............. Passed 0.00 sec
Start 3: syntaxrepository_test
3/7 Test #3: syntaxrepository_test ............ Passed 8.02 sec
Start 4: theme_test
4/7 Test #4: theme_test ....................... Passed 0.03 sec
Start 5: testhighlighter_test
5/7 Test #5: testhighlighter_test .............***Failed 1.87 sec
Start 6: htmlhighlighter_test
6/7 Test #6: htmlhighlighter_test .............***Failed 2.24 sec
Start 7: folding_test
7/7 Test #7: folding_test .....................***Failed 5.18 sec
57% tests passed, 3 tests failed out of 7
Total Test time (real) = 17.35 sec
The following tests FAILED:
5 - testhighlighter_test (Failed)
6 - htmlhighlighter_test (Failed)
7 - folding_test (Failed)
Errors while running CTest
Makefile:108: recipe for target 'test' failed
make: *** [test] Error 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment