FTBFS due to removed g_thread_init
Bug #911125 reported by
Martin Pitt
This bug affects 2 people
Bug Description
g_thread_init() and friends have been deprecated since glib 2.24. This causes some packages to FTBFS when they fail to build on warnings.
The fix is to replace g_thread_init() with g_type_init(). Alternatively you can build without G_DISABLE_
http://
Related branches
description: | updated |
Changed in dbus (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in dbus (Ubuntu Precise): | |
assignee: | nobody → Martin Pitt (pitti) |
Changed in evolution-data-server (Ubuntu Precise): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in evolution-exchange (Ubuntu Precise): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in evolution-webcal (Ubuntu Precise): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in geoclue (Ubuntu Precise): | |
assignee: | nobody → Ken VanDine (ken-vandine) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in evolution-data-server (Ubuntu Precise): | |
status: | New → Triaged |
Changed in gtk-sharp2 (Ubuntu Precise): | |
assignee: | nobody → Chris Halse Rogers (raof) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in gnome-utils (Ubuntu Precise): | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in gnome-keyring (Ubuntu Precise): | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in likewise-open (Ubuntu Precise): | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in yelp (Ubuntu Precise): | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → High |
status: | New → Triaged |
description: | updated |
Changed in dbus: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in yelp: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in librest (Ubuntu Precise): | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in librest: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in yelp: | |
status: | Confirmed → Fix Released |
Changed in dbus: | |
status: | Confirmed → Fix Released |
Changed in librest: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Both 1.4.x and trunk now fail to build with the current glib 2.31.x:
CCLD test-relay 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 'test_connection':
internals/
[...]
internals/refs.c: In function 'main': 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]
internals/
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).