[Buildroot] [PATCH 1/1] package/gdbm: needs fork

Arnout Vandecappelle arnout at mind.be
Mon Sep 27 14:36:28 UTC 2021



On 27/09/2021 07:50, Fabrice Fontaine wrote:
> 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>

  Applied to master, thanks.

  Regards,
  Arnout

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