Skip to content

Instantly share code, notes, and snippets.

@liangqi
Created September 6, 2024 19:16
Show Gist options
  • Save liangqi/6a18bd1000e16a57b7194f214b89fb66 to your computer and use it in GitHub Desktop.
Save liangqi/6a18bd1000e16a57b7194f214b89fb66 to your computer and use it in GitHub Desktop.
==> Installing kde-mac/kde/kf6-kbookmarks dependency: kde-mac/kde/kf6-sonnet
==> cmake -G Ninja -B build -S . -D BUILD_QCH=ON -D BUILD_TESTING=ON -D BUILD_TESTS=ON -D BUILD_UNITTESTS=ON -D CMAKE_INSTALL_BUNDLEDIR=/opt/homebrew/Cellar/kf6-sonnet/6.5
==> cmake --build build
Last 15 lines from /Users/liangqi/Library/Logs/Homebrew/kf6-sonnet/02.cmake:
#include "sonnet/settings.h"
^~~~~~~~~~~~~~~~~~~
"Sonnet/settings.h"
1 warning generated.
[186/205] /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60500 -DQT_FORCE_ASSERTS -DQT_MAC_USE_COCOA -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_TESTCASE_BUILDDIR=\"/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build/autotests\" -DQT_TESTCASE_SOURCEDIR=\"/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/autotests\" -DQT_TESTLIB_LIB -DQT_USE_QSTRINGBUILDER -DSONNETCORE_DEPRECATED_WARNINGS_SINCE=0x0 -DSONNETCORE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -D_DARWIN_C_SOURCE -D_LARGEFILE64_SOURCE -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build/autotests -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/autotests -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build/autotests/test_autodetect_autogen/include -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build/src/core -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/src/core -isystem /opt/homebrew/lib/QtCore.framework/Headers -iframework /opt/homebrew/lib -isystem /opt/homebrew/share/qt/mkspecs/macx-clang -isystem /opt/homebrew/lib/QtTest.framework/Headers -fno-operator-names -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -pedantic -Wzero-as-null-pointer-constant -fdiagnostics-color=always -O3 -DNDEBUG -std=c++20 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT autotests/CMakeFiles/test_autodetect.dir/test_autodetect.cpp.o -MF autotests/CMakeFiles/test_autodetect.dir/test_autodetect.cpp.o.d -o autotests/CMakeFiles/test_autodetect.dir/test_autodetect.cpp.o -c /tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/autotests/test_autodetect.cpp
[187/205] /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60500 -DQT_GUI_LIB -DQT_MAC_USE_COCOA -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DSONNETCORE_DEPRECATED_WARNINGS_SINCE=0x0 -DSONNETCORE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -D_DARWIN_C_SOURCE -D_LARGEFILE64_SOURCE -Dsonnetquickplugin_EXPORTS -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build/src/quick -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/src/quick -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build/src/quick/sonnetquickplugin_autogen/include -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build/src/core -I/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/src/core -I/opt/homebrew/lib/QtQml.framework/Versions/A/Headers/6.7.0 -I/opt/homebrew/lib/QtQml.framework/Versions/A/Headers/6.7.0/QtQml -I/opt/homebrew/lib/QtCore.framework/Versions/A/Headers/6.7.0 -I/opt/homebrew/lib/QtCore.framework/Versions/A/Headers/6.7.0/QtCore -I/opt/homebrew/include/QtQmlBuiltins/6.7.0 -I/opt/homebrew/include/QtQmlBuiltins/6.7.0/QtQmlBuiltins -isystem /opt/homebrew/lib/QtCore.framework/Headers -iframework /opt/homebrew/lib -isystem /opt/homebrew/share/qt/mkspecs/macx-clang -isystem /opt/homebrew/include/QtQmlBuiltins -isystem /opt/homebrew/lib/QtQml.framework/Headers -isystem /opt/homebrew/include/QtQmlIntegration -isystem /opt/homebrew/lib/QtNetwork.framework/Headers -isystem /opt/homebrew/lib/QtQuick.framework/Headers -isystem /opt/homebrew/lib/QtGui.framework/Headers -isystem /opt/homebrew/lib/QtQmlModels.framework/Headers -isystem /opt/homebrew/lib/QtOpenGL.framework/Headers -fno-operator-names -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -pedantic -Wzero-as-null-pointer-constant -fdiagnostics-color=always -O3 -DNDEBUG -std=c++20 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT src/quick/CMakeFiles/sonnetquickplugin.dir/sonnetquickplugin_qmltyperegistrations.cpp.o -MF src/quick/CMakeFiles/sonnetquickplugin.dir/sonnetquickplugin_qmltyperegistrations.cpp.o.d -o src/quick/CMakeFiles/sonnetquickplugin.dir/sonnetquickplugin_qmltyperegistrations.cpp.o -c /tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build/src/quick/sonnetquickplugin_qmltyperegistrations.cpp
In file included from /tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build/src/quick/sonnetquickplugin_qmltyperegistrations.cpp:11:
In file included from /tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/src/quick/types.h:8:
/tmp/kf6-sonnet-20240906-48867-c52fy/sonnet-6.5.0/build/src/core/Sonnet/Settings:1:10: warning: non-portable path to file '"Sonnet/settings.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include "sonnet/settings.h"
^~~~~~~~~~~~~~~~~~~
"Sonnet/settings.h"
1 warning generated.
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment