Created attachment 882694 [details] build.log using gcc 14 Reproduction steps: 1. Install GCC 14 2. emerge -1 app-i18n/freewnn rk_main.c:260:21: error: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 260 | return (*s ? (s + strlen (s) - 1) : s); | ^~~~~~ rk_read.c: In function ‘trytoopen’: rk_main.c:45:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’ 44 | #include "rk_fundecl.h" +++ |+#include <string.h> 45 | #include "jslib.h" rk_main.c:260:21: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 260 | return (*s ? (s + strlen (s) - 1) : s); | ^~~~~~
clang-lld_tinderbox has reproduced this issue with version 1.1.1_alpha23-r1 - Updating summary.
Configure script fails to check for presence of string.h correctly, fails with compilation errors, declares that STDC_HEADERS are undefined, this causes compilation failure in main program.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac079847af0dc04fd3837629266edd4dd8acd3a3 commit ac079847af0dc04fd3837629266edd4dd8acd3a3 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2024-06-19 20:35:00 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2024-06-19 20:35:00 +0000 app-i18n/freewnn: EAPI=8, refactor Closes: https://bugs.gentoo.org/882695 Closes: https://bugs.gentoo.org/906006 Closes: https://bugs.gentoo.org/891481 Closes: https://bugs.gentoo.org/841434 Closes: https://bugs.gentoo.org/922572 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> .../files/freewnn-1.1.1-implicit-configure.patch | 19 +++++++ ...3-r1.ebuild => freewnn-1.1.1_alpha23-r2.ebuild} | 58 ++++++++++++++-------- 2 files changed, 55 insertions(+), 22 deletions(-)