Source: x2gokdrive
Version: 0.0.0.3-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20241223 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, this package failed to build
on armhf.

This package currently has binary packages on armhf, so this is a regression.
Also, there are no known issues on amd64 or arm64 according to recent (a couple
days ago) rebuilds.

The rebuild was done using an armhf chroot on an AWS "m6g" instance (Graviton2
CPU).

Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I../../../include  -I../../../hw/kdrive/src 
> -I../../../miext/sync -I../../../miext/damage -I../../../miext/shadow 
> -I../../../Xext -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall 
> -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes 
> -Wmissing-prototypes -Wnested-externs -Wbad-function-cast 
> -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized 
> -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls 
> -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main 
> -Werror=missing-braces -Werror=sequence-point -Werror=return-type 
> -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address 
> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing 
> -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN 
> -DHAS_STICKY_DIR_BIT -I/usr/include/pixman-1 -I/usr/include/freetype2 
> -I/usr/include/libpng16  -I../../../include -I../../../include 
> -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes 
> -I../../../Xi -I../../../mi -I../../../miext/sync -I../../../miext/shadow  
> -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb 
> -I../../../dbe -I../../../present -I/usr/include/libpng16 -DHAVE_DIX_CONFIG_H 
> -I../../.. -I../../../exa -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DPRE_RELEASE=0   -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security  -c -o x2gokdriveinit.o x2gokdriveinit.c
> x2gokdriveremote.c: In function ‘restartTimerOnInit’:
> x2gokdriveremote.c:137:74: error: passing argument 4 of ‘TimerSet’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>   137 |             
> remoteVars.checkConnectionTimer=TimerSet(0,0,ACCEPT_TIMEOUT, 
> checkSocketConnection, NULL);
>       |                                                                       
>    ^~~~~~~~~~~~~~~~~~~~~
>       |                                                                       
>    |
>       |                                                                       
>    unsigned int (*)(struct _OsTimerRec *, CARD32,  void *) {aka unsigned int 
> (*)(struct _OsTimerRec *, long unsigned int,  void *)}
> In file included from x2gokdrive.h:35,
>                  from x2gokdriveremote.h:36,
>                  from x2gokdriveremote.c:37:
> ../../../include/os.h:200:54: note: expected ‘OsTimerCallback’ {aka ‘long 
> unsigned int (*)(struct _OsTimerRec *, long unsigned int,  void *)’} but 
> argument is of type ‘unsigned int (*)(struct _OsTimerRec *, CARD32,  void *)’ 
> {aka ‘unsigned int (*)(struct _OsTimerRec *, long unsigned int,  void *)’}
>   200 |                                      OsTimerCallback func,
>       |                                      ~~~~~~~~~~~~~~~~^~~~
> x2gokdriveremote.c: In function ‘remote_process_client_event’:
> x2gokdriveremote.c:2489:120: error: passing argument 4 of ‘TimerSet’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>  2489 |         
> remoteVars.checkKeepAliveTimer=TimerSet(remoteVars.checkKeepAliveTimer,0,get_keepalive
>  (remoteVars.client_os), checkClientAlive, NULL);
>       |                                                                       
>                                                  ^~~~~~~~~~~~~~~~
>       |                                                                       
>                                                  |
>       |                                                                       
>                                                  unsigned int (*)(struct 
> _OsTimerRec *, CARD32,  void *) {aka unsigned int (*)(struct _OsTimerRec *, 
> long unsigned int,  void *)}
> ../../../include/os.h:200:54: note: expected ‘OsTimerCallback’ {aka ‘long 
> unsigned int (*)(struct _OsTimerRec *, long unsigned int,  void *)’} but 
> argument is of type ‘unsigned int (*)(struct _OsTimerRec *, CARD32,  void *)’ 
> {aka ‘unsigned int (*)(struct _OsTimerRec *, long unsigned int,  void *)’}
>   200 |                                      OsTimerCallback func,
>       |                                      ~~~~~~~~~~~~~~~~^~~~
> x2gokdriveremote.c: In function ‘set_client_version’:
> x2gokdriveremote.c:2961:91: error: passing argument 4 of ‘TimerSet’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>  2961 |         remoteVars.checkKeepAliveTimer=TimerSet(0,0,get_keepalive 
> (remoteVars.client_os), checkClientAlive, NULL);
>       |                                                                       
>                     ^~~~~~~~~~~~~~~~
>       |                                                                       
>                     |
>       |                                                                       
>                     unsigned int (*)(struct _OsTimerRec *, CARD32,  void *) 
> {aka unsigned int (*)(struct _OsTimerRec *, long unsigned int,  void *)}
> ../../../include/os.h:200:54: note: expected ‘OsTimerCallback’ {aka ‘long 
> unsigned int (*)(struct _OsTimerRec *, long unsigned int,  void *)’} but 
> argument is of type ‘unsigned int (*)(struct _OsTimerRec *, CARD32,  void *)’ 
> {aka ‘unsigned int (*)(struct _OsTimerRec *, long unsigned int,  void *)’}
>   200 |                                      OsTimerCallback func,
>       |                                      ~~~~~~~~~~~~~~~~^~~~
> x2gokdriveremote.c: In function ‘open_socket’:
> gcc -DHAVE_CONFIG_H -I. -I../../../include  -I../../../hw/kdrive/src 
> -I../../../miext/sync -I../../../miext/damage -I../../../miext/shadow 
> -I../../../Xext -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall 
> -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes 
> -Wmissing-prototypes -Wnested-externs -Wbad-function-cast 
> -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized 
> -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls 
> -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main 
> -Werror=missing-braces -Werror=sequence-point -Werror=return-type 
> -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address 
> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing 
> -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN 
> -DHAS_STICKY_DIR_BIT -I/usr/include/pixman-1 -I/usr/include/freetype2 
> -I/usr/include/libpng16  -I../../../include -I../../../include 
> -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes 
> -I../../../Xi -I../../../mi -I../../../miext/sync -I../../../miext/shadow  
> -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb 
> -I../../../dbe -I../../../present -I/usr/include/libpng16 -DHAVE_DIX_CONFIG_H 
> -I../../.. -I../../../exa -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DPRE_RELEASE=0   -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security  -c -o x2gokdriveselection.o x2gokdriveselection.c
> x2gokdriveremote.c:3265:66: error: passing argument 4 of ‘TimerSet’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>  3265 |     remoteVars.checkConnectionTimer=TimerSet(0,0,ACCEPT_TIMEOUT, 
> checkSocketConnection, NULL);
>       |                                                                  
> ^~~~~~~~~~~~~~~~~~~~~
>       |                                                                  |
>       |                                                                  
> unsigned int (*)(struct _OsTimerRec *, CARD32,  void *) {aka unsigned int 
> (*)(struct _OsTimerRec *, long unsigned int,  void *)}
> ../../../include/os.h:200:54: note: expected ‘OsTimerCallback’ {aka ‘long 
> unsigned int (*)(struct _OsTimerRec *, long unsigned int,  void *)’} but 
> argument is of type ‘unsigned int (*)(struct _OsTimerRec *, CARD32,  void *)’ 
> {aka ‘unsigned int (*)(struct _OsTimerRec *, long unsigned int,  void *)’}
>   200 |                                      OsTimerCallback func,
>       |                                      ~~~~~~~~~~~~~~~~^~~~
> make[6]: *** [Makefile:727: x2gokdriveremote.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/12/23/x2gokdrive_0.0.0.3-1_unstable-armhf.log

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