Skip to content

Commit

Permalink
[Fix] Error: util/configlexer.c: No such file or directory
Browse files Browse the repository at this point in the history
The error happens because a recent code contribution removed the generated lexer and parser files from the code repository. With installed flex and bison, the files are created during the compile.
Thanks to [@wcawijngaards](https://github.com/wcawijngaards) for the fix explained [here](NLnetLabs/unbound#885 (comment))
  • Loading branch information
origamiofficial committed May 4, 2023
1 parent 0e2aeb8 commit 5c5ab73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ WORKDIR /tmp/src

COPY --from=openssl /opt/openssl /opt/openssl

RUN build_deps="curl gcc libc-dev libevent-dev libexpat1-dev libnghttp2-dev make bison" && \
RUN build_deps="curl gcc libc-dev libevent-dev libexpat1-dev libnghttp2-dev make flex bison" && \
set -x && \
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
$build_deps \
Expand Down
2 changes: 1 addition & 1 deletion latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ WORKDIR /tmp/src

COPY --from=openssl /opt/openssl /opt/openssl

RUN build_deps="curl gcc libc-dev libevent-dev libexpat1-dev libnghttp2-dev make bison" && \
RUN build_deps="curl gcc libc-dev libevent-dev libexpat1-dev libnghttp2-dev make flex bison" && \
set -x && \
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
$build_deps \
Expand Down

0 comments on commit 5c5ab73

Please sign in to comment.