All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15991] New: host-heimdal fails to build on Ubuntu x64
@ 2024-03-12 11:35 bugzilla
  2024-03-12 15:40 ` [Buildroot] [Bug 15991] " bugzilla
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: bugzilla @ 2024-03-12 11:35 UTC (permalink / raw)
  To: buildroot

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: unassigned@buildroot.uclibc.org
          Reporter: info@hifiberry.com
                CC: buildroot@uclibc.org
  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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 15991] host-heimdal fails to build on Ubuntu x64
  2024-03-12 11:35 [Buildroot] [Bug 15991] New: host-heimdal fails to build on Ubuntu x64 bugzilla
@ 2024-03-12 15:40 ` bugzilla
  2024-03-22 21:56   ` jeremy
  2024-03-16  4:24 ` bugzilla
  2024-03-18  6:57 ` bugzilla
  2 siblings, 1 reply; 5+ messages in thread
From: bugzilla @ 2024-03-12 15:40 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15991

--- Comment #1 from Bernd Kuhls <bernd@kuhls.net> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 15991] host-heimdal fails to build on Ubuntu x64
  2024-03-12 11:35 [Buildroot] [Bug 15991] New: host-heimdal fails to build on Ubuntu x64 bugzilla
  2024-03-12 15:40 ` [Buildroot] [Bug 15991] " bugzilla
@ 2024-03-16  4:24 ` bugzilla
  2024-03-18  6:57 ` bugzilla
  2 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2024-03-16  4:24 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15991

--- Comment #2 from Juliano Dorigão <jdorigao@gmail.com> ---
The error started after updating package/autoconf

https://gitlab.com/buildroot.org/buildroot/-/commit/524f3536029dace3ce9aa154d3ca4685582e1955

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 15991] host-heimdal fails to build on Ubuntu x64
  2024-03-12 11:35 [Buildroot] [Bug 15991] New: host-heimdal fails to build on Ubuntu x64 bugzilla
  2024-03-12 15:40 ` [Buildroot] [Bug 15991] " bugzilla
  2024-03-16  4:24 ` bugzilla
@ 2024-03-18  6:57 ` bugzilla
  2 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2024-03-18  6:57 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15991

--- Comment #3 from HiFiBerry (Daniel) <info@hifiberry.com> ---
Just a short feedback: The uncommitted patch fixed it here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [Bug 15991] host-heimdal fails to build on Ubuntu x64
  2024-03-12 15:40 ` [Buildroot] [Bug 15991] " bugzilla
@ 2024-03-22 21:56   ` jeremy
  0 siblings, 0 replies; 5+ messages in thread
From: jeremy @ 2024-03-22 21:56 UTC (permalink / raw)
  To: buildroot, buildroot; +Cc: bugzilla

On Tuesday, March 12, 2024 10:40:09 AM CDT bugzilla@busybox.net wrote:
> https://bugs.busybox.net/show_bug.cgi?id=15991
> 
> --- Comment #1 from Bernd Kuhls <bernd@kuhls.net> ---
> 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.
> 
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> 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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-22 21:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-12 11:35 [Buildroot] [Bug 15991] New: host-heimdal fails to build on Ubuntu x64 bugzilla
2024-03-12 15:40 ` [Buildroot] [Bug 15991] " bugzilla
2024-03-22 21:56   ` jeremy
2024-03-16  4:24 ` bugzilla
2024-03-18  6:57 ` bugzilla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.