[Buildroot] [git commit] package/janet: needs MMU

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


commit: https://git.buildroot.net/buildroot/commit/?id=aa0f115bf7d1d6c63670115582b77af54a4a9653
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

janet unconditionally uses fork since version 1.32.0 and
https://github.com/janet-lang/janet/commit/4b8c1ac2d2d5c13d7c8592fd6d94b34a6a8b3549
resulting in the following build failure since bump to version 1.32.1 in
commit c87abf01a9153a2b2fe6c046fa83c86db92d79a7:

janet.c:(.text+0x19bbc): undefined reference to `fork'

Fixes:
 - http://autobuild.buildroot.org/results/f0771fc6c9905d3a6d60ce245df585b3c6096f7f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 package/janet/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/janet/Config.in b/package/janet/Config.in
index 7b78c14bf4..bb4bf462aa 100644
--- a/package/janet/Config.in
+++ b/package/janet/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_JANET
 	bool "janet"
+	depends on BR2_USE_MMU # fork()
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
 	help
 	  Janet is a functional and imperative programming language.
@@ -11,4 +12,5 @@ config BR2_PACKAGE_JANET
 	  https://janet-lang.org/
 
 comment "janet needs a toolchain w/ gcc >= 4.9"
+	depends on BR2_USE_MMU
 	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9



More information about the buildroot mailing list