Re: libvirt upgrade



On Thu, Feb 16, 2012 at 11:24 PM, Michael Hill <mdhillca gmail com> wrote:
> On Wed, Feb 15, 2012 at 9:52 AM, Christophe Fergeau <cfergeau redhat com> wrote:
>> On Wed, Feb 15, 2012 at 09:28:34AM -0500, Michael Hill wrote:
>>> I wasn't watching, but I believe I got the new libvirt this morning
>>> with jhbuild.  Now libvirt-glib fails to build.  Is this expected
>>> behaviour?
>>
>> Any more details? This not expected no.
>
> Much like this (I'll try again now that I have Internet):
>
...
> make[2]: Entering directory
> `/home/mike/checkout/gnome/libvirt-glib/libvirt-glib'
>  CC     libvirt_glib_1_0_la-libvirt-glib-event.lo
>  CC     libvirt_glib_1_0_la-libvirt-glib-main.lo
> libvirt-glib-event.c: In function 'event_register_once':
> libvirt-glib-event.c:401:5: error: 'g_mutex_new' is deprecated

I think jhbuild is for some reason not updating the repo cause Daniel
has already fixed this in git master.

> (declared at /opt/gnome/include/glib-2.0/glib/deprecated/gthread.h:271)
> [-Werror=deprecated-declarations]
> libvirt-glib-main.c: In function 'gvir_init_check':
> libvirt-glib-main.c:67:9: error: 'g_thread_init' is deprecated
> (declared at /opt/gnome/include/glib-2.0/glib/deprecated/gthread.h:259)
> [-Werror=deprecated-declarations]
> cc1: all warnings being treated as errors

I just pushed a patch to jhbuild git master to not enable -Werror for
libvirt-glib, which should solve this problem.


-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]