Add flex to build image and VICE preflight check
release / build (push) Failing after 1m53s

VICE's configure.ac uses AC_PROG_LEX, which needs flex — missing from
the build image caused a late, confusing "Could not find either flex
or lex!" failure deep inside configure. Add it to the Dockerfile and
to build_vice.sh's own preflight tool check so a missing flex fails
fast with a clear error. Bump build-image/VERSION to 2.
This commit is contained in:
ml
2026-07-03 06:14:15 +02:00
parent 2117043e31
commit ad887c8bc8
4 changed files with 29 additions and 7 deletions
@@ -32,7 +32,7 @@ echo " TOOLCHAIN : ${TOOLCHAIN} [OK]"
# ---- Ensure required host tools are present ---------------------------------
MISSING=()
for tool in dos2unix autoconf automake pkg-config xa; do
for tool in dos2unix autoconf automake pkg-config xa flex; do
command -v "$tool" &>/dev/null || MISSING+=("$tool")
done
if [ ${#MISSING[@]} -gt 0 ]; then