Source: a56
Version: 1.3+dfsg-10
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):
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O 
> -DLDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -c keybld.c
> keybld.c:25:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    25 | main()
>       | ^~~~
> keybld.c: In function ‘main’:
> keybld.c:29:15: error: implicit declaration of function ‘gets’; did you mean 
> ‘fgets’? [-Werror=implicit-function-declaration]
>    29 |         while(gets(buf)) {
>       |               ^~~~
>       |               fgets
> keybld.c:37:27: error: implicit declaration of function ‘add_tok’ 
> [-Werror=implicit-function-declaration]
>    37 |                 } else if(add_tok(buf, bp) == -1) {
>       |                           ^~~~~~~
> keybld.c:42:9: error: implicit declaration of function ‘dump_machine’ 
> [-Werror=implicit-function-declaration]
>    42 |         dump_machine();
>       |         ^~~~~~~~~~~~
> keybld.c: At top level:
> keybld.c:72:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    72 | add_tok(tok, actions)
>       | ^~~~~~~
> keybld.c: In function ‘add_tok’:
> keybld.c:88:12: error: implicit declaration of function ‘follow’ 
> [-Werror=implicit-function-declaration]
>    88 |         if(follow(*tok, tok + 1, stop) == -1)
>       |            ^~~~~~
> keybld.c: At top level:
> keybld.c:95:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    95 | follow(c, tp, sp)
>       | ^~~~~~
> keybld.c: In function ‘follow’:
> keybld.c:118:50: warning: cast to pointer from integer of different size 
> [-Wint-to-pointer-cast]
>   118 |                         arcp->arg = arcup->arg = (void 
> *)n_user_actions;
>       |                                                  ^
> keybld.c: At top level:
> keybld.c:163:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   163 | dump_machine()
>       | ^~~~~~~~~~~~
> keybld.c: In function ‘dump_machine’:
> keybld.c:171:21: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 2 has type ‘long unsigned int’ [-Wformat=]
>   171 |         printf("/* %d bytes required for transition table storage 
> */\n",
>       |                    ~^
>       |                     |
>       |                     int
>       |                    %ld
>   172 |                 sizeof(short) * TRANSITIONS * n_states);
>       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                             |
>       |                                             long unsigned int
> keybld.c:185:47: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>   185 |                                 printf("%d", -(int)tp->arg - 1);
>       |                                               ^
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:78: keybld.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/a56_1.3+dfsg-10_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