Source: irssi-plugin-xmpp
Version: 0.54+git20191101+c13fa5-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220716 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -fPIC -DUOFF_T_LONG -fPIC -DUOFF_T_LONG  
> -I../../src/core -I/usr/include/irssi -I/usr/include/irssi/src 
> -I/usr/include/irssi/src/core -I/usr/include/irssi/src/fe-common/core 
> -I/usr/include/irssi/src/fe-text `pkg-config --cflags glib-2.0` `pkg-config 
> --cflags loudmouth-1.0` -o xep/vcard.o -c xep/vcard.c
> xep/ping.c:41:9: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead 
> [-Wdeprecated-declarations]
>    41 |         GTimeVal  time;
>       |         ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:32,
>                  from /usr/include/glib-2.0/glib.h:30,
>                  from /usr/include/irssi/src/common.h:39,
>                  from ../../src/core/module.h:4,
>                  from xep/ping.c:26:
> /usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
>   553 | struct _GTimeVal
>       |        ^~~~~~~~~
> xep/ping.c: In function ‘request_ping’:
> xep/ping.c:66:17: warning: ‘g_get_current_time’ is deprecated: Use 
> 'g_get_real_time' instead [-Wdeprecated-declarations]
>    66 |                 g_get_current_time(&server->lag_sent);
>       |                 ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
>                  from /usr/include/glib-2.0/glib.h:54,
>                  from /usr/include/irssi/src/common.h:39,
>                  from ../../src/core/module.h:4,
>                  from xep/ping.c:26:
> /usr/include/glib-2.0/glib/gmain.h:712:8: note: declared here
>   712 | void   g_get_current_time                 (GTimeVal       *result);
>       |        ^~~~~~~~~~~~~~~~~~
> xep/ping.c:66:36: warning: passing argument 1 of ‘g_get_current_time’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>    66 |                 g_get_current_time(&server->lag_sent);
>       |                                    ^~~~~~~~~~~~~~~~~
>       |                                    |
>       |                                    gint64 * {aka long int *}
> In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
>                  from /usr/include/glib-2.0/glib.h:54,
>                  from /usr/include/irssi/src/common.h:39,
>                  from ../../src/core/module.h:4,
>                  from xep/ping.c:26:
> /usr/include/glib-2.0/glib/gmain.h:712:60: note: expected ‘GTimeVal *’ {aka 
> ‘struct _GTimeVal *’} but argument is of type ‘gint64 *’ {aka ‘long int *’}
>   712 | void   g_get_current_time                 (GTimeVal       *result);
>       |                                            ~~~~~~~~~~~~~~~~^~~~~~
> xep/ping.c:72:17: warning: ‘g_get_current_time’ is deprecated: Use 
> 'g_get_real_time' instead [-Wdeprecated-declarations]
>    72 |                 g_get_current_time(&pd->time);
>       |                 ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
>                  from /usr/include/glib-2.0/glib.h:54,
>                  from /usr/include/irssi/src/common.h:39,
>                  from ../../src/core/module.h:4,
>                  from xep/ping.c:26:
> /usr/include/glib-2.0/glib/gmain.h:712:8: note: declared here
>   712 | void   g_get_current_time                 (GTimeVal       *result);
>       |        ^~~~~~~~~~~~~~~~~~
> xep/ping.c: In function ‘sig_recv_iq’:
> xep/ping.c:101:9: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead 
> [-Wdeprecated-declarations]
>   101 |         GTimeVal now;
>       |         ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:32,
>                  from /usr/include/glib-2.0/glib.h:30,
>                  from /usr/include/irssi/src/common.h:39,
>                  from ../../src/core/module.h:4,
>                  from xep/ping.c:26:
> /usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
>   553 | struct _GTimeVal
>       |        ^~~~~~~~~
> xep/ping.c:109:25: warning: ‘g_get_current_time’ is deprecated: Use 
> 'g_get_real_time' instead [-Wdeprecated-declarations]
>   109 |                         g_get_current_time(&now);
>       |                         ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
>                  from /usr/include/glib-2.0/glib.h:54,
>                  from /usr/include/irssi/src/common.h:39,
>                  from ../../src/core/module.h:4,
>                  from xep/ping.c:26:
> /usr/include/glib-2.0/glib/gmain.h:712:8: note: declared here
>   712 | void   g_get_current_time                 (GTimeVal       *result);
>       |        ^~~~~~~~~~~~~~~~~~
> xep/ping.c:111:29: warning: ‘get_timeval_diff’ is deprecated 
> [-Wdeprecated-declarations]
>   111 |                             (int)get_timeval_diff(&now, 
> &server->lag_sent);
>       |                             ^
> In file included from xep/ping.c:27:
> /usr/include/irssi/src/core/misc.h:19:6: note: declared here
>    19 | long get_timeval_diff(const GTimeVal *tv1, const GTimeVal *tv2) 
> G_GNUC_DEPRECATED;
>       |      ^~~~~~~~~~~~~~~~
> xep/ping.c:111:57: warning: passing argument 2 of ‘get_timeval_diff’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>   111 |                             (int)get_timeval_diff(&now, 
> &server->lag_sent);
>       |                                                         
> ^~~~~~~~~~~~~~~~~
>       |                                                         |
>       |                                                         gint64 * {aka 
> long int *}
> In file included from xep/ping.c:27:
> /usr/include/irssi/src/core/misc.h:19:60: note: expected ‘const GTimeVal *’ 
> {aka ‘const struct _GTimeVal *’} but argument is of type ‘gint64 *’ {aka 
> ‘long int *’}
>    19 | long get_timeval_diff(const GTimeVal *tv1, const GTimeVal *tv2) 
> G_GNUC_DEPRECATED;
>       |                                            ~~~~~~~~~~~~~~~~^~~
> xep/ping.c:119:33: warning: ‘g_get_current_time’ is deprecated: Use 
> 'g_get_real_time' instead [-Wdeprecated-declarations]
>   119 |                                 g_get_current_time(&now);
>       |                                 ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
>                  from /usr/include/glib-2.0/glib.h:54,
>                  from /usr/include/irssi/src/common.h:39,
>                  from ../../src/core/module.h:4,
>                  from xep/ping.c:26:
> /usr/include/glib-2.0/glib/gmain.h:712:8: note: declared here
>   712 | void   g_get_current_time                 (GTimeVal       *result);
>       |        ^~~~~~~~~~~~~~~~~~
> xep/ping.c:121:37: warning: ‘get_timeval_diff’ is deprecated 
> [-Wdeprecated-declarations]
>   121 |                                     get_timeval_diff(&now, 
> &pd->time));
>       |                                     ^~~~~~~~~~~~~~~~
> In file included from xep/ping.c:27:
> /usr/include/irssi/src/core/misc.h:19:6: note: declared here
>    19 | long get_timeval_diff(const GTimeVal *tv1, const GTimeVal *tv2) 
> G_GNUC_DEPRECATED;
>       |      ^~~~~~~~~~~~~~~~
> xep/ping.c: In function ‘check_ping_func’:
> xep/ping.c:169:37: error: request for member ‘tv_sec’ in something not a 
> structure or union
>   169 |                 if (server->lag_sent.tv_sec != 0) {
>       |                                     ^
> xep/ping.c:172:52: error: request for member ‘tv_sec’ in something not a 
> structure or union
>   172 |                             (now - server->lag_sent.tv_sec) > 
> max_lag) {
>       |                                                    ^
> make[4]: *** [../rules.mk:10: xep/ping.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/16/irssi-plugin-xmpp_0.54+git20191101+c13fa5-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to