Comment 157 for bug 729979

Revision history for this message
Esokrates (esokrarkose) wrote :

Sam, I am afraid I cannot build your unity branch anymore (on a fresh install of today's daily build) ... I do not know what is causing this error (I have tried everything: compiling and installing bamf and nux first etc.).
All build dependencies were fullfilled.
I suppose it is not necessary anymore to compile your compiz branch as it has already merged, am I right? (https://bugs.launchpad.net/compiz/+bug/1089811)

If I compile unity I get the following error:

[ 16%] Building CXX object unity-shared/CMakeFiles/unity-shared.dir/IconLoader.cpp.o
/home/user/unity.fix_1091600/unity-shared/IconLoader.cpp: In member function ‘void unity::IconLoader::Impl::IconLoaderTask::PushSchedulerJob()’:
/home/user/unity.fix_1091600/unity-shared/IconLoader.cpp:637:9: error: ‘void g_io_scheduler_push_job(GIOSchedulerJobFunc, gpointer, GDestroyNotify, gint, GCancellable*)’ is deprecated (declared at /usr/include/glib-2.0/gio/gioscheduler.h:36): Use '"GThreadPool or g_task_run_in_thread"' instead [-Werror=deprecated-declarations]
/home/user/unity.fix_1091600/unity-shared/IconLoader.cpp:637:93: error: ‘void g_io_scheduler_push_job(GIOSchedulerJobFunc, gpointer, GDestroyNotify, gint, GCancellable*)’ is deprecated (declared at /usr/include/glib-2.0/gio/gioscheduler.h:36): Use '"GThreadPool or g_task_run_in_thread"' instead [-Werror=deprecated-declarations]
/home/user/unity.fix_1091600/unity-shared/IconLoader.cpp: In static member function ‘static gboolean unity::IconLoader::Impl::IconLoaderTask::LoaderJobFunc(GIOSchedulerJob*, GCancellable*, gpointer)’:
/home/user/unity.fix_1091600/unity-shared/IconLoader.cpp:672:7: error: ‘void g_io_scheduler_job_send_to_mainloop_async(GIOSchedulerJob*, GSourceFunc, gpointer, GDestroyNotify)’ is deprecated (declared at /usr/include/glib-2.0/gio/gioscheduler.h:49): Use 'g_main_context_invoke' instead [-Werror=deprecated-declarations]
/home/user/unity.fix_1091600/unity-shared/IconLoader.cpp:672:86: error: ‘void g_io_scheduler_job_send_to_mainloop_async(GIOSchedulerJob*, GSourceFunc, gpointer, GDestroyNotify)’ is deprecated (declared at /usr/include/glib-2.0/gio/gioscheduler.h:49): Use 'g_main_context_invoke' instead [-Werror=deprecated-declarations]
cc1plus: all warnings being treated as errors
make[2]: *** [unity-shared/CMakeFiles/unity-shared.dir/IconLoader.cpp.o] Error 1
make[1]: *** [unity-shared/CMakeFiles/unity-shared.dir/all] Error 2
make: *** [all] Error 2