Source: iec16022 Version: 0.2.4-3 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): > /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -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 -c > -o reedsol.lo reedsol.c > iec16022.c: In function ‘main’: > iec16022.c:158:17: error: implicit declaration of function ‘close’; did you > mean ‘pclose’? [-Werror=implicit-function-declaration] > 158 | close(f); > | ^~~~~ > | pclose > libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 -c > reedsol.c -fPIC -DPIC -o .libs/reedsol.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 -c > image.c -fPIC -DPIC -o .libs/image.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 -c > iec16022ecc200.c -fPIC -DPIC -o .libs/iec16022ecc200.o > reedsol.c: In function ‘rs_init_gf’: > reedsol.c:83:23: warning: argument 1 value ‘18446744073709551612’ exceeds > maximum object size 9223372036854775807 [-Walloc-size-larger-than=] > 83 | alog = (int *)malloc(sizeof(int) * logmod); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from reedsol.c:42: > /usr/include/stdlib.h:553:14: note: in a call to allocation function ‘malloc’ > declared here > 553 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ > | ^~~~~~ > image.c:244:8: warning: return type defaults to ‘int’ [-Wimplicit-int] > 244 | static LZWFlush(Private * p) > | ^~~~~~~~ > image.c:250:8: warning: return type defaults to ‘int’ [-Wimplicit-int] > 250 | static LZWOut(Private * p, short v) > | ^~~~~~ > image.c:263:8: warning: return type defaults to ‘int’ [-Wimplicit-int] > 263 | static LZWClear(Private * p) > | ^~~~~~~~ > image.c:277:8: warning: return type defaults to ‘int’ [-Wimplicit-int] > 277 | static ImageStart(Private * p) > | ^~~~~~~~~~ > image.c:288:8: warning: return type defaults to ‘int’ [-Wimplicit-int] > 288 | static ImageEnd(Private * p) > | ^~~~~~~~ > image.c:297:8: warning: return type defaults to ‘int’ [-Wimplicit-int] > 297 | static ImageOut(Private * p, unsigned char c) > | ^~~~~~~~ > image.c: In function ‘writechunk’: > image.c:546:26: error: implicit declaration of function ‘htonl’ > [-Werror=implicit-function-declaration] > 546 | unsigned int v = htonl(len), crc; > | ^~~~~ > libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 -c > reedsol.c -o reedsol.o >/dev/null 2>&1 > image.c: In function ‘ImageWriteGif’: > image.c:394:17: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 394 | write(fh, buf, n); > | ^~~~~~~~~~~~~~~~~ > image.c:421:9: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 421 | write(fh, "\0", 1); // end of image data > | ^~~~~~~~~~~~~~~~~~ > image.c:422:9: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 422 | write(fh, "\x3B", 1); // trailer > | ^~~~~~~~~~~~~~~~~~~~ > image.c: In function ‘ImageStart’: > image.c:280:9: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 280 | write(p->fh, &b, 1); > | ^~~~~~~~~~~~~~~~~~~ > image.c: In function ‘LZWFlush’: > image.c:246:9: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 246 | write(p->fh, p->block, *p->block + 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > image.c: In function ‘writecrc’: > image.c:538:9: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 538 | write(fh, ptr, len); > | ^~~~~~~~~~~~~~~~~~~ > image.c: In function ‘writechunk’: > image.c:547:9: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 547 | write(fh, &v, 4); > | ^~~~~~~~~~~~~~~~ > image.c:552:9: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 552 | write(fh, &v, 4); > | ^~~~~~~~~~~~~~~~ > image.c: In function ‘ImageWritePNG’: > image.c:573:9: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 573 | write(fh, "\211PNG\r\n\032\n", 8); // PNG header > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > image.c:591:17: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 591 | write(fh, &v, 4); > | ^~~~~~~~~~~~~~~~ > image.c:598:17: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 598 | write(fh, &v, 4); > | ^~~~~~~~~~~~~~~~ > image.c:607:17: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 607 | write(fh, &v, 4); > | ^~~~~~~~~~~~~~~~ > image.c:612:17: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 612 | write(fh, &v, 4); > | ^~~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors > make[3]: *** [Makefile:616: iec16022.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/iec16022_0.2.4-3_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.