New: host-heimdal fails to build on Ubuntu x64
https://bugs.busybox.net/show_bug.cgi?id=15991
Bug ID: 15991
Summary: host-heimdal fails to build on Ubuntu x64
Product: buildroot
Version: 2024.02
Hardware: All
OS: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]Target Milestone: ---
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
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 15991] host-heimdal fails to build on Ubuntu x64
https://bugs.busybox.net/show_bug.cgi?id=15991
--- Comment #1 from Bernd Kuhls <[email protected]> --- Please try this uncommitted patch:
https://github.com/heimdal/heimdal/pull/1229/files
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
I did no had the time yet to respond to the Thomas' comment, sorry.
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [Bug 15991] host-heimdal fails to build on Ubuntu x64
Quoted 9 lines · On Tuesday, March 12, 2024 10:40:09 AM CDT [email protected] wrote:
https://bugs.busybox.net/show_bug.cgi?id=15991
--- Comment #1 from Bernd Kuhls <[email protected]> ---
Please try this uncommitted patch:
https://github.com/heimdal/heimdal/pull/1229/files
https://patchwork.ozlabs.org/project/buildroot/patch/20240210103634.3502847-> [email protected]/I did no had the time yet to respond to the Thomas' comment, sorry.
Quoted 7 lines
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
The linked patch restored my ability to cross-compile samba4 without the host- heimdal build failure. I think it's worth pushing to the 2024.02 branch.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 15991] host-heimdal fails to build on Ubuntu x64
In reply to [email protected]https://bugs.busybox.net/show_bug.cgi?id=15991
--- Comment #2 from Juliano Dorigão <[email protected]> --- The error started after updating package/autoconf
https://gitlab.com/buildroot.org/buildroot/-/commit/524f3536029dace3ce9aa154d3ca4685582e1955
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 15991] host-heimdal fails to build on Ubuntu x64
In reply to [email protected]https://bugs.busybox.net/show_bug.cgi?id=15991
--- Comment #3 from HiFiBerry (Daniel) <[email protected]> --- Just a short feedback: The uncommitted patch fixed it here.
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 15991] host-heimdal fails to build on Ubuntu x64
In reply to [email protected]https://bugs.busybox.net/show_bug.cgi?id=15991
Yann E. MORIN <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] Status|NEW |RESOLVED Resolution|--- |MOVED
--- Comment #4 from Yann E. MORIN <[email protected]> --- 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!
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot