#49299: akonadi build fails after qt4-mac update -------------------------+--------------------- Reporter: jwhowse4@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: akonadi | -------------------------+--------------------- Comment (by jwhowse4@…): Replying to [comment:2 michaelld@…]:
Here's the error: {{{ :info:build In file included from /Volumes/User_Disk/opt/macports/libexec/qt4/include/QtCore/qobject.h:50: :info:build /Volumes/User_Disk/opt/macports/libexec/qt4/include/QtCore/qlist.h:55:10: fatal error: 'initializer_list' file not found :info:build #include <initializer_list> :info:build ^ }}}
I think that the issue is that qt4-mac was build with support for c++11 (directly via the +cxx11 variant or even just internally somehow), while akonadi is trying to build using c++0x; shouldn't make a difference, but clearly it does. "initializer_list" is c++11 or newer.
What does "port installed qt4-mac" return for you? Did you update to Xcode 5.1 recently, such as after qt4-mac was last built?
"port installed qt4-mac" returns "qt4-mac @4.8.7_2+odbc (active)". I installed XCode 5.1.1 some time ago, long before I updated the qt4-mac port. -- Ticket URL: <https://trac.macports.org/ticket/49299#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X