#38315: akonadi fails to build on snow leopard --------------------------------------+-------------------------------- Reporter: thomas.friedrichsmeier@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: --------------------------------------+-------------------------------- Package akonadi fails to build on (at least on snow leopard). The relevant lines of the error message are --- [ 4%] Automoc for target akonadi_shared cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build/shared && /opt/local/bin/cmake -E cmake_automoc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build/shared/CMakeFiles/akonadi_shared_automoc.dir/ Generating moc_akapplication.cpp opt/local/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" AUTOMOC: error: process for /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_akonadi/akonadi/work/build/shared/moc_akapplication.cpp failed: opt/local/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" moc failed... make[2]: *** [shared/CMakeFiles/akonadi_shared_automoc] Error 1 --- The problem can be circumvented by using the patch from netbsd: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/mail/akonadi/patches/patch- shared_akapplication.h?rev=1.1&content-type=text/x-cvsweb-markup However, it may be noteworthy, that looks very much like #35210 , so a different fix might be more appropriate. macports 2.1.3, automoc 0.9.88 Revision 4, boost 1.53.0 Revision 1, akonadi 1.9.0 -- Ticket URL: <https://trac.macports.org/ticket/38315> MacPorts <http://www.macports.org/> Ports system for OS X