[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#997281: xawtv: FTBFS: console/record.c:432:17: error: ‘sys_siglist’ undeclared (first use in this function)



Source: xawtv
Version: 3.107-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
>   CC	  console/dump-mixers.o
>   CC	  console/record.o
>   CC	  console/showriff.o
>   CC	  console/showqt.o
> console/showriff.c: In function ‘ProcessChunk’:
> console/showriff.c:487:48: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div]
>   487 |             dump_vals(f,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds);
>       |                                                ^
> console/showriff.c:487:48: note: add parentheses around the second ‘sizeof’ to silence this warning
> console/showriff.c:182:12: note: array ‘names_strf_auds’ declared here
>   182 | struct VAL names_strf_auds[] = {
>       |            ^~~~~~~~~~~~~~~
> console/showriff.c:496:48: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div]
>   496 |             dump_vals(f,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds);
>       |                                                ^
> console/showriff.c:496:48: note: add parentheses around the second ‘sizeof’ to silence this warning
> console/showriff.c:182:12: note: array ‘names_strf_auds’ declared here
>   182 | struct VAL names_strf_auds[] = {
>       |            ^~~~~~~~~~~~~~~
> console/showriff.c:435:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   435 |         fread(&formtype,sizeof(FOURCC),1,f);    /* read the form type */
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showriff.c:475:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   475 |         fread(&fcc_type,sizeof(FOURCC),1,f);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showriff.c:504:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   504 |         fread(buf, buflen, 1, f);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~
> console/showriff.c: In function ‘dump_vals’:
> console/showriff.c:205:13: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   205 |             fread(&val32,4,1,f);
>       |             ^~~~~~~~~~~~~~~~~~~
> console/showriff.c:210:13: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   210 |             fread(&val32,4,1,f);
>       |             ^~~~~~~~~~~~~~~~~~~
> console/showriff.c:224:13: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   224 |             fread(&val32,4,1,f);
>       |             ^~~~~~~~~~~~~~~~~~~
> console/showriff.c:235:13: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   235 |             fread(&val16,2,1,f);
>       |             ^~~~~~~~~~~~~~~~~~~
> console/showqt.c: In function ‘dump_string’:
> console/showqt.c:530:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   530 |         read(fh,&ssize,sizeof(ssize));
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showqt.c:531:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   531 |         read(fh,&stype,sizeof(stype));
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showqt.c:535:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   535 |         read(fh,str,ssize);
>       |         ^~~~~~~~~~~~~~~~~~
> console/showqt.c: In function ‘dump_fields’:
> console/showqt.c:428:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   428 |             read(fh,&fcc,sizeof(fcc));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~
> console/showqt.c:432:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   432 |             read(fh,&int8,sizeof(int8));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showqt.c:438:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   438 |             read(fh,&int16,sizeof(int16));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showqt.c:442:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   442 |             read(fh,&int32,sizeof(int32));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showqt.c:446:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   446 |             read(fh,&int64,sizeof(int64));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showqt.c:450:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   450 |             read(fh,&int16,sizeof(int16));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showqt.c:455:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   455 |             read(fh,&int32,sizeof(int32));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showqt.c:460:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   460 |             read(fh,dummy,3);
>       |             ^~~~~~~~~~~~~~~~
> console/showqt.c:466:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   466 |             read(fh,&uint32,sizeof(uint32));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showqt.c:472:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   472 |             read(fh,&color,sizeof(color));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/showqt.c:479:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   479 |             read(fh,dummy,2);
>       |             ^~~~~~~~~~~~~~~~
> console/showqt.c:482:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   482 |             read(fh,dummy,4);
>       |             ^~~~~~~~~~~~~~~~
> console/showqt.c:485:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   485 |             read(fh,dummy,6);
>       |             ^~~~~~~~~~~~~~~~
> console/showqt.c:488:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   488 |             read(fh,dummy,8);
>       |             ^~~~~~~~~~~~~~~~
> console/showqt.c:491:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   491 |             read(fh,dummy,10);
>       |             ^~~~~~~~~~~~~~~~~
> console/showqt.c:494:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   494 |             read(fh,dummy,36);
>       |             ^~~~~~~~~~~~~~~~~
> console/showqt.c:497:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   497 |             read(fh,&count,sizeof(count));
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/record.c: In function ‘ctrlc’:
> console/record.c:432:17: error: ‘sys_siglist’ undeclared (first use in this function)
>   432 |                 sys_siglist[signal]);
>       |                 ^~~~~~~~~~~
> console/record.c:432:17: note: each undeclared identifier is reported only once for each function it appears in
> console/record.c: In function ‘wav_start_write’:
> console/record.c:348:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   348 |     write(fd,&fileheader,sizeof(WAVEHDR));
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> console/record.c: In function ‘wav_stop_write’:
> console/record.c:373:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   373 |     write(fd,&fileheader,sizeof(WAVEHDR));
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[1]: *** [mk/Compile.mk:55: console/record.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/xawtv_3.107-1_unstable.log

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 to: