Your message dated Thu, 28 Mar 2024 21:12:16 +0000 with message-id <e1rpx2m-00d02r...@fasolo.debian.org> and subject line Bug#1066204: fixed in kbuild 1:0.1.9998svn3589+dfsg-2 has caused the Debian Bug report #1066204, regarding kbuild: FTBFS: utils.c:107:75: error: implicit declaration of function ‘strerror’; did you mean ‘perror’? [-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 ow...@bugs.debian.org immediately.) -- 1066204: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066204 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: kbuild Version: 1:0.1.9998svn3589+dfsg-1 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): > gcc -DHAVE_CONFIG_H -I. -I/<<PKGBUILDDIR>>/src/sed/lib -I.. > -I/<<PKGBUILDDIR>>/src/sed/lib -I/<<PKGBUILDDIR>>/src/sed/intl > -I/<<PKGBUILDDIR>>/src/sed -I../lib -I../intl -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 -MT > utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o > /<<PKGBUILDDIR>>/src/sed/lib/utils.c > /<<PKGBUILDDIR>>/src/sed/lib/utils.c: In function ‘panic’: > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:107:75: error: implicit declaration of > function ‘strerror’; did you mean ‘perror’? > [-Werror=implicit-function-declaration] > 107 | fprintf (stderr, _("cannot remove %s: %s"), > open_files->name, strerror (errno)); > | > ^~~~~~~~ > | > perror > In file included from /<<PKGBUILDDIR>>/src/sed/lib/utils.h:21, > from /<<PKGBUILDDIR>>/src/sed/lib/utils.c:42: > /<<PKGBUILDDIR>>/src/sed/basicdefs.h:70:25: warning: format ‘%s’ expects > argument of type ‘char *’, but argument 4 has type ‘int’ [-Wformat=] > 70 | # define gettext(msgid) (msgid) > | ^~~~~~~ > /<<PKGBUILDDIR>>/src/sed/basicdefs.h:73:19: note: in expansion of macro > ‘gettext’ > 73 | #define _(String) gettext(String) > | ^~~~~~~ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:107:30: note: in expansion of macro ‘_’ > 107 | fprintf (stderr, _("cannot remove %s: %s"), > open_files->name, strerror (errno)); > | ^ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c: In function ‘ck_mkstemp’: > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:200:23: error: implicit declaration of > function ‘strlen’ [-Werror=implicit-function-declaration] > 200 | template = xmalloc (strlen (tmpdir) + strlen (base) + 8); > | ^~~~~~ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:76:1: note: include ‘<string.h>’ or > provide a declaration of ‘strlen’ > 75 | # include <stdarg.h> > +++ |+#include <string.h> > 76 | # define VSTART(l,a) va_start(l, a) > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:200:23: warning: incompatible implicit > declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] > 200 | template = xmalloc (strlen (tmpdir) + strlen (base) + 8); > | ^~~~~~ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:200:23: note: include ‘<string.h>’ or > provide a declaration of ‘strlen’ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c: In function ‘ck_strdup’: > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:401:22: warning: incompatible implicit > declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] > 401 | char *ret = MALLOC(strlen(str)+1, char); > | ^~~~~~ > /<<PKGBUILDDIR>>/src/sed/basicdefs.h:123:48: note: in definition of macro > ‘MALLOC’ > 123 | #define MALLOC(n,t) (VCAST(t *)ck_malloc((n)*sizeof(t))) > | ^ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:401:22: note: include ‘<string.h>’ or > provide a declaration of ‘strlen’ > 401 | char *ret = MALLOC(strlen(str)+1, char); > | ^~~~~~ > /<<PKGBUILDDIR>>/src/sed/basicdefs.h:123:48: note: in definition of macro > ‘MALLOC’ > 123 | #define MALLOC(n,t) (VCAST(t *)ck_malloc((n)*sizeof(t))) > | ^ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:402:10: error: implicit declaration of > function ‘strcpy’ [-Werror=implicit-function-declaration] > 402 | return strcpy(ret, str); > | ^~~~~~ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:402:10: note: include ‘<string.h>’ or > provide a declaration of ‘strcpy’ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:402:10: warning: incompatible implicit > declaration of built-in function ‘strcpy’ [-Wbuiltin-declaration-mismatch] > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:402:10: note: include ‘<string.h>’ or > provide a declaration of ‘strcpy’ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c: In function ‘ck_memdup’: > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:412:10: error: implicit declaration of > function ‘memcpy’ [-Werror=implicit-function-declaration] > 412 | return memcpy(ret, buf, len); > | ^~~~~~ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:412:10: note: include ‘<string.h>’ or > provide a declaration of ‘memcpy’ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:412:10: warning: incompatible implicit > declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:412:10: note: include ‘<string.h>’ or > provide a declaration of ‘memcpy’ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c: In function ‘add_buffer’: > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:493:12: warning: incompatible implicit > declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] > 493 | result = memcpy(b->b + b->length, p, n); > | ^~~~~~ > /<<PKGBUILDDIR>>/src/sed/lib/utils.c:493:12: note: include ‘<string.h>’ or > provide a declaration of ‘memcpy’ > cc1: some warnings being treated as errors > make[5]: *** [Makefile:418: utils.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/kbuild_0.1.9998svn3589+dfsg-1_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.
--- End Message ---
--- Begin Message ---Source: kbuild Source-Version: 1:0.1.9998svn3589+dfsg-2 Done: Gianfranco Costamagna <locutusofb...@debian.org> We believe that the bug you reported is fixed in the latest version of kbuild, 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 1066...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Gianfranco Costamagna <locutusofb...@debian.org> (supplier of updated kbuild 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 ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Thu, 28 Mar 2024 17:06:47 +0100 Source: kbuild Built-For-Profiles: noudeb Architecture: source Version: 1:0.1.9998svn3589+dfsg-2 Distribution: unstable Urgency: medium Maintainer: Debian Virtualbox Team <team+debian-virtual...@tracker.debian.org> Changed-By: Gianfranco Costamagna <locutusofb...@debian.org> Closes: 1066204 Changes: kbuild (1:0.1.9998svn3589+dfsg-2) unstable; urgency=medium . * Fix to avoid strings.h usage, prefer string.h instead Closes: #1066204 Checksums-Sha1: b7cd019270bed064d3ed592c3d02c8aee8aabe07 2111 kbuild_0.1.9998svn3589+dfsg-2.dsc 978988acf5e46176b27060ad9da3fb2275246a6d 13060 kbuild_0.1.9998svn3589+dfsg-2.debian.tar.xz 4d0a97de07c323567ce7ee108f294973ad7b8391 8307 kbuild_0.1.9998svn3589+dfsg-2_source.buildinfo Checksums-Sha256: 26c9f52e0252e9099557733edc0d4148bc0ffb0d14404a097e78acd513f7ccde 2111 kbuild_0.1.9998svn3589+dfsg-2.dsc bf0acff711b23ae0c5af063f1d412fd50a7da4c2540bcfe7a9604b755188c895 13060 kbuild_0.1.9998svn3589+dfsg-2.debian.tar.xz 7cd6b4352c5654df5f0468f6b8ceef6542f9c3f013994a4c684e86e513681299 8307 kbuild_0.1.9998svn3589+dfsg-2_source.buildinfo Files: cc3d798cb6803dc6fe9135fb31ec23c6 2111 devel optional kbuild_0.1.9998svn3589+dfsg-2.dsc 75e950a3071fe904eb895e3fec03e36a 13060 devel optional kbuild_0.1.9998svn3589+dfsg-2.debian.tar.xz 6b006392b469f515d3624fff23d51d3b 8307 devel optional kbuild_0.1.9998svn3589+dfsg-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmYFz+4ACgkQ808JdE6f XdkfbA/+K5uTqJTy2jqbDWeB2zK/L4WGHk3ak/z6BqeWd/qMxqvotjafBlb512gg mP2VvQrrW1vsTq2KKfDqPqYh7XggEqYds8t9DfdSyzA/C7Y3f6J4oEFUsB72U1wk Dup14W/DDlwQwaHMT6Q7Yckr86qPuVYD7h/skYokyu/iZkte9P/QY/YBXwk7RYWZ 20zxi0NxsWoMOYDGqAtucfvzRhTgO58ctQhpeqZxaOtZSBOG2Qqq07oUDV+D2vRG vI1wGYk7Por85IMIA08T5i+FJhbWY5B7KtUldd+5I6gpQPBMsYw0sjHJVztyjnbw G/XhzL+RXUzQPBCQ+KJLE/SYwYWK1jh9fL5Z4pBKID0tsZIWOrZt4DXktuf242oD sbFWYxMsI07l92shSAmh0gqFgBzBhrcEfXWIlTA1tYsw/M5YCWsbuJ84pM8Jh6WN 7KNcM76PKNtYfAo8vFphd5ek2xE67JOei844PY0Cm6pKaYUtzgYmFFC0E8mkWLDS g3U46ym2wuySpjVi2r1QcCkThxLWt502wts9/x80i9zXb0JZcCG7ANq1wn5PPOjQ /pWDBCfyJHpbnCMOVnUucrBpTPgHJ69Htxygd2e+J7egSznKVQxuHf493vs20Rsm mDV562WfnQR44Nx/ntEKRUAxL4AsPVbPY4RjK98SzjqeHlvIZ5w= =YxFg -----END PGP SIGNATURE-----pgp2jgKvj1F3F.pgp
Description: PGP signature
--- End Message ---