Source: xnee
Version: 3.19-9.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

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

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../include   -g -DUSE_VERBOSE   
> -DNO_BUF_VERBOSE  -DHAVE_XOSD   -DXNEE_XINPUT_SUPPORT  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -c -o xnee_fake.lo xnee_fake.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I../include -g -DUSE_VERBOSE -DNO_BUF_VERBOSE 
> -DHAVE_XOSD -DXNEE_XINPUT_SUPPORT -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -c xnee_fake.c  -fPIC -DPIC -o 
> .libs/xnee_fake.o
> In file included from ../include/libxnee/print.h:24,
>                  from xnee_fake.c:28:
> xnee_fake.c: In function ‘xnee_fake_motion_event_impl’:
> xnee_fake.c:675:25: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>   675 |                         (int) xd->fake,
>       |                         ^
> ../include/libxnee/print_varargs.h:55:39: note: in definition of macro 
> ‘xnee_verbose’
>    55 | #define xnee_verbose(a) xnee_verbosef a
>       |                                       ^
> xnee_fake.c:676:25: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>   676 |                         (int) xdevice,
>       |                         ^
> ../include/libxnee/print_varargs.h:55:39: note: in definition of macro 
> ‘xnee_verbose’
>    55 | #define xnee_verbose(a) xnee_verbosef a
>       |                                       ^
> xnee_fake.c: In function ‘xnee_type_file’:
> xnee_fake.c:804:25: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
>   804 |       xnee_verbose ((xd,"  xnee_type_file loop read size=" 
> SIZE_T_PRINTF_FMT " \"%s\"\n",
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   805 |              strlen(tmp),tmp));
>       |              ~~~~~~~~~~~ 
>       |              |
>       |              size_t {aka long unsigned int}
> ../include/libxnee/print_varargs.h:55:39: note: in definition of macro 
> ‘xnee_verbose’
>    55 | #define xnee_verbose(a) xnee_verbosef a
>       |                                       ^
> xnee_fake.c:809:15: error: implicit declaration of function ‘xnee_check_key’; 
> did you mean ‘xnee_check_true’? [-Werror=implicit-function-declaration]
>   809 |           if (xnee_check_key (xd)==XNEE_GRAB_DATA)
>       |               ^~~~~~~~~~~~~~
>       |               xnee_check_true
> xnee_fake.c:811:22: error: implicit declaration of function 
> ‘xnee_handle_rec_key’; did you mean ‘xnee_handle_meta_data’? 
> [-Werror=implicit-function-declaration]
>   811 |               mode = xnee_handle_rec_key(xd);
>       |                      ^~~~~~~~~~~~~~~~~~~
>       |                      xnee_handle_meta_data
> cc1: some warnings being treated as errors
> make[4]: *** [Makefile:634: xnee_fake.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/xnee_3.19-9.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&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 mark 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