month-old CMake update to 2.8.12.2 with side-effects for Qt?
MK-MacPorts at techno.ms
MK-MacPorts at techno.ms
Wed Mar 26 14:55:48 PDT 2014
I hadn’t built kmymoney4-devel for a while since there had been little progress in development.
But now that I tried it again I had to realise that it suddenly doesn’t build anymore.
Obviously it doesn’t even configure properly...
Here is what I saw:
—
.
.
.
:info:configure -- Results of Search for Phonon
:info:configure -- -> PHONON_VERSION is 4.7.1
:info:configure -- -> PHONON_INCLUDE_DIR is /opt/local/include
:info:configure -- -> PHONON_LIBRARY is /opt/local/lib/libphonon.dylib
:info:configure Change Dir: /opt/local/var/macports/build/_Users_okram_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build/CMakeFiles/CMakeTmp
:info:configure
:info:configure Run Build Command:/opt/local/bin/gmake "cmTryCompileExec446391939/fast"
:info:configure /opt/local/bin/gmake -f CMakeFiles/cmTryCompileExec446391939.dir/build.make CMakeFiles/cmTryCompileExec446391939.dir/build
:info:configure gmake[1]: Entering directory '/opt/local/var/macports/build/_Users_okram_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build/CMakeFiles/CMakeTmp'
:info:configure /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_Users_okram_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build/CMakeFiles/CMakeTmp/CMakeFiles 1
:info:configure Building CXX object CMakeFiles/cmTryCompileExec446391939.dir/check_qt_visibility.cpp.o
:info:configure /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -fno-common -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -Wno-return-type-c-linkage -arch x86_64 -I/opt/local/include/QtXmlPatterns -I/opt/local/include/QtXml -I/opt/local/include/QtWebKit -I/opt/local/include/QtUiTools -I/opt/local/include/QtTest -I/opt/local/include/QtSvg -I/opt/local/include/QtSql -I/opt/local/include/QtScriptTools -I/opt/local/include/QtScript -I/opt/local/include/QtOpenGL -I/opt/local/include/QtNetwork -I/opt/local/include/QtMultimedia -I/opt/local/include/QtHelp -I/opt/local/include/QtDesigner -I/opt/local/include/QtDeclarative -I/opt/local/include/QtDBus -I/opt/local/include/Qt3Support -I/opt/local/include/QtGui -I/opt/local/include/QtCore -I/opt/local/include -I/opt/local/share/qt4/mkspecs/default -o CMakeFiles/cmTryCompileExec446391939.dir/check_qt_visibility.cpp.o -c /opt/local/var/macports/build/_Users_okram_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build/CMakeTmp/check_qt_visibility.cpp
:info:configure clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
:info:configure CMakeFiles/cmTryCompileExec446391939.dir/build.make:60: recipe for target 'CMakeFiles/cmTryCompileExec446391939.dir/check_qt_visibility.cpp.o' failed
:info:configure gmake[1]: *** [CMakeFiles/cmTryCompileExec446391939.dir/check_qt_visibility.cpp.o] Error 1
:info:configure gmake[1]: Leaving directory '/opt/local/var/macports/build/_Users_okram_WC_MacPorts_ports_kde_kmymoney4-devel/kmymoney4-devel/work/build/CMakeFiles/CMakeTmp'
:info:configure Makefile:117: recipe for target 'cmTryCompileExec446391939/fast' failed
:info:configure gmake: *** [cmTryCompileExec446391939/fast] Error 2
:info:configure
:info:configure CMake Error at /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake:1377 (message):
:info:configure Qt compiled without support for -fvisibility=hidden. This will break
:info:configure plugins and linking of some applications. Please fix your Qt installation
:info:configure (try passing --reduce-exports to configure).
:info:configure Call Stack (most recent call first):
:info:configure /opt/local/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)
:info:configure CMakeLists.txt:56 (FIND_PACKAGE)
:info:configure
:info:configure
:info:configure -- Configuring incomplete, errors occurred!
:info:configure See also "/opt/local/var/macports/build/_Users_okram_WC_MacPorts_ports_kde_kmymoney4
-devel/kmymoney4-devel/work/build/CMakeFiles/CMakeOutput.log".
:info:configure See also "/opt/local/var/macports/build/_Users_okram_WC_MacPorts_ports_kde_kmymoney4
-devel/kmymoney4-devel/work/build/CMakeFiles/CMakeError.log".
—
Any idea what’s going there about "invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)” ?
I am puzzled…
Could this be related to the cmake upgrade a month ago?
Greets,
Marko
More information about the macports-dev
mailing list