Unity fails to build on raring: g_io_scheduler_push_job is deprecated

Bug #1100658 reported by Andrea Azzarone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Andrea Azzarone
unity (Ubuntu)
Fix Released
High
Andrea Azzarone

Bug Description

/home/andrea/unity/source/unity/unity-shared/IconLoader.cpp: In member function ‘void unity::IconLoader::Impl::IconLoaderTask::PushSchedulerJob()’:
/home/andrea/unity/source/unity/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/andrea/unity/source/unity/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/andrea/unity/source/unity/unity-shared/IconLoader.cpp: In static member function ‘static gboolean unity::IconLoader::Impl::IconLoaderTask::LoaderJobFunc(GIOSchedulerJob*, GCancellable*, gpointer)’:
/home/andrea/unity/source/unity/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/andrea/unity/source/unity/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[2]: *** Waiting for unfinished jobs....
make[1]: *** [unity-shared/CMakeFiles/unity-shared.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Related branches

Andrea Azzarone (azzar1)
Changed in unity:
importance: Undecided → High
Stephen M. Webb (bregma)
Changed in unity:
status: New → In Progress
Changed in unity:
status: In Progress → Fix Committed
Andrea Azzarone (azzar1)
Changed in unity:
assignee: nobody → Andrea Azzarone (andyrock)
milestone: none → 7.0.0
Changed in unity (Ubuntu):
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Andrea Azzarone (andyrock)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 6.12.0daily13.01.18-0ubuntu1

---------------
unity (6.12.0daily13.01.18-0ubuntu1) raring; urgency=low

  [ Brandon Schaefer ]
  * HUD does not save the current input focus correctly (LP: #1100962)

  [ Andrea Azzarone ]
  * Unity fails to build on raring: g_io_scheduler_push_job is
    deprecated (LP: #1100658)

  [ Marco Trevisan (Treviño) ]
  * Launcher - Update BFB icon to use a new special asset (and no tile)
    (LP: #1081697)
  * Launcher - Update Launcher tile assets (LP: #1081687)

  [ Daniel van Vugt ]
  * Allow launcher icons smaller than 32px (LP: #930031)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 3048
 -- Automatic PS uploader <email address hidden> Fri, 18 Jan 2013 04:02:06 +0000

Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Stephen M. Webb (bregma) wrote :

Fix Released in Unity Unity 7.0.0 "R series".

Changed in unity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.