Skip to content
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

FS#4056 - dnsmasq-full 2.86 compile fails #9043

Open
openwrt-bot opened this issue Sep 28, 2021 · 2 comments
Open

FS#4056 - dnsmasq-full 2.86 compile fails #9043

openwrt-bot opened this issue Sep 28, 2021 · 2 comments
Labels
core packages pull request/issue for core (in-tree) packages flyspray

Comments

@openwrt-bot
Copy link

avbohemen:

OpenWRT version:
Trunk version after https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=d2d0044ebf01b71f63cde609e09f6ac68cdfeccb

Steps to reproduce:

  • Select "dnsmasq-full" via make menuconfig
  • Use default compiler (gcc 11.2)
  • make

Build log:

make[4]: Entering directory '/home/anton/openwrt/archerc7/source/build_dir/target-mips_24kc_musl/dnsmasq-full/dnsmasq-2.86'
make[5]: Entering directory '/home/anton/openwrt/archerc7/source/build_dir/target-mips_24kc_musl/dnsmasq-full/dnsmasq-2.86/src'
mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/home/anton/openwrt/archerc7/source/build_dir/target-mips_24kc_musl/dnsmasq-full/dnsmasq-2.86=dnsmasq-2.86 -Wformat -Werror=format-security -DPIC -fpic -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -I/home/anton/openwrt/archerc7/source/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/usr/include -I/home/anton/openwrt/archerc7/source/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/include/fortify -I/home/anton/openwrt/archerc7/source/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/include -DHAVE_UBUS -DHAVE_POLL_H -DNO_AUTH -DHAVE_CONNTRACK -DNO_ID -DNO_TFTP -DVERSION='"2.86"' -I/home/anton/openwrt/archerc7/source/staging_dir/target-mips_24kc_musl/usr/include -c rfc1035.c
rfc1035.c: In function 'report_addresses':
rfc1035.c:978:56: error: 'struct dnsmasq_daemon' has no member named 'workspacename'
978 | if (!extract_name(header, len, &p, daemon->workspacename, 1, 0))
| ^~
rfc1035.c:980:66: error: 'struct dnsmasq_daemon' has no member named 'workspacename'
980 | if (safe_name(daemon->namebuff) && safe_name(daemon->workspacename))
| ^~
rfc1035.c:981:92: error: 'struct dnsmasq_daemon' has no member named 'workspacename'
981 | ubus_event_bcast_connmark_allowlist_resolved(mark, daemon->namebuff, daemon->workspacename, attl);
| ^~
make[5]: *** [/home/anton/openwrt/archerc7/source/build_dir/target-mips_24kc_musl/dnsmasq-full/dnsmasq-2.86/Makefile:166: rfc1035.o] Error 1
make[5]: Leaving directory '/home/anton/openwrt/archerc7/source/build_dir/target-mips_24kc_musl/dnsmasq-full/dnsmasq-2.86/src'
make[4]: *** [Makefile:91: all] Error 2
make[4]: Leaving directory '/home/anton/openwrt/archerc7/source/build_dir/target-mips_24kc_musl/dnsmasq-full/dnsmasq-2.86'
make[3]: *** [Makefile:200: /home/anton/openwrt/archerc7/source/build_dir/target-mips_24kc_musl/dnsmasq-full/dnsmasq-2.86/.built] Error 2
make[3]: Leaving directory '/home/anton/openwrt/archerc7/source/package/network/services/dnsmasq'
time: package/network/services/dnsmasq/full/compile#0.48#0.14#0.57
ERROR: package/network/services/dnsmasq failed to build (build variant: full).
make[2]: *** [package/Makefile:116: package/network/services/dnsmasq/compile] Error 1
make[2]: Leaving directory '/home/anton/openwrt/archerc7/source'
make[1]: *** [package/Makefile:110: /home/anton/openwrt/archerc7/source/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/anton/openwrt/archerc7/source'
make: *** [/home/anton/openwrt/archerc7/source/include/toplevel.mk:230: world] Error 2

Note: standard dnsmasq package (not -full) compiles ok.

@openwrt-bot
Copy link
Author

avbohemen:

Found this: https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q3/015688.html

DNSSEC should be enabled, and then compile is fine.

@openwrt-bot
Copy link
Author

@aparcar aparcar added the core packages pull request/issue for core (in-tree) packages label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages flyspray
Projects
None yet
Development

No branches or pull requests

2 participants