indicator-messages ftbfs in eoan

Bug #1843740 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-messages (Ubuntu)
Fix Released
High
Unassigned

Bug Description

https://launchpadlibrarian.net/441262676/buildlog_ubuntu-eoan-amd64.indicator-messages_13.10.1+18.10.20180918-0ubuntu1_BUILDING.txt.gz

gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/accountsservice-1.0 -I../common -Wall -Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-needed -Werror -Wno-error=deprecated-declarations -DG_LOG_DOMAIN=\"Indicator-Messages\" -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/indicator-messages-13.10.1+18.10.20180918=. -fstack-protector-strong -Wformat -Werror=format-security -c -o indicator_messages_service-im-accounts-service.o `test -f 'im-accounts-service.c' || echo './'`im-accounts-service.c
im-accounts-service.c: In function ‘im_accounts_service_class_init’:
im-accounts-service.c:54:2: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
   54 | g_type_class_add_private (klass, sizeof (ImAccountsServicePrivate));
      | ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/accountsservice-1.0/act/act-user-enum-types.h:7,
                 from /usr/include/accountsservice-1.0/act/act.h:24,
                 from im-accounts-service.c:24:
/usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here
 1308 | void g_type_class_add_private (gpointer g_class,
      | ^~~~~~~~~~~~~~~~~~~~~~~~
im-accounts-service.c: In function ‘im_accounts_service_init’:
im-accounts-service.c:63:13: error: G_ADD_PRIVATE [-Werror]
   63 | ImAccountsServicePrivate * priv = IM_ACCOUNTS_SERVICE_GET_PRIVATE(self);
      | ^~~~~~~~~~~~~~~
im-accounts-service.c: In function ‘im_accounts_service_dispose’:
im-accounts-service.c:81:13: error: G_ADD_PRIVATE [-Werror]
   81 | ImAccountsServicePrivate * priv = IM_ACCOUNTS_SERVICE_GET_PRIVATE(object);
      | ^~~~~~~~~~~~~~~
im-accounts-service.c: In function ‘user_changed’:
im-accounts-service.c:107:13: error: G_ADD_PRIVATE [-Werror]
  107 | ImAccountsServicePrivate * priv = IM_ACCOUNTS_SERVICE_GET_PRIVATE(user_data);
      | ^~~~~~~~~~~~~~~
im-accounts-service.c: In function ‘security_privacy_ready’:
im-accounts-service.c:138:13: error: G_ADD_PRIVATE [-Werror]
  138 | ImAccountsServicePrivate * priv = IM_ACCOUNTS_SERVICE_GET_PRIVATE(user_data);
      | ^~~~~~~~~~~~~~~
im-accounts-service.c: In function ‘on_user_manager_loaded’:
im-accounts-service.c:149:13: error: G_ADD_PRIVATE [-Werror]
  149 | ImAccountsServicePrivate * priv = IM_ACCOUNTS_SERVICE_GET_PRIVATE(user_data);
      | ^~~~~~~~~~~~~~~
im-accounts-service.c: In function ‘im_accounts_service_set_draws_attention’:
im-accounts-service.c:183:13: error: G_ADD_PRIVATE [-Werror]
  183 | ImAccountsServicePrivate * priv = IM_ACCOUNTS_SERVICE_GET_PRIVATE(service);
      | ^~~~~~~~~~~~~~~
im-accounts-service.c: In function ‘im_accounts_service_get_show_on_greeter’:
im-accounts-service.c:209:13: error: G_ADD_PRIVATE [-Werror]
  209 | ImAccountsServicePrivate * priv = IM_ACCOUNTS_SERVICE_GET_PRIVATE(service);
      | ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:622: indicator_messages_service-im-accounts-service.o] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/indicator-messages-13.10.1+18.10.20180918/src'
make[2]: *** [Makefile:491: all-recursive] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/indicator-messages-13.10.1+18.10.20180918'
make[1]: *** [Makefile:422: all] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/indicator-messages-13.10.1+18.10.20180918'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:6: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Related branches

Matthias Klose (doko)
tags: added: ftbfs rls-ee-incoming
Changed in indicator-messages (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in indicator-messages (Ubuntu):
status: Confirmed → In Progress
Changed in indicator-messages (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-messages - 13.10.1+18.10.20180918-0ubuntu2

---------------
indicator-messages (13.10.1+18.10.20180918-0ubuntu2) eoan; urgency=medium

  * src/im-accounts-service.c, src/indicator-desktop-shortcuts.c:
    - don't use deprecated g_type_class_add_private, fix the build with the
      current libglib version (lp: #1843740)

 -- Sebastien Bacher <email address hidden> Fri, 13 Sep 2019 11:30:08 +0200

Changed in indicator-messages (Ubuntu):
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.