[MacPorts] #43065: akonadi fails to build with Xcode 5.1 due to unrecognized -fno-check-new clang argument

MacPorts noreply at macports.org
Mon Mar 24 16:12:59 PDT 2014


#43065: akonadi fails to build with Xcode 5.1 due to unrecognized -fno-check-new
clang argument
-------------------------+--------------------------------
 Reporter:  sk-public@…  |      Owner:  macports-tickets@…
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.2.1
 Keywords:               |       Port:  akonadi
-------------------------+--------------------------------
 Building on Xcode 5.1 (clang version 503.0.38) fails due to the '-fno-
 check-new' option, which clang doesn't recognize:

 {{{
 :info:build Building CXX object
 shared/CMakeFiles/akonadi_shared.dir/akapplication.cpp.o
 :info:build cd /Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build/shared
 && /usr/bin/clang++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII
 -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_KEYWORDS
 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -pipe -Os -arch
 x86_64  -std=c++0x -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-
 subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -fno-check-new
 -fno-common -DNDEBUG -arch x86_64 -I/Users/digikam-
 build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build/shared
 -I/Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0/shared
 -isystem /Users/digikam-build/include -isystem /Users/digikam-
 build/include/QtGui -isystem /Users/digikam-build/include/QtCore -I/Users
 /digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0
 -I/Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build
 -I/Users/digikam-build/include/QtDesigner -I/Users/digikam-
 build/include/QtDeclarative -I/Users/digikam-build/include/QtScriptTools
 -I/Users/digikam-build/include/QtDBus -I/Users/digikam-build/include/QtXml
 -I/Users/digikam-build/include/QtSql -I/Users/digikam-
 build/include/QtOpenGL -I/Users/digikam-build/include/QtMultimedia
 -I/Users/digikam-build/include/QtNetwork -I/Users/digikam-
 build/include/phonon -I/Users/digikam-build/include/QtXmlPatterns -I/Users
 /digikam-build/include/QtWebKit -I/Users/digikam-build/include/QtHelp
 -I/Users/digikam-build/include/QtUiTools -I/Users/digikam-
 build/include/QtTest -I/Users/digikam-build/include/QtScript -I/Users
 /digikam-build/include/QtSvg -I/Users/digikam-build/include/Qt3Support
 -I/Users/digikam-build/share/qt4/mkspecs/default    -o
 CMakeFiles/akonadi_shared.dir/akapplication.cpp.o -c /Users/digikam-
 build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0/shared/akapplication.cpp
 :info:build Building CXX object
 shared/CMakeFiles/akonadi_shared.dir/akdbus.cpp.o
 :info:build cd /Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build/shared
 && /usr/bin/clang++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII
 -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_KEYWORDS
 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -pipe -Os -arch
 x86_64  -std=c++0x -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-
 subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -fno-check-new
 -fno-common -DNDEBUG -arch x86_64 -I/Users/digikam-
 build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build/shared
 -I/Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0/shared
 -isystem /Users/digikam-build/include -isystem /Users/digikam-
 build/include/QtGui -isystem /Users/digikam-build/include/QtCore -I/Users
 /digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0
 -I/Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build
 -I/Users/digikam-build/include/QtDesigner -I/Users/digikam-
 build/include/QtDeclarative -I/Users/digikam-build/include/QtScriptTools
 -I/Users/digikam-build/include/QtDBus -I/Users/digikam-build/include/QtXml
 -I/Users/digikam-build/include/QtSql -I/Users/digikam-
 build/include/QtOpenGL -I/Users/digikam-build/include/QtMultimedia
 -I/Users/digikam-build/include/QtNetwork -I/Users/digikam-
 build/include/phonon -I/Users/digikam-build/include/QtXmlPatterns -I/Users
 /digikam-build/include/QtWebKit -I/Users/digikam-build/include/QtHelp
 -I/Users/digikam-build/include/QtUiTools -I/Users/digikam-
 build/include/QtTest -I/Users/digikam-build/include/QtScript -I/Users
 /digikam-build/include/QtSvg -I/Users/digikam-build/include/Qt3Support
 -I/Users/digikam-build/share/qt4/mkspecs/default    -o
 CMakeFiles/akonadi_shared.dir/akdbus.cpp.o -c /Users/digikam-
 build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0/shared/akdbus.cpp
 :info:build Building CXX object
 shared/CMakeFiles/akonadi_shared.dir/akdebug.cpp.o
 :info:build cd /Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build/shared
 && /usr/bin/clang++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII
 -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_KEYWORDS
 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -pipe -Os -arch
 x86_64  -std=c++0x -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-
 subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -fno-check-new
 -fno-common -DNDEBUG -arch x86_64 -I/Users/digikam-
 build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build/shared
 -I/Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0/shared
 -isystem /Users/digikam-build/include -isystem /Users/digikam-
 build/include/QtGui -isystem /Users/digikam-build/include/QtCore -I/Users
 /digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0
 -I/Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build
 -I/Users/digikam-build/include/QtDesigner -I/Users/digikam-
 build/include/QtDeclarative -I/Users/digikam-build/include/QtScriptTools
 -I/Users/digikam-build/include/QtDBus -I/Users/digikam-build/include/QtXml
 -I/Users/digikam-build/include/QtSql -I/Users/digikam-
 build/include/QtOpenGL -I/Users/digikam-build/include/QtMultimedia
 -I/Users/digikam-build/include/QtNetwork -I/Users/digikam-
 build/include/phonon -I/Users/digikam-build/include/QtXmlPatterns -I/Users
 /digikam-build/include/QtWebKit -I/Users/digikam-build/include/QtHelp
 -I/Users/digikam-build/include/QtUiTools -I/Users/digikam-
 build/include/QtTest -I/Users/digikam-build/include/QtScript -I/Users
 /digikam-build/include/QtSvg -I/Users/digikam-build/include/Qt3Support
 -I/Users/digikam-build/share/qt4/mkspecs/default    -o
 CMakeFiles/akonadi_shared.dir/akdebug.cpp.o -c /Users/digikam-
 build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0/shared/akdebug.cpp
 :info:build Building CXX object
 shared/CMakeFiles/akonadi_shared.dir/akstandarddirs.cpp.o
 :info:build cd /Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build/shared
 && /usr/bin/clang++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII
 -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_KEYWORDS
 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -pipe -Os -arch
 x86_64  -std=c++0x -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-
 subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -fno-check-new
 -fno-common -DNDEBUG -arch x86_64 -I/Users/digikam-
 build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build/shared
 -I/Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0/shared
 -isystem /Users/digikam-build/include -isystem /Users/digikam-
 build/include/QtGui -isystem /Users/digikam-build/include/QtCore -I/Users
 /digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0
 -I/Users/digikam-build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build
 -I/Users/digikam-build/include/QtDesigner -I/Users/digikam-
 build/include/QtDeclarative -I/Users/digikam-build/include/QtScriptTools
 -I/Users/digikam-build/include/QtDBus -I/Users/digikam-build/include/QtXml
 -I/Users/digikam-build/include/QtSql -I/Users/digikam-
 build/include/QtOpenGL -I/Users/digikam-build/include/QtMultimedia
 -I/Users/digikam-build/include/QtNetwork -I/Users/digikam-
 build/include/phonon -I/Users/digikam-build/include/QtXmlPatterns -I/Users
 /digikam-build/include/QtWebKit -I/Users/digikam-build/include/QtHelp
 -I/Users/digikam-build/include/QtUiTools -I/Users/digikam-
 build/include/QtTest -I/Users/digikam-build/include/QtScript -I/Users
 /digikam-build/include/QtSvg -I/Users/digikam-build/include/Qt3Support
 -I/Users/digikam-build/share/qt4/mkspecs/default    -o
 CMakeFiles/akonadi_shared.dir/akstandarddirs.cpp.o -c /Users/digikam-
 build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/akonadi-1.11.0/shared/akstandarddirs.cpp
 :info:build clang: error: unknown argument: '-fno-check-new' [-Wunused-
 command-line-argument-hard-error-in-future]
 :info:build clang: note: this will be a hard error (cannot be downgraded
 to a warning) in the future
 :info:build clang: error: unknown argument: '-fno-check-new' [-Wunused-
 command-line-argument-hard-error-in-future]
 :info:build clang: note: this will be a hard error (cannot be downgraded
 to a warning) in the future
 :info:build make[2]: ***
 [shared/CMakeFiles/akonadi_shared.dir/akapplication.cpp.o] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 :info:build make[2]: ***
 [shared/CMakeFiles/akonadi_shared.dir/akcrash.cpp.o] Error 1
 :info:build clang: error: unknown argument: '-fno-check-new' [-Wunused-
 command-line-argument-hard-error-in-future]
 :info:build clang: note: this will be a hard error (cannot be downgraded
 to a warning) in the future
 :info:build clang: error: unknown argument: '-fno-check-new' [-Wunused-
 command-line-argument-hard-error-in-future]
 :info:build clang: note: this will be a hard error (cannot be downgraded
 to a warning) in the future
 :info:build clang: error: unknown argument: '-fno-check-new' [-Wunused-
 command-line-argument-hard-error-in-future]
 :info:build clang: note: this will be a hard error (cannot be downgraded
 to a warning) in the future
 :info:build make[2]: ***
 [shared/CMakeFiles/akonadi_shared.dir/akdbus.cpp.o] Error 1
 :info:build make[2]: ***
 [shared/CMakeFiles/akonadi_shared.dir/akstandarddirs.cpp.o] Error 1
 :info:build make[2]: ***
 [shared/CMakeFiles/akonadi_shared.dir/akdebug.cpp.o] Error 1
 :info:build make[2]: Leaving directory `/Users/digikam-
 build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build'
 :info:build make[1]: *** [shared/CMakeFiles/akonadi_shared.dir/all] Error
 2
 :info:build make[1]: Leaving directory `/Users/digikam-
 build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory `/Users/digikam-
 build/var/macports/build/_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build'
 :info:build Command failed:  cd "/Users/digikam-build/var/macports/build
 /_Users_digikam-
 build_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build"
 && /usr/bin/make -j5 -w all
 :info:build Exit code: 2
 :error:build org.macports.build for port akonadi returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 96251 2
 }}}

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


More information about the macports-tickets mailing list