make raspberrypi4_defconfig select SAMBA package make checking for /usr/bin/gcc options needed to detect all undeclared functions... cannot detect configure: error: in 'xxxx_buildroot-2024.02/output/build/host-heimdal-f4faaeaba371fff3f8d1bc14389f5e6d70ca8e17': configure: error: cannot make /usr/bin/gcc report undeclared builtins See 'config.log' for more details Tested on both Ubuntu 23.10 and 22.04.4 LTS In the config.log I can see | int | main (void) | { | (void) strchr; | ; | return 0; | } configure:20087: /usr/bin/gcc -c -O2 -Ibuildroot-2024.02/output/host/include -fno-builtin -Ibuildroot-2024.02/output/host/include -D_LARGE_FILES= -D_FILE_OFFSET_BITS= conftest.c >&5 In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/12/include/limits.h:203, from /usr/lib/gcc/x86_64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/12/include/limits.h:34, from conftest.c:44: /usr/include/features.h:388:52: error: operator '&&' has no right operand 388 | #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64 | ^~ conftest.c:35:16: error: duplicate 'unsigned' 35 | #define size_t unsigned int | ^~~~~~~~ conftest.c:35:25: error: two or more data types in declaration specifiers 35 | #define size_t unsigned int | ^~~ configure:20087: $? = 1 configure: failed program was: ... | extern void ac_decl (int, char *); | | int | main (void) | { | (void) ac_decl (0, (char *) 0); | (void) ac_decl; | | ; | return 0; | } configure:20107: result: cannot detect configure:20111: error: in 'buildroot-2024.02/output/build/host-heimdal-f4faaeaba371fff3f8d1bc14389f5e6d70ca8e17': configure:20113: error: cannot make /usr/bin/gcc report undeclared builtins
Please try this uncommitted patch: https://github.com/heimdal/heimdal/pull/1229/files https://patchwork.ozlabs.org/project/buildroot/patch/20240210103634.3502847-1-bernd@kuhls.net/ I did no had the time yet to respond to the Thomas' comment, sorry.
The error started after updating package/autoconf https://gitlab.com/buildroot.org/buildroot/-/commit/524f3536029dace3ce9aa154d3ca4685582e1955
Just a short feedback: The uncommitted patch fixed it here.
Thank you for your report. The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker: https://gitlab.com/buildroot.org/buildroot/-/issues We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker. Thank you!