* [Buildroot] [PATCH 1/1] package/util-linux: disable raw with kernel >= 5.14
@ 2021-09-12 9:11 Fabrice Fontaine
2021-09-12 9:27 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-09-12 9:11 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
raw has been dropped from kernel since version 5.14 and
https://github.com/torvalds/linux/commit/603e4922f1c81fc2ed3a87b4f91a8d3aafc7e093
resulting in the following build failure:
configure: error: raw selected, but required raw.h header file not available
https://github.com/karelzak/util-linux/issues/1442
Fixes:
- http://autobuild.buildroot.org/results/d009d663a7c3c75872b19a92d3eadd3ecee2df63
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/util-linux/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index 1f33eb5514..f045361ab5 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -291,9 +291,13 @@ config BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT
config BR2_PACKAGE_UTIL_LINUX_RAW
bool "raw"
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
help
Build a linux raw character device
+comment "raw needs a toolchain w/ headers < 5.14"
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
+
config BR2_PACKAGE_UTIL_LINUX_RENAME
bool "rename"
help
--
2.33.0
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/util-linux: disable raw with kernel >= 5.14
2021-09-12 9:11 [Buildroot] [PATCH 1/1] package/util-linux: disable raw with kernel >= 5.14 Fabrice Fontaine
@ 2021-09-12 9:27 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2021-09-12 9:27 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
Fabrice, All,
On 2021-09-12 11:11 +0200, Fabrice Fontaine spake thusly:
> raw has been dropped from kernel since version 5.14 and
> https://github.com/torvalds/linux/commit/603e4922f1c81fc2ed3a87b4f91a8d3aafc7e093
> resulting in the following build failure:
>
> configure: error: raw selected, but required raw.h header file not available
>
> https://github.com/karelzak/util-linux/issues/1442
>
> Fixes:
> - http://autobuild.buildroot.org/results/d009d663a7c3c75872b19a92d3eadd3ecee2df63
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/util-linux/Config.in | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
> index 1f33eb5514..f045361ab5 100644
> --- a/package/util-linux/Config.in
> +++ b/package/util-linux/Config.in
> @@ -291,9 +291,13 @@ config BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT
>
> config BR2_PACKAGE_UTIL_LINUX_RAW
> bool "raw"
> + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
> help
> Build a linux raw character device
>
> +comment "raw needs a toolchain w/ headers < 5.14"
> + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
> +
> config BR2_PACKAGE_UTIL_LINUX_RENAME
> bool "rename"
> help
> --
> 2.33.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@lists.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. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-12 9:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-12 9:11 [Buildroot] [PATCH 1/1] package/util-linux: disable raw with kernel >= 5.14 Fabrice Fontaine
2021-09-12 9:27 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox