Source: xracer
Version: 0.96.9.1-11
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):
> gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include  -Wdate-time 
> -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  
> -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations 
> -Wcast-align -Wwrite-strings -c -o store.o store.c
> mpeg2dec.c:215:12: warning: ‘Decode_Bitstream’ defined but not used 
> [-Wunused-function]
>   215 | static int Decode_Bitstream(struct mpeg2obj *m)
>       |            ^~~~~~~~~~~~~~~~
> spatscal.c: In function ‘Read_Lower_Layer_Component_Framewise’:
> spatscal.c:102:17: error: implicit declaration of function ‘exit’ 
> [-Werror=implicit-function-declaration]
>   102 |   if (fd==NULL) exit(-1);
>       |                 ^~~~
> spatscal.c:12:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
>    11 | #include "global.h"
>   +++ |+#include <stdlib.h>
>    12 | 
> spatscal.c:102:17: warning: incompatible implicit declaration of built-in 
> function ‘exit’ [-Wbuiltin-declaration-mismatch]
>   102 |   if (fd==NULL) exit(-1);
>       |                 ^~~~
> spatscal.c:102:17: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘exit’
> spatscal.c: In function ‘Read_Lower_Layer_Component_Fieldwise’:
> spatscal.c:130:17: warning: incompatible implicit declaration of built-in 
> function ‘exit’ [-Wbuiltin-declaration-mismatch]
>   130 |   if (fd==NULL) exit(-1);
>       |                 ^~~~
> spatscal.c:130:17: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘exit’
> spatscal.c:140:19: warning: incompatible implicit declaration of built-in 
> function ‘exit’ [-Wbuiltin-declaration-mismatch]
>   140 |     if (fd==NULL) exit(-1);
>       |                   ^~~~
> spatscal.c:140:19: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘exit’
> store.c: In function ‘_mpeg2Write_Frame’:
> store.c:158:15: error: implicit declaration of function ‘memcpy’ 
> [-Werror=implicit-function-declaration]
>   158 |               memcpy (p, row_start, row_size);
>       |               ^~~~~~
> store.c:37:1: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
>    36 | #include "global.h"
>   +++ |+#include <string.h>
>    37 | 
> store.c:158:15: warning: incompatible implicit declaration of built-in 
> function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
>   158 |               memcpy (p, row_start, row_size);
>       |               ^~~~~~
> store.c:158:15: note: include ‘<string.h>’ or provide a declaration of 
> ‘memcpy’
> store.c:172:11: error: implicit declaration of function ‘memset’ 
> [-Werror=implicit-function-declaration]
>   172 |           memset (p, 0, row_size);
>       |           ^~~~~~
> store.c:172:11: note: include ‘<string.h>’ or provide a declaration of 
> ‘memset’
> store.c:172:11: warning: incompatible implicit declaration of built-in 
> function ‘memset’ [-Wbuiltin-declaration-mismatch]
> store.c:172:11: note: include ‘<string.h>’ or provide a declaration of 
> ‘memset’
> store.c:231:15: warning: incompatible implicit declaration of built-in 
> function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
>   231 |               memcpy (p, row_start, row_size);
>       |               ^~~~~~
> store.c:231:15: note: include ‘<string.h>’ or provide a declaration of 
> ‘memcpy’
> store.c:245:11: warning: incompatible implicit declaration of built-in 
> function ‘memset’ [-Wbuiltin-declaration-mismatch]
>   245 |           memset (p, 0, row_size);
>       |           ^~~~~~
> store.c:245:11: note: include ‘<string.h>’ or provide a declaration of 
> ‘memset’
> gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include  -Wdate-time 
> -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  
> -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations 
> -Wcast-align -Wwrite-strings -c -o subspic.o subspic.c
> gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include  -Wdate-time 
> -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  
> -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations 
> -Wcast-align -Wwrite-strings -c -o systems.o systems.c
> subspic.c: In function ‘_mpeg2Substitute_Frame_Buffer’:
> subspic.c:70:14: warning: variable ‘previous_anchor_bitstream_framenum’ set 
> but not used [-Wunused-but-set-variable]
>    70 |   static int previous_anchor_bitstream_framenum;
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> subspic.c:68:14: warning: variable ‘previous_bitstream_framenum’ set but not 
> used [-Wunused-but-set-variable]
>    68 |   static int previous_bitstream_framenum;
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> subspic.c: In function ‘Read_Component’:
> subspic.c:270:48: warning: comparison of constant ‘0’ with boolean expression 
> is always false [-Wbool-compare]
>   270 |   if(!(Infile=open(Filename,O_RDONLY|O_BINARY))<0)
>       |                                                ^
> subspic.c:270:48: warning: logical not is only applied to the left hand side 
> of comparison [-Wlogical-not-parentheses]
> subspic.c:270:6: note: add parentheses around left hand side expression to 
> silence this warning
>   270 |   if(!(Infile=open(Filename,O_RDONLY|O_BINARY))<0)
>       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |      (                                         )
> subspic.c: In function ‘Extract_Components’:
> subspic.c:342:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   342 |     
> fread(frame[0]+(line*m->Coded_Picture_Width),1,m->Coded_Picture_Width,fd);
>       |     
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> subspic.c:348:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   348 |     fread(frame[1]+(line*m->Chroma_Width),1,m->Chroma_Width,fd);
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> subspic.c:354:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   354 |     fread(frame[2]+(line*m->Chroma_Width),1,m->Chroma_Width,fd);
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include  -Wdate-time 
> -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  
> -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations 
> -Wcast-align -Wwrite-strings -c -o verify.o verify.c
> subspic.c: In function ‘Read_Components’:
> subspic.c:239:19: warning: ‘.Y’ directive writing 2 bytes into a region of 
> size between 1 and 256 [-Wformat-overflow=]
>   239 |   sprintf(name,"%s.Y",outname);
>       |                   ^~
> In file included from /usr/include/stdio.h:906,
>                  from subspic.c:33:
> In function ‘sprintf’,
>     inlined from ‘Read_Components’ at subspic.c:239:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 3 and 258 bytes into a destination 
> of size 256
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> subspic.c: In function ‘Read_Components’:
> subspic.c:243:19: warning: ‘.U’ directive writing 2 bytes into a region of 
> size between 1 and 256 [-Wformat-overflow=]
>   243 |   sprintf(name,"%s.U",outname);
>       |                   ^~
> In function ‘sprintf’,
>     inlined from ‘Read_Components’ at subspic.c:243:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 3 and 258 bytes into a destination 
> of size 256
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> subspic.c: In function ‘Read_Components’:
> subspic.c:246:19: warning: ‘.V’ directive writing 2 bytes into a region of 
> size between 1 and 256 [-Wformat-overflow=]
>   246 |   sprintf(name,"%s.V",outname);
>       |                   ^~
> In function ‘sprintf’,
>     inlined from ‘Read_Components’ at subspic.c:246:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 3 and 258 bytes into a destination 
> of size 256
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[5]: *** [Makefile:466: store.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/xracer_0.96.9.1-11_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