[Buildroot] [git commit] package/gdbm: needs fork

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Mon Sep 27 14:20:41 UTC 2021


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

gdbm needs fork since
https://git.savannah.gnu.org/cgit/gdbm.git/commit/?id=9016182fe92dcdfa9103acd144ab01f30463ac72
which will result in the following build failure since bump to version
1.21 in commit 60add404db424e2652673a7b6a3ba2bc80380b42:

/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: ./libgdbmapp.a(gdbmshell.o): in function `shell_handler':
gdbmshell.c:(.text+0x3dc): undefined reference to `fork'

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/gdbm/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/gdbm/Config.in b/package/gdbm/Config.in
index 6c668722d9..debe5660d7 100644
--- a/package/gdbm/Config.in
+++ b/package/gdbm/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_GDBM
 	bool "gdbm"
+	depends on BR2_USE_MMU # fork()
 	help
 	  GNU dbm is a set of database routines that use extensible
 	  hashing. It works similar to the standard UNIX dbm routines.


More information about the buildroot mailing list