Created attachment 529674 [details] build.log In file included from /usr/include/glibmm-2.4/glibmm.h:90, from /var/tmp/portage/dev-cpp/atkmm-2.24.2/work/atkmm-2.24.2/atk/atkmm/editabletext.cc:4: /usr/include/glibmm-2.4/glibmm/threads.h: In member function 'GPrivate* Glib::Threads::Private<T>::gobj()': /usr/include/glibmm-2.4/glibmm/threads.h:660:29: error: cannot convert 'GPrivate' {aka '_GPrivate'} to 'GPrivate*' {aka '_GPrivate*'} in return GPrivate* gobj() { return gobject_; } ^~~~~~~~
Created attachment 529676 [details] emerge --info
(In reply to lekto from comment #0) > Created attachment 529674 [details] > build.log > > In file included from /usr/include/glibmm-2.4/glibmm.h:90, > from > /var/tmp/portage/dev-cpp/atkmm-2.24.2/work/atkmm-2.24.2/atk/atkmm/ > editabletext.cc:4: > /usr/include/glibmm-2.4/glibmm/threads.h: In member function 'GPrivate* > Glib::Threads::Private<T>::gobj()': > /usr/include/glibmm-2.4/glibmm/threads.h:660:29: error: cannot convert > 'GPrivate' {aka '_GPrivate'} to 'GPrivate*' {aka '_GPrivate*'} in return > GPrivate* gobj() { return gobject_; } > ^~~~~~~~ Try to apply patch to dev-cpp/glibmm located in the bug you reported at https://bugs.gentoo.org/654776 by Sergei Trofimovich. It helps to build glibmm and lot of other packages too, including this one.
Patch by Sergei Trofimovich fixed error.
Let's close this as a duplicate of glibmm bug as it's triggered by glibmm's header: bug #654776 *** This bug has been marked as a duplicate of bug 654776 ***