Date: Mon, 29 Feb 2016 20:52:59 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207600] databases/akonadi: fix build with boost 1.60 on 9.x Message-ID: <bug-207600-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207600 Bug ID: 207600 Summary: databases/akonadi: fix build with boost 1.60 on 9.x Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: amdmi3@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) Assignee: kde@FreeBSD.org Created attachment 167576 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167576&action= =3Dedit Patch akonadi fails to build with boost 1.60 on 9.x: --- /usr/local/include/boost/bind/bind.hpp:882:65: error: no member named 'forw= ard' in namespace 'std' A1 && operator[] (boost::arg<1> (*) ()) const { return std::forward<A1>( a1_ ); } ~~~~~^ --- full log: http://people.freebsd.org/~amdmi3/akonadi-1.13.0.log I haven't digged deep, but it seems that combination of libstdc++ and clang= (as akonadi is built with clang on 9.x due to USES=3Dcompiler:c++11-lang) makes= boost misdetect support for c++11 features, and it tries to use std::forward whic= h is not present in the library. Another solution would be to switch akonadi to USES=3Dcompiler:c++11-lib (which may be more desirable, as building c++ lib= raries with clang while most ports are built with gcc may lead to ABI compatibility issues, and c++11-lib will use gcc to build), but it will also require additional testing. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207600-13>