Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2013 21:40:58 +0200
From:      Koop Mast <kwm@rainbow-runner.nl>
To:        Paolo D'Angeli <paolo.dangeli@asdc.asi.it>
Cc:        gnome@FreeBSD.org
Subject:   Re: FreeBSD 10 update glibmm error
Message-ID:  <520BDD4A.9030703@rainbow-runner.nl>
In-Reply-To: <302B96A614C54C7C9B46CA80634CF351@vaioPC>
References:  <302B96A614C54C7C9B46CA80634CF351@vaioPC>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12-8-2013 10:07, Paolo D'Angeli wrote:
> Hello ,
>
> Im trying to update glibmm to version 2.36.2
>
> My system is FreeBSD 10 64bit

I can't reproduce this error, could you give some more information like 
make.conf content installed ports and if your glib20 port is also 
updated to 2.36.3?

-Koop

> This is the error :
>
> portmaster -Gbw --no-confirm devel/glibmm
>
> dbussubtreevtable.cc:125:39: error: redefinition of 'vtable' with a different type: 'const Gio::DBus::InterfaceVTable *' vs 'Gio::DBus::SubtreeVTable *'
>      const Gio::DBus::InterfaceVTable* vtable =
>                                        ^
> dbussubtreevtable.cc:117:29: note: previous definition is here
>    Gio::DBus::SubtreeVTable* vtable =
>                              ^
> dbussubtreevtable.cc:129:22: error: const_cast from 'Gio::DBus::SubtreeVTable *' to 'Gio::DBus::InterfaceVTable *' is not allowed
>      *out_user_data = const_cast<Gio::DBus::InterfaceVTable*>(vtable);
>                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> dbussubtreevtable.cc:131:12: error: cannot initialize return object of type 'const GDBusInterfaceVTable *' (aka 'const _GDBusInterfaceVTable *') with an rvalue of type 'GDBusSubtreeVTable *' (aka '_GDBusSubtreeVTable *')
>      return vtable->gobj();
>             ^~~~~~~~~~~~~~
> 3 errors generated.
> gmake[2]: *** [dbussubtreevtable.lo] Error 1
> gmake[2]: Leaving directory `/usr/ports/devel/glibmm/work/glibmm-2.36.2/gio/giomm'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/devel/glibmm/work/glibmm-2.36.2'
> gmake: *** [all] Error 2
> *** [do-build] Error code 1
>
> Stop in /usr/ports/devel/glibmm.
>
> ===>>> make failed for devel/glibmm
> ===>>> Aborting update
>
>
> How can I solve it ?
>
> Thanks
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?520BDD4A.9030703>