Public bug reported:

g_thread_init() has been deprecated since glib 2.24, and removed from
glib 2.31. You should only call g_type_init() now.

This causes build failure. The current precise package (2.0.1) fails
with

test_contacts_picker-test-contacts-picker.o: In function `main':
/home/martin/ubuntu/tmp/ubuntuone-client-gnome-2.0.1/nautilus/test-contacts-picker.c:75:
 undefined reference to `g_thread_init'
collect2: ld returned 1 exit status

and trunk fails with

make[2]: Entering directory 
`/home/martin/upstream/ubuntuone-client-gnome/nautilus'
  CC     libnautilus_ubuntuone_la-ubuntuone-marshallers.lo
  CC     libnautilus_ubuntuone_la-ubuntuone-nautilus.lo
  CC     test_contacts_picker-test-contacts-picker.o
  CC     test_contacts_picker-contacts-view.o
  CC     test_contacts_picker-highlight.o
test-contacts-picker.c: In function 'main':
test-contacts-picker.c:75:2: 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

** Affects: ubuntuone-client-gnome
     Importance: Undecided
         Status: New

** Affects: ubuntuone-client-gnome (Ubuntu)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: In Progress

** Also affects: ubuntuone-client-gnome (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ubuntuone-client-gnome (Ubuntu)
       Status: New => In Progress

** Changed in: ubuntuone-client-gnome (Ubuntu)
   Importance: Undecided => High

** Changed in: ubuntuone-client-gnome (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

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

Title:
  Please drop g_thread_init() call, causing build failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntuone-client-gnome/+bug/903095/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to