Launchpad has imported 2 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=44413.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-01-03T09:42:34+00:00 Martin Pitt wrote:

Both 1.4.x and trunk now fail to build with the current glib 2.31.x:

  CCLD   test-relay
internals/refs.c: In function 'test_connection':
internals/refs.c:279:9: error: 'g_thread_create' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 'g_thread_new' 
instead [-Werror=deprecated-declarations]

[...]

internals/refs.c: In function 'main':
internals/refs.c:598:3: error: 'g_thread_init' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gthread.h:259) 
[-Werror=deprecated-declarations]
cc1: all warnings being treated as errors


The g_thread_* API has been deprecated in 2.31.x, and g_thread_init() is not 
necessary any more since 2.24 (g_type_init() cares about this).

Reply at: https://bugs.launchpad.net/dbus/+bug/911125/comments/1

------------------------------------------------------------------------
On 2012-01-03T10:05:24+00:00 Martin Pitt wrote:

Created attachment 55069
proposed patch

This patch works, but it bumps the glib requirement for the tests to
2.31.4 (g_thread_new() did not exist in 2.30.x). If that's not
appropriate, I could add some #if magic to emulate g_thread_new() with a
macro that calls  g_thread_create() if you are interested.

Reply at: https://bugs.launchpad.net/dbus/+bug/911125/comments/2


** Changed in: dbus
       Status: Unknown => Confirmed

** Changed in: dbus
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution-webcal in Ubuntu.
https://bugs.launchpad.net/bugs/911125

Title:
  FTBFS due to removed g_thread_init

To manage notifications about this bug go to:
https://bugs.launchpad.net/dbus/+bug/911125/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to