-
-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: util/configlexer.c: No such file or directory #885
Comments
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 for the report! It would be nice to have readable explanatory output for this. The fixup prints understandable error messages, explaining that flex and bison are needed to compile the code from the source repository. For compiles from source tarballs, the generated files in the release tarball can be used. For the build process in the issue ticket, append --- Dockerfile.orig 2023-05-04 11:22:45.305097778 +0200
+++ Dockerfile.new 2023-05-04 11:23:13.055096312 +0200
@@ -33,7 +33,7 @@
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 \ |
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))
Thanks for the fix!! |
* nlnet/master: (39 commits) - Fix unbound-dnstap-socket time fraction conversion for printout. - Fix unbound-dnstap-socket printout when no query is present. - Fix to remove unused variables from RPZ clientip data structure. - Fix RPZ removal of client-ip, nsip, nsdname triggers from IXFR. - Fix to print debug log for ancillary data with correct IP address. - Fix NLnetLabs#888: [FR] Use kernel timestamps for dnstap. - Fix warning in windows compile, in set_recvtimestamp. - Fix doxygen in addr_to_nat64 header definition. - Fix to remove unused whitespace from acx_nlnetlabs.m4 and config.h. - Fix NLnetLabs#885: Error: util/configlexer.c: No such file or directory, adds error messages explaining to install flex and bison. Changelog entry for NLnetLabs#722: - Merge NLnetLabs#722 from David 'eqvinox' Lamparter: NAT64 support. - For NLnetLabs#722: minor fixes, formatting, refactoring. - For NLnetLabs#722: Minor fixes, formatting and refactoring. - Fix RPZ IP responses with trigger rpz-drop on cache entries, that they are dropped. Changelog for NLnetLabs#860 Remove msg_del_for_0ttl, call msg_cache_remove directly - Fix for NLnetLabs#882: document variable to stop doxygen warning. - Fix for NLnetLabs#882: small changes, date updated in Copyright for util/timeval_func.c and util/timeval_func.h. Man page entries and example entry. stats: add query max wait time metric stats: add counter for timed out queries config: add sock_queue_timeout configuration ...
Describe the bug
Recently unbound started failing to compile. It shows
gcc: error: util/configlexer.c: No such file or directory
. I've got a Docker project pihole-unbound that builds images using GitHub Actions and was building fine for 9 Months. But recently the build has started failing. Seems unbound issue. Full log available on Run #223To reproduce
Steps to reproduce the behavior:
Expected behavior
Compile fine and build complete.
System:
unbound -V
output: Compile Failed!Compile Log
The text was updated successfully, but these errors were encountered: