Closed gitdevmod closed 5 years ago
Building kf5-kconfigwidgets error
:info:build /usr/bin/clang++ -pipe -Os -DNDEBUG -DQT_USE_EXTSTANDARDPATHS -DQT_EXTSTANDARDPATHS_ALT_DEFAULT=true -stdlib=libc++ -std=c++0x -fno-operator-names -fno-exceptions -D QT_NO_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 -Wvla -Wdate-time -pedantic -arch x86_64 -mmacosx-version-min=10.13 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-heade rpad_max_install_names CMakeFiles/klanguagenametest.dir/klanguagenametest_autogen/mocs_compilation.cpp.o CMakeFiles/klanguagenametest.dir/klanguagenametest.cpp.o -o ../bin/klang uagenametest -Wl,-rpath,/opt/local/lib /opt/local/libexec/qt5/Library/Frameworks/QtTest.framework/QtTest ../bin/libKF5ConfigWidgets.5.60.0.dylib /opt/local/lib/libKF5Codecs.5.60. 0.dylib /opt/local/lib/libKF5WidgetsAddons.5.60.0.dylib /opt/local/lib/libKF5ConfigGui.5.60.0.dylib /opt/local/libexec/qt5/Library/Frameworks/QtXml.framework/QtXml /opt/local/lib /libKF5ConfigCore.5.60.0.dylib /opt/local/lib/libKF5Auth.5.60.0.dylib /opt/local/libexec/qt5/Library/Frameworks/QtWidgets.framework/QtWidgets /opt/local/lib/libKF5AuthCore.5.60.0 .dylib /opt/local/lib/libKF5CoreAddons.5.60.0.dylib /opt/local/libexec/qt5/Library/Frameworks/QtGui.framework/QtGui /opt/local/libexec/qt5/Library/Frameworks/QtCore.framework/QtC ore :info:build [ 97%] Built target kconfigdialog_unittest :info:build Undefined symbols for architecture x86_64: :info:build "bool QTest::qCompare<QString, char [10]>(QString const&, char const (&) [10], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNoTranslation() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [11]>(QString const&, char const (&) [11], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNameForCode() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [12]>(QString const&, char const (&) [12], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNameForCodeInLocale() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [14]>(QString const&, char const (&) [14], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNameForCodeInLocale() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [20]>(QString const&, char const (&) [20], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNoEntry() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [7]>(QString const&, char const (&) [7], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNameForCode() in klanguagenametest.cpp.o :info:build KLanguageNameTest::testNoTranslation() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [8]>(QString const&, char const (&) [8], char const, char const, char const*, int)", referenced from: :info:build KLanguageNameTest::testNameForCode() in klanguagenametest.cpp.o :info:build KLanguageNameTest::testNameForCodeInLocale() in klanguagenametest.cpp.o :info:build KLanguageNameTest::testNoEntry() in klanguagenametest.cpp.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[2]: [bin/klanguagenametest] Error 1 :info:build make[2]: Target autotests/CMakeFiles/klanguagenametest.dir/build' not remade because of errors. :info:build make[2]: Leaving directory/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build' :info:build make[1]: [autotests/CMakeFiles/klanguagenametest.dir/all] Error 2 :info:build make[1]: Target all' not remade because of errors. :info:build make[1]: Leaving directory/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON -kw :info:build Exit code: 2 :error:build Failed to build kf5-kconfigwidgets: command execution failed
autotests/CMakeFiles/klanguagenametest.dir/build' not remade because of errors. :info:build make[2]: Leaving directory
all' not remade because of errors. :info:build make[1]: Leaving directory
main.log
with last commit, it builds now $ port info kf5-kconfigwidgets kf5-kconfigwidgets @5.60.0 (kf5, kde, devel, KF5-Frameworks)
Building kf5-kconfigwidgets error
:info:build /usr/bin/clang++ -pipe -Os -DNDEBUG -DQT_USE_EXTSTANDARDPATHS -DQT_EXTSTANDARDPATHS_ALT_DEFAULT=true -stdlib=libc++ -std=c++0x -fno-operator-names -fno-exceptions -D QT_NO_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 -Wvla -Wdate-time -pedantic -arch x86_64 -mmacosx-version-min=10.13 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-heade rpad_max_install_names CMakeFiles/klanguagenametest.dir/klanguagenametest_autogen/mocs_compilation.cpp.o CMakeFiles/klanguagenametest.dir/klanguagenametest.cpp.o -o ../bin/klang uagenametest -Wl,-rpath,/opt/local/lib /opt/local/libexec/qt5/Library/Frameworks/QtTest.framework/QtTest ../bin/libKF5ConfigWidgets.5.60.0.dylib /opt/local/lib/libKF5Codecs.5.60. 0.dylib /opt/local/lib/libKF5WidgetsAddons.5.60.0.dylib /opt/local/lib/libKF5ConfigGui.5.60.0.dylib /opt/local/libexec/qt5/Library/Frameworks/QtXml.framework/QtXml /opt/local/lib /libKF5ConfigCore.5.60.0.dylib /opt/local/lib/libKF5Auth.5.60.0.dylib /opt/local/libexec/qt5/Library/Frameworks/QtWidgets.framework/QtWidgets /opt/local/lib/libKF5AuthCore.5.60.0 .dylib /opt/local/lib/libKF5CoreAddons.5.60.0.dylib /opt/local/libexec/qt5/Library/Frameworks/QtGui.framework/QtGui /opt/local/libexec/qt5/Library/Frameworks/QtCore.framework/QtC ore :info:build [ 97%] Built target kconfigdialog_unittest :info:build Undefined symbols for architecture x86_64: :info:build "bool QTest::qCompare<QString, char [10]>(QString const&, char const (&) [10], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNoTranslation() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [11]>(QString const&, char const (&) [11], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNameForCode() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [12]>(QString const&, char const (&) [12], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNameForCodeInLocale() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [14]>(QString const&, char const (&) [14], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNameForCodeInLocale() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [20]>(QString const&, char const (&) [20], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNoEntry() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [7]>(QString const&, char const (&) [7], char const, char const, char const, int)", referenced from: :info:build KLanguageNameTest::testNameForCode() in klanguagenametest.cpp.o :info:build KLanguageNameTest::testNoTranslation() in klanguagenametest.cpp.o :info:build "bool QTest::qCompare<QString, char [8]>(QString const&, char const (&) [8], char const, char const, char const*, int)", referenced from: :info:build KLanguageNameTest::testNameForCode() in klanguagenametest.cpp.o :info:build KLanguageNameTest::testNameForCodeInLocale() in klanguagenametest.cpp.o :info:build KLanguageNameTest::testNoEntry() in klanguagenametest.cpp.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[2]: [bin/klanguagenametest] Error 1 :info:build make[2]: Target
autotests/CMakeFiles/klanguagenametest.dir/build' not remade because of errors. :info:build make[2]: Leaving directory
/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build' :info:build make[1]: [autotests/CMakeFiles/klanguagenametest.dir/all] Error 2 :info:build make[1]: Targetall' not remade because of errors. :info:build make[1]: Leaving directory
/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON -kw :info:build Exit code: 2 :error:build Failed to build kf5-kconfigwidgets: command execution failedmain.log