FreeBSD 10 update glibmm error

Paolo D'Angeli paolo.dangeli at asdc.asi.it
Mon Aug 12 09:13:25 UTC 2013


Hello ,

Im trying to update glibmm to version 2.36.2

My system is FreeBSD 10 64bit

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


More information about the freebsd-gnome mailing list