From 37e2cdc87ef3b3fc854f003c9ff9f882d2ee4d1d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 8 Feb 2025 16:03:31 +0100 Subject: [PATCH] package/heimdal: add missing dependencies on flex/bison As host-heimdal is only used by samba4, and samba4 already depends on host-flex and host-bison, the build issue fixed by this commit is not directly visible, but can be reproduced by doing "make host-heimdal" for example in our official Buildroot Docker container: /home/thomas/projets/buildroot/outputs/foo/build/host-heimdal-f4faaeaba371fff3f8d1bc14389f5e6d70ca8e17/missing: line 81: flex: command not found WARNING: 'flex' is missing on your system. You should only need it if you modified a '.l' file. You may want to install the Fast Lexical Analyzer package: make[4]: *** [Makefile:753: lex.c] Error 127 [...] updating lex.yylex.c ../../ylwrap: line 176: -d: command not found make[4]: *** [Makefile:756: parse.c] Error 127 Fix this by adding the missing dependencies. Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain (cherry picked from commit 44e739d031c8c5ed70a8ea513ff95dc8780a2a0f) Signed-off-by: Peter Korsgaard --- package/heimdal/heimdal.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/heimdal/heimdal.mk b/package/heimdal/heimdal.mk index 155cb66e1f..f6c52f63aa 100644 --- a/package/heimdal/heimdal.mk +++ b/package/heimdal/heimdal.mk @@ -6,7 +6,7 @@ HEIMDAL_VERSION = f4faaeaba371fff3f8d1bc14389f5e6d70ca8e17 HEIMDAL_SITE = $(call github,heimdal,heimdal,$(HEIMDAL_VERSION)) -HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf host-libxcrypt +HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf host-libxcrypt host-flex host-bison HOST_HEIMDAL_AUTORECONF = YES HEIMDAL_INSTALL_STAGING = YES # static because of -fPIC issues with e2fsprogs on x86_64 host