[Buildroot] [PATCH 1/1] package/openrc: fix uclibc build

Yann E. MORIN yann.morin.1998 at free.fr
Tue Nov 28 16:16:59 UTC 2023


Fabrice, All,

On 2023-11-27 22:31 +0100, Fabrice Fontaine spake thusly:
> Fix the following uclibc build failures raised since bump to version
> 0.51 in commit 730c90faa3ec13ee1ead47113c9c5c7d3a8dac55:
[--SNIP--]
> Fixes:
>  - http://autobuild.buildroot.org/results/494ef392a971ddb3c5c7b01e0149c6439018dbe7
> +
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> +Upstream: https://github.com/OpenRC/openrc/pull/674

It looks like upstream is not happy with this patch. Given the feedback
there, I think we'll unfortunately have to hide openrc away for uClibc,
until upstream has a proper fix.

Regards,
Yann E. MORIN.

> +---
> + meson.build | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/meson.build b/meson.build
> +index 9f4fc5ee5..9ab293c3a 100644
> +--- a/meson.build
> ++++ b/meson.build
> +@@ -149,7 +149,7 @@ else
> + endif
> + 
> + if os == 'Linux' or os == 'GNU-kFreeBSD'
> +-  cc_os_flags = ['-D_DEFAULT_SOURCE']
> ++  cc_os_flags = ['-D_DEFAULT_SOURCE', '-D_GNU_SOURCE']
> + elif os == 'FreeBSD'
> +   cc_os_flags = ['-D_BSD_SOURCE']
> + elif os == 'GNU'
> -- 
> 2.42.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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