FreeBSD 10 update glibmm error

Koop Mast kwm at rainbow-runner.nl
Wed Aug 14 19:41:01 UTC 2013


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"



More information about the freebsd-gnome mailing list