package/util-linux: disable raw with kernel >= 5.14
PATCH 1/1 package/util-linux: disable raw with kernel >= 5.14
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
--- package/util-linux/Config.in | 4 ++++ 1 file changed, 4 insertions(+)
package/util-linux/Config.in +4 -0
@@ -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
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedFabrice, All,
On 2021-09-12 11:11 +0200, Fabrice Fontaine spake thusly:
Quoted 4 lines
raw has been dropped from kernel since version 5.14 and
https://github.com/torvalds/linux/commit/603e4922f1c81fc2ed3a87b4f91a8d3aafc7e093
resulting in the following build failure:
Quoted 8 lines
configure: error: raw selected, but required
raw.hheader file not availablehttps://github.com/karelzak/util-linux/issues/1442
Fixes:
- http://autobuild.buildroot.org/results/d009d663a7c3c75872b19a92d3eadd3ecee2df63Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 29 lines
--- package/util-linux/Config.in | 4 ++++ 1 file changed, 4 insertions(+)package/util-linux/Config.in +4
-0@@ -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" helpSignature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | 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 [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot