[MacPorts] #41321: kdelibs4: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)

MacPorts noreply at macports.org
Tue Nov 12 00:08:40 PST 2013


#41321: kdelibs4: invalid deployment target for -stdlib=libc++ (requires OS X 10.7
or later)
--------------------------+-----------------------------------
 Reporter:  ryandesign@…  |      Owner:  nicos@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.2.1
 Keywords:  mavericks     |       Port:  kdelibs4, kdepimlibs4
--------------------------+-----------------------------------
 Configuring kdelibs4 fails on Mavericks:

 {{{
 Change Dir:
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/kdelibs4/work/build/CMakeFiles/CMakeTmp

 Run Build Command:/opt/local/bin/gmake "cmTryCompileExec2537301723/fast"
 /opt/local/bin/gmake -f
 CMakeFiles/cmTryCompileExec2537301723.dir/build.make
 CMakeFiles/cmTryCompileExec2537301723.dir/build
 gmake[1]: Entering directory
 `/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/kdelibs4/work/build/CMakeFiles/CMakeTmp'
 /opt/local/bin/cmake -E cmake_progress_report
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/kdelibs4/work/build/CMakeFiles/CMakeTmp/CMakeFiles
 1
 Building CXX object
 CMakeFiles/cmTryCompileExec2537301723.dir/check_qt_visibility.cpp.o
 /usr/bin/clang++    -pipe -Os -isystem/opt/local/include -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-exceptions -DQT_NO_EXCEPTIONS -fno-common
 -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden
 -fdelayed-template-parsing -Wno-return-type-c-linkage  -arch x86_64
 -I/opt/local/include/phonon -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/cmTryCompileExec2537301723.dir/check_qt_visibility.cpp.o -c
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/kdelibs4/work/build/CMakeTmp/check_qt_visibility.cpp
 clang: error: invalid deployment target for -stdlib=libc++ (requires OS X
 10.7 or later)
 gmake[1]: ***
 [CMakeFiles/cmTryCompileExec2537301723.dir/check_qt_visibility.cpp.o]
 Error 1
 gmake[1]: Leaving directory
 `/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/kdelibs4/work/build/CMakeFiles/CMakeTmp'
 gmake: *** [cmTryCompileExec2537301723/fast] Error 2

 CMake Error at cmake/modules/FindKDE4Internal.cmake:1362 (message):
   Qt compiled without support for -fvisibility=hidden.  This will break
   plugins and linking of some applications.  Please fix your Qt
 installation
   (try passing --reduce-exports to configure).
 Call Stack (most recent call first):
   CMakeLists.txt:56 (find_package)
 }}}

 I suspect this began when the cmake portgroup was recently changed. Prior
 to that, kdelibs4 installed successfully on Mavericks.

 This problem affects multiple ports: kdelibs4, kdepimlibs4, probably
 others.

-- 
Ticket URL: <https://trac.macports.org/ticket/41321>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list