Your message dated Thu, 04 Apr 2024 16:19:44 +0000 with message-id <E1rsPoW-00AZpH-Pg@fasolo.debian.org> and subject line Bug#1066509: fixed in dmitry 1.3a-3 has caused the Debian Bug report #1066509, regarding dmitry: FTBFS: src/file.c:4:20: error: implicit declaration of function ‘strlen’ [-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.) -- 1066509: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066509 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: dmitry: FTBFS: src/file.c:4:20: error: implicit declaration of function ‘strlen’ [-Werror=implicit-function-declaration]
- From: Lucas Nussbaum <lucas@debian.org>
- Date: Wed, 13 Mar 2024 12:49:30 +0100
- Message-id: <ZfGSyo76FBmS4apR@grub.nussbaum.fr>
Source: dmitry Version: 1.3a-2 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): > gcc -DHAVE_CONFIG_H -I. -I./src/includes -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 -fcommon -c -o portscan.o `test -f 'src/portscan.c' || echo './'`src/portscan.c > src/file.c: In function ‘file_prep’: > src/file.c:4:20: error: implicit declaration of function ‘strlen’ [-Werror=implicit-function-declaration] > 4 | outputfile[strlen(outputfile)] = '\0'; > | ^~~~~~ > src/file.c:2:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’ > 1 | #include "includes/file.h" > +++ |+#include <string.h> > 2 | int file_prep() > src/file.c:4:20: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] > 4 | outputfile[strlen(outputfile)] = '\0'; > | ^~~~~~ > src/file.c:4:20: note: include ‘<string.h>’ or provide a declaration of ‘strlen’ > src/file.c:7:17: error: implicit declaration of function ‘exit’ [-Werror=implicit-function-declaration] > 7 | exit(1); > | ^~~~ > src/file.c:2:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’ > 1 | #include "includes/file.h" > +++ |+#include <stdlib.h> > 2 | int file_prep() > src/file.c:7:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] > 7 | exit(1); > | ^~~~ > src/file.c:7:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’ > src/file.c: In function ‘file_open’: > src/file.c:18:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] > 18 | exit(1); > | ^~~~ > src/file.c:18:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’ > src/file.c: In function ‘file_close’: > src/file.c:27:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] > 27 | exit(1); > | ^~~~ > src/file.c:27:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’ > src/tcp_sock.c: In function ‘readData’: > src/tcp_sock.c:74:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] > 74 | read((int) tcp_sock, (char *) readbuff, (int) readsize); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > src/tcp_sock.c: In function ‘sendData’: > src/tcp_sock.c:82:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] > 82 | write((int) tcp_sock, (char *) sendbuff, (int) sendsize); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > src/dmitry.c: In function ‘main’: > src/dmitry.c:37:17: error: implicit declaration of function ‘exit’ [-Werror=implicit-function-declaration] > 37 | exit(1); > | ^~~~ > src/dmitry.c:16:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’ > 15 | #include <arpa/inet.h> > +++ |+#include <stdlib.h> > 16 | > src/dmitry.c:37:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] > 37 | exit(1); > | ^~~~ > src/dmitry.c:37:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’ > src/dmitry.c:67:41: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] > 67 | exit(0); > | ^~~~ > src/dmitry.c:67:41: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’ > src/dmitry.c:103:33: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] > 103 | exit(1); > | ^~~~ > src/dmitry.c:103:33: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’ > cc1: some warnings being treated as errors > make[1]: *** [Makefile:546: file.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/dmitry_1.3a-2_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: 1066509-close@bugs.debian.org
- Subject: Bug#1066509: fixed in dmitry 1.3a-3
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Thu, 04 Apr 2024 16:19:44 +0000
- Message-id: <E1rsPoW-00AZpH-Pg@fasolo.debian.org>
- Reply-to: Andreas Beckmann <anbe@debian.org>
Source: dmitry Source-Version: 1.3a-3 Done: Andreas Beckmann <anbe@debian.org> We believe that the bug you reported is fixed in the latest version of dmitry, 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 1066509@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 dmitry 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: Thu, 04 Apr 2024 17:54:05 +0200 Source: dmitry Architecture: source Version: 1.3a-3 Distribution: unstable Urgency: medium Maintainer: Debian QA Group <packages@qa.debian.org> Changed-By: Andreas Beckmann <anbe@debian.org> Closes: 1066509 Changes: dmitry (1.3a-3) unstable; urgency=medium . * QA upload. * Fix building with -Werror=implicit-function-declaration. (Closes: #1066509) * Set Rules-Requires-Root: no. Checksums-Sha1: a419fba2504b80ef2393afc630613580a46b04f7 1755 dmitry_1.3a-3.dsc dadaafeb6389c840b7eaa68c0690ccc36290fb50 4760 dmitry_1.3a-3.debian.tar.xz 383774b28464d0a591e75fa3297f300dcc3b2c75 5633 dmitry_1.3a-3_source.buildinfo Checksums-Sha256: d884550ec9c7db73257e08cc2c07d5c5f86902162753c30c816faf62be9908dd 1755 dmitry_1.3a-3.dsc 9f13d8220ad4afe5b3dcb34725f1da22b19a25e8144e96285a7a34da948acb48 4760 dmitry_1.3a-3.debian.tar.xz a60be699fe4f5c1851aa9fc03d7c0723f77ef2c829a7915d260c4844bf1528af 5633 dmitry_1.3a-3_source.buildinfo Files: 57340e747b3c6a1c1d661f5572ce7743 1755 net extra dmitry_1.3a-3.dsc 90c587895832ae38460701ca2292285a 4760 net extra dmitry_1.3a-3.debian.tar.xz 332fd2ea9f86af3c76254c1673f578a4 5633 net extra dmitry_1.3a-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmYOzbIQHGFuYmVAZGVi aWFuLm9yZwAKCRBfsz+TWentCGB+D/wI7DMqBArw7DSEBUO5xDKVZBVRdgqGk7zV 4TN/2jVoBsMPy6t01/aI+1LG6IAo3RnhKjxQAZrS7NtJZF6ZHsY6cnaBb9gh69Io 6tV8XM4UqH/rzPixh3ca+9YYs/OFOD86EeCSUYhWyJohgE7uki8E1X5b7Kcy22B6 aOk4xUmnrc0oen9nvlrQU7d0EQsAKuzrDRJyB/98iBXAudHT5cULnQ24EhJS1cQZ qg5WXK+bOMqi0cdLFqWve7sTZ1lNlJw1noG57JIvyfIYcZacHFze9D/U/X8CGfPU VP95W014kGQtFDZ5nIinDfTb6h6WxqCRUckyrnPshKmjdRUiSOujfKzXl4jIVxcH vLf7zn6RtJ95IJwgJQgGQOFvCT3HrUvLPZ/irNzUvWX2inrL1FO5sqMeU7UVWaFR pv8PgVx2SnzJWh+wpsnJ28UdklLfa27p2fwGYbqNGKUwRCSWFmqADdEwyn0m7jqs 2DfEh8jzWS1DI+cYzKsrWnxQI4x4hDMBqHOk5jdUOOiIbwa41IqSJyPCuLDp6nzu 0mp9x/buW2gPKR9hSqyvyH3CxZI241zxwz4JJ7YB56pOikTZ6dyQKrmqmhJey+9A vWhGhduAf7yo3+ZDc9hfwpXboggRSLlkImbBg9tvcT98FSKWh4Rc+iVKVGtoq/bD d4T/y0D+rA== =eQLk -----END PGP SIGNATURE-----Attachment: pgpoFcexZoTbr.pgp
Description: PGP signature
--- End Message ---