Your message dated Wed, 10 Apr 2024 09:04:34 +0000 with message-id <E1ruTsg-004MKl-Rw@fasolo.debian.org> and subject line Bug#1066712: fixed in hunt 1.5-9 has caused the Debian Bug report #1066712, regarding hunt: FTBFS: timer.c:154:17: error: implicit declaration of function ‘exit’ [-Werror=implicit-function-declaration] to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1066712: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066712 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: hunt: FTBFS: timer.c:154:17: error: implicit declaration of function ‘exit’ [-Werror=implicit-function-declaration]
- From: Lucas Nussbaum <lucas@debian.org>
- Date: Wed, 13 Mar 2024 12:51:35 +0100
- Message-id: <ZfGTRwa6RJIpV1F4@grub.nussbaum.fr>
Source: hunt Version: 1.5-8 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lucas@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 -Wall -O2 -g -D_REENTRANT -std=gnu89 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pktrelay.o pktrelay.c > timer.c: In function ‘timer_init’: > timer.c:154:17: error: implicit declaration of function ‘exit’ [-Werror=implicit-function-declaration] > 154 | exit(1); > | ^~~~ > timer.c:12:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’ > 11 | #include "hunt.h" > +++ |+#include <stdlib.h> > 12 | > timer.c:154:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] > 154 | exit(1); > | ^~~~ > timer.c:154:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’ > In file included from pktrelay.c:9: > hunt.h:410:5: warning: conflicting types for built-in function ‘log2’; expected ‘double(double)’ [-Wbuiltin-declaration-mismatch] > 410 | int log2(unsigned int i); > | ^~~~ > hunt.h:48:1: note: ‘log2’ is declared in header ‘<math.h>’ > 47 | #include "c/hash.h" > +++ |+#include <math.h> > 48 | > pktrelay.c: In function ‘relay_add_item’: > pktrelay.c:270:44: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness [-Wpointer-sign] > 270 | &src_mask, src_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * > hunt.h:371:55: note: expected ‘unsigned int *’ but argument is of type ‘int *’ > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ > pktrelay.c:273:44: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness [-Wpointer-sign] > 273 | &dst_mask, dst_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * > hunt.h:371:55: note: expected ‘unsigned int *’ but argument is of type ‘int *’ > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ > pktrelay.c:294:20: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness [-Wpointer-sign] > 294 | port_htons(src_ports); > | ^~~~~~~~~ > | | > | int * > hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ > pktrelay.c:298:20: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness [-Wpointer-sign] > 298 | port_htons(dst_ports); > | ^~~~~~~~~ > | | > | int * > hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ > pktrelay.c: In function ‘relay_mod_item’: > pktrelay.c:334:49: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness [-Wpointer-sign] > 334 | &src_ip, &src_mask, src_ports, > | ^~~~~~~~~ > | | > | int * > hunt.h:371:55: note: expected ‘unsigned int *’ but argument is of type ‘int *’ > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ > pktrelay.c:335:59: warning: pointer targets in passing argument 7 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness [-Wpointer-sign] > 335 | ri->src_addr, ri->src_mask, ri->src_ports) < 0) > | ~~^~~~~~~~~~~ > | | > | unsigned int * > hunt.h:372:66: note: expected ‘int *’ but argument is of type ‘unsigned int *’ > 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); > | ~~~~~^~~~~~~~~ > pktrelay.c:338:49: warning: pointer targets in passing argument 4 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness [-Wpointer-sign] > 338 | &dst_ip, &dst_mask, dst_ports, > | ^~~~~~~~~ > | | > | int * > hunt.h:371:55: note: expected ‘unsigned int *’ but argument is of type ‘int *’ > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ > pktrelay.c:339:59: warning: pointer targets in passing argument 7 of ‘menu_choose_host_mask_ports_dfl’ differ in signedness [-Wpointer-sign] > 339 | ri->dst_addr, ri->dst_mask, ri->dst_ports) < 0) > | ~~^~~~~~~~~~~ > | | > | unsigned int * > hunt.h:372:66: note: expected ‘int *’ but argument is of type ‘unsigned int *’ > 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); > | ~~~~~^~~~~~~~~ > pktrelay.c:367:20: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness [-Wpointer-sign] > 367 | port_htons(src_ports); > | ^~~~~~~~~ > | | > | int * > hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ > pktrelay.c:368:20: warning: pointer targets in passing argument 1 of ‘port_htons’ differ in signedness [-Wpointer-sign] > 368 | port_htons(dst_ports); > | ^~~~~~~~~ > | | > | int * > hunt.h:428:31: note: expected ‘unsigned int *’ but argument is of type ‘int *’ > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ > pktrelay.c: In function ‘relay_item_print’: > pktrelay.c:225:30: warning: ‘%s’ directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] > 225 | sprintf(buf, "%s/%d [%s]", host_lookup(ri->src_addr, hl_mode), > | ^~ > 226 | count_mask(ri->src_mask), buf_src_ports); > | ~~~~~~~~~~~~~ > In file included from /usr/include/stdio.h:906, > from pktrelay.c:12: > In function ‘sprintf’, > inlined from ‘relay_item_print’ at pktrelay.c:225:2: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 517) into a destination of size 512 > 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[2]: *** [<builtin>: timer.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/hunt_1.5-8_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@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.
--- End Message ---
--- Begin Message ---
- To: 1066712-close@bugs.debian.org
- Subject: Bug#1066712: fixed in hunt 1.5-9
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Wed, 10 Apr 2024 09:04:34 +0000
- Message-id: <E1ruTsg-004MKl-Rw@fasolo.debian.org>
- Reply-to: Andreas Beckmann <anbe@debian.org>
Source: hunt Source-Version: 1.5-9 Done: Andreas Beckmann <anbe@debian.org> We believe that the bug you reported is fixed in the latest version of hunt, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1066712@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andreas Beckmann <anbe@debian.org> (supplier of updated hunt package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Wed, 10 Apr 2024 10:42:48 +0200 Source: hunt Architecture: source Version: 1.5-9 Distribution: unstable Urgency: medium Maintainer: Debian QA Group <packages@qa.debian.org> Changed-By: Andreas Beckmann <anbe@debian.org> Closes: 1066712 Changes: hunt (1.5-9) unstable; urgency=medium . * QA upload. * Fix building with -Werror=implicit-function-declaration. (Closes: #1066712) Checksums-Sha1: fdb937d74fef9fcf305de1d13ae9b30374f7c863 1817 hunt_1.5-9.dsc 8665595ca501c7bae4f1de00e616cc8466aa60cc 19468 hunt_1.5-9.debian.tar.xz 2df3a19606bef61daeb126e6315a2d26fa959862 5599 hunt_1.5-9_source.buildinfo Checksums-Sha256: 456a1dd77a74ce94c767b85d1c8e6565daa64dcb515afbef74c4b87aa51ba4f1 1817 hunt_1.5-9.dsc f1b3060da55d908b35ace37f7367ed0af0087a5ff4c5f4e7944d16d2d9c92128 19468 hunt_1.5-9.debian.tar.xz 2acde3accb3844deae5ee029b77879a3fdedf1851d0c8d25005e180292f645ca 5599 hunt_1.5-9_source.buildinfo Files: 0f95a19813945f6b137eaa47e754ae5e 1817 net optional hunt_1.5-9.dsc b432ca4daa62e8fd82f06a9f7679d23c 19468 net optional hunt_1.5-9.debian.tar.xz 1363019053fe9b91e49110833669f163 5599 net optional hunt_1.5-9_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmYWUWEQHGFuYmVAZGVi aWFuLm9yZwAKCRBfsz+TWentCFB0D/sFooSpwjwKjNUG+5BndS3Ahl7ZMbnzH/Zb Zhew4oqlO/RXCSiV3/ICGzWTPA9LQmNtLO8jti3IYTxCNf4ag6boFJrgSVxlHs1S ZJPdLkAPMS5OOF7NugNr3+bCk3V0MbRsCvlV70FeLi2sLUx0VFeerT3Nzt596fVg v3DNY4ynyf4SFZd89/g2lRXlWwMIO62xcQX7PYI1ROL6EsFJxPRH1YT4dDrL5zsu IqJGnZeS15IoOSXPR3kZqQQqfYyO417R3UvI2gi0boPoeT1nhxb6TLEQVgVJWDt1 /0rn7ipz+sr5HrcOFafs1GyP+mWRdeycAbtTStFPiYOHWi1uBRirN4cURiZ4GMc9 72q6h5N/Vwbpc8yjoNt0K6JuMmceEd1lRv/J9obloKrelOlGRSyTerqP75anmvV4 ydVk+v8+Vyc47rCotU/M7jyp0OwV6bog60/+bxSAZrMYyqMG5GiCaWBrdYeWA6KF xJdCO59JCMafA/WeA1fHKmRo/Whco75sMB1rtraz08hEjxoijTB24xhmiBgfiNEl S1PLzGymmws7k4kOBmuoqQDce7UfMy163pOqvCyIXCf8rmvjkd4tC2vH95oDQREb AGKu9cTSrVoHH4+2Zc+I8ngyj2shcgTP8d+vXHBTN5qpWJB291wMKviLD4ExjPwl PGGDY9WgQA== =rrl4 -----END PGP SIGNATURE-----Attachment: pgpEadRTlqHsx.pgp
Description: PGP signature
--- End Message ---