Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654772 - dev-cpp/atkmm-2.24.2: error: cannot convert 'GPrivate' {aka '_GPrivate'} to 'GPrivate*' {aka '_GPrivate*'} in return GPrivate* gobj() { return gobject_; }
Summary: dev-cpp/atkmm-2.24.2: error: cannot convert 'GPrivate' {aka '_GPrivate'} to '...
Status: RESOLVED DUPLICATE of bug 654776
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-03 21:34 UTC by lekto
Modified: 2018-05-06 22:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,17.13 KB, text/x-log)
2018-05-03 21:34 UTC, lekto
Details
emerge --info (emerge.info,5.34 KB, application/x-info)
2018-05-03 21:36 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2018-05-03 21:34:34 UTC
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_; }
                             ^~~~~~~~
Comment 1 lekto 2018-05-03 21:36:37 UTC
Created attachment 529676 [details]
emerge --info
Comment 2 Ivan 2018-05-04 09:07:32 UTC
(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.
Comment 3 lekto 2018-05-04 13:04:39 UTC
Patch by Sergei Trofimovich fixed error.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2018-05-06 22:16:21 UTC
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 ***