[Buildroot] build failure on Ubuntu 22.04 LTS: TIME_BITS=64 is allowed only with FILE_OFFSET_BITS=64
Yann E. MORIN
yann.morin.1998 at free.fr
Sat Feb 17 17:31:18 UTC 2024
Christian, All,
On 2024-02-17 12:55 +0100, Yann E. MORIN spake thusly:
> On 2024-02-17 01:32 -0800, Christian Stewart via buildroot spake thusly:
> > On a fresh Ubuntu 22.04.4 LTS VM:
> That also happens on Fedora 39.
[--SNIP--]
> /usr/bin/cpp \
> -I/home/ymorin/dev/buildroot/O/master/per-package/sudo/host/include \
> -I../../include \
> -I../.. \
> ./sys_signame.h \
> | /usr/bin/sed -e '1,/^int sudo_end_of_headers;/d' -e '/^#/d' > mksigname.h
> In file included from /usr/include/features.h:394,
> from /usr/include/sys/types.h:25,
> from ./sys_signame.h:4:
> /usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
> 26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
> | ^~~~~
[--SNIP--]
> @@ -65,7 +65,7 @@ define SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
> -C $(@D)/lib/util mksigname mksiglist
> endef
>
> -SUDO_POST_CONFIGURE_HOOKS += SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
> +#SUDO_POST_CONFIGURE_HOOKS += SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
>
> define SUDO_PERMISSIONS
> /usr/bin/sudo f 4755 0 0 - - - - -
>
> $ make sudo-build
> [ succeeds ]
>
> OK, so is that supperfluous at all nowadays?
>
> Can you further investigate, enabling PAM et al in turn and see if any
> optional dependency triggers a call to those two utilities? If not, can
> you look sunce when that is no longer needed and why?
I've now sent a patch for that:
https://patchwork.ozlabs.org/project/buildroot/patch/20240217172923.3629905-1-yann.morin.1998@free.fr/
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list