Control: reassign -1 zvbi 0.2.40-1 Control: forcemerge 1031179 -1 On 2023-02-18 23:06:52 +0100, Lucas Nussbaum wrote: > Source: xawtv > Version: 3.107-1.1 > Severity: serious > Justification: FTBFS > Tags: bookworm sid ftbfs > User: lu...@debian.org > Usertags: ftbfs-20230217 ftbfs-bookworm > > Hi, > > During a rebuild of all packages in testing (bookworm), 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 > > CC console/streamer.o > > CC common/channel-no-x11.o > > CC common/sound.o > > CC common/webcam.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)); > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > common/webcam.c: In function ‘webcam_writer’: > > common/webcam.c:62:13: warning: ignoring return value of ‘write’ declared > > with attribute ‘warn_unused_result’ [-Wunused-result] > > 62 | write(fd,web->buf->data,web->buf->size); > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > 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)); > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > In file included from common/vbi-data.h:5, > > from common/commands.h:1, > > from common/channel.c:43: > > /usr/include/libzvbi.h:28:10: fatal error: version.h: No such file or > > directory > > 28 | #include "version.h" > > | ^~~~~~~~~~~
That's #1031179. Cheers -- Sebastian Ramacher