[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#952060: libsignon-glib: FTBFS: signon-auth-service.c:72:13: error: G_ADD_PRIVATE [-Werror]



Source: libsignon-glib
Version: 1.12-2
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):
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   -I.. -I. -I.. -I. -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/signond -Wall -Werror -Wno-error=deprecated-declarations -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libsignon_glib_la-signon-auth-service.lo `test -f 'signon-auth-service.c' || echo './'`signon-auth-service.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -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/signond -Wall -Werror -Wno-error=deprecated-declarations -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c signon-auth-service.c  -fPIC -DPIC -o .libs/libsignon_glib_la-signon-auth-service.o
> signon-auth-service.c: In function ‘signon_auth_service_init’:
> signon-auth-service.c:72:13: error: G_ADD_PRIVATE [-Werror]
>    72 |                                         SignonAuthServicePrivate);
>       |             ^              
> signon-auth-service.c: In function ‘signon_auth_service_class_init’:
> signon-auth-service.c:112:5: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
>   112 |     g_type_class_add_private (object_class, sizeof (SignonAuthServicePrivate));
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~
> 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 signon-auth-service.h:28,
>                  from signon-auth-service.c:34:
> /usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here
>  1308 | void     g_type_class_add_private       (gpointer                    g_class,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[4]: *** [Makefile:654: libsignon_glib_la-signon-auth-service.lo] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/libsignon-glib_1.12-2_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.


Reply to: