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

Bug#806156: libsignon-glib: FTBFS: signon-auth-session.c:639:5: error: 'g_simple_async_result_propagate_error' is deprecated [-Werror=deprecated-declarations]



Package: src:libsignon-glib
Version: 1.12-1
Severity: serious
Justification: fails to build from source

libsignong-glib FTBFS from source with
| libtool: compile:  gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/signond -Wall -Werror -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c signon-auth-session.c  -fPIC -DPIC -o .libs/libsignon_glib_la-signon-auth-session.o
| signon-auth-session.c: In function 'auth_session_process_reply':
| signon-auth-session.c:155:9: error: 'g_simple_async_result_set_op_res_gpointer' is deprecated [-Werror=deprecated-declarations]
|          g_simple_async_result_set_op_res_gpointer (res_process, reply,
|          ^
| In file included from /usr/include/glib-2.0/gio/gio.h:113:0,
|                  from ../libsignon-glib/signon-auth-session.h:29,
|                  from signon-identity.h:28,
|                  from signon-internals.h:41,
|                  from signon-auth-session.c:41:
| /usr/include/glib-2.0/gio/gsimpleasyncresult.h:75:6: note: declared here
|  void                g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult      *simple,
|       ^
| signon-auth-session.c:161:9: error: 'g_simple_async_result_take_error' is deprecated [-Werror=deprecated-declarations]
|          g_simple_async_result_take_error (res_process, error);
|          ^
| In file included from /usr/include/glib-2.0/gio/gio.h:113:0,
|                  from ../libsignon-glib/signon-auth-session.h:29,
|                  from signon-identity.h:28,
|                  from signon-internals.h:41,
|                  from signon-auth-session.c:41:
| /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:6: note: declared here
|  void                g_simple_async_result_take_error       (GSimpleAsyncResult      *simple,
|       ^
| signon-auth-session.c:168:5: error: 'g_simple_async_result_complete_in_idle' is deprecated [-Werror=deprecated-declarations]
|      g_simple_async_result_complete_in_idle (res_process);
|      ^
| In file included from /usr/include/glib-2.0/gio/gio.h:113:0,
|                  from ../libsignon-glib/signon-auth-session.h:29,
|                  from signon-identity.h:28,
|                  from signon-internals.h:41,
|                  from signon-auth-session.c:41:
| /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:6: note: declared here
|  void                g_simple_async_result_complete_in_idle (GSimpleAsyncResult      *simple);
|       ^
| signon-auth-session.c: In function 'auth_session_process_ready_cb':
| signon-auth-session.c:186:9: error: 'g_simple_async_result_set_from_error' is deprecated [-Werror=deprecated-declarations]
|          g_simple_async_result_set_from_error (res, error);
|          ^
| In file included from /usr/include/glib-2.0/gio/gio.h:113:0,
|                  from ../libsignon-glib/signon-auth-session.h:29,
|                  from signon-identity.h:28,
|                  from signon-internals.h:41,
|                  from signon-auth-session.c:41:
| /usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:6: note: declared here
|  void                g_simple_async_result_set_from_error   (GSimpleAsyncResult      *simple,
|       ^
| signon-auth-session.c:187:9: error: 'g_simple_async_result_complete' is deprecated [-Werror=deprecated-declarations]
|          g_simple_async_result_complete (res);
|          ^
| In file included from /usr/include/glib-2.0/gio/gio.h:113:0,
|                  from ../libsignon-glib/signon-auth-session.h:29,
|                  from signon-identity.h:28,
|                  from signon-internals.h:41,
|                  from signon-auth-session.c:41:
| /usr/include/glib-2.0/gio/gsimpleasyncresult.h:104:6: note: declared here
|  void                g_simple_async_result_complete         (GSimpleAsyncResult      *simple);
|       ^
| signon-auth-session.c:195:9: error: 'g_simple_async_result_set_error' is deprecated [-Werror=deprecated-declarations]
|          g_simple_async_result_set_error (res,
|          ^
| In file included from /usr/include/glib-2.0/gio/gio.h:113:0,
|                  from ../libsignon-glib/signon-auth-session.h:29,
|                  from signon-identity.h:28,
|                  from signon-internals.h:41,
|                  from signon-auth-session.c:41:
| /usr/include/glib-2.0/gio/gsimpleasyncresult.h:122:6: note: declared here
|  void                g_simple_async_result_set_error        (GSimpleAsyncResult      *simple,
|       ^
| signon-auth-session.c:199:9: error: 'g_simple_async_result_complete' is deprecated [-Werror=deprecated-declarations]
|          g_simple_async_result_complete (res);
|          ^
| In file included from /usr/include/glib-2.0/gio/gio.h:113:0,
|                  from ../libsignon-glib/signon-auth-session.h:29,
|                  from signon-identity.h:28,
|                  from signon-internals.h:41,
|                  from signon-auth-session.c:41:
| /usr/include/glib-2.0/gio/gsimpleasyncresult.h:104:6: note: declared here
|  void                g_simple_async_result_complete         (GSimpleAsyncResult      *simple);
|       ^
| signon-auth-session.c: In function 'signon_auth_session_process_async':
| signon-auth-session.c:595:5: error: 'g_simple_async_result_new' is deprecated: Use 'g_task_new' instead [-Werror=deprecated-declarations]
|      res = g_simple_async_result_new ((GObject *)self, callback, user_data,
|      ^
| In file included from /usr/include/glib-2.0/gio/gio.h:113:0,
|                  from ../libsignon-glib/signon-auth-session.h:29,
|                  from signon-identity.h:28,
|                  from signon-internals.h:41,
|                  from signon-auth-session.c:41:
| /usr/include/glib-2.0/gio/gsimpleasyncresult.h:51:21: note: declared here
|  GSimpleAsyncResult *g_simple_async_result_new              (GObject                 *source_object,
|                      ^
| signon-auth-session.c: In function 'signon_auth_session_process_finish':
| signon-auth-session.c:639:5: error: 'g_simple_async_result_propagate_error' is deprecated [-Werror=deprecated-declarations]
|      if (g_simple_async_result_propagate_error (async_result, error))
|      ^
| In file included from /usr/include/glib-2.0/gio/gio.h:113:0,
|                  from ../libsignon-glib/signon-auth-session.h:29,
|                  from signon-identity.h:28,
|                  from signon-internals.h:41,
|                  from signon-auth-session.c:41:
| /usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:10: note: declared here
|  gboolean            g_simple_async_result_propagate_error  (GSimpleAsyncResult      *simple,
|           ^
| signon-auth-session.c:642:5: error: 'g_simple_async_result_get_op_res_gpointer' is deprecated [-Werror=deprecated-declarations]
|      reply = g_simple_async_result_get_op_res_gpointer (async_result);
|      ^
| In file included from /usr/include/glib-2.0/gio/gio.h:113:0,
|                  from ../libsignon-glib/signon-auth-session.h:29,
|                  from signon-identity.h:28,
|                  from signon-internals.h:41,
|                  from signon-auth-session.c:41:
| /usr/include/glib-2.0/gio/gsimpleasyncresult.h:79:10: note: declared here
|  gpointer            g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult      *simple);
|           ^
| cc1: all warnings being treated as errors
| make[4]: *** [libsignon_glib_la-signon-auth-session.lo] Error 1

For a full build log see
https://people.debian.org/~sramacher/logs/libsignon-glib_1.12-1_amd64-20151124-2012.log

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


Reply to: