[Pkg-ayatana-devel] Bug#951994: ayatana-indicator-messages: FTBFS: im-accounts-service.c:63:13: error: G_ADD_PRIVATE [-Werror]
Lucas Nussbaum
lucas at debian.org
Sun Feb 23 07:31:16 GMT 2020
Source: ayatana-indicator-messages
Version: 0.6.0-3
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> 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=\"Ayatana-Indicator-Messages\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ayatana_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);
> | ^~~~~~~~~~~~~~~
> 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=\"Ayatana-Indicator-Messages\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ayatana_indicator_messages_service-im-menu.o `test -f 'im-menu.c' || echo './'`im-menu.c
> cc1: all warnings being treated as errors
> make[3]: *** [Makefile:621: ayatana_indicator_messages_service-im-accounts-service.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/ayatana-indicator-messages_0.6.0-3_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-ayatana-devel
mailing list