OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Anton van Bohemen - 28.09.2021

FS#4056 - dnsmasq-full 2.86 compile fails

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.

Anton van Bohemen commented on 28.09.2021 10:31

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

DNSSEC should be enabled, and then compile is fine.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing