Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dnsmasq.spec'], chrootPath='/var/lib/mock/dist-an23-build-313942-67456/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dnsmasq.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (39 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1687737600 Wrote: /builddir/build/SRPMS/dnsmasq-2.79-27.an23.src.rpm RPM build warnings: %patchN is deprecated (39 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dnsmasq.spec'], chrootPath='/var/lib/mock/dist-an23-build-313942-67456/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dnsmasq.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (39 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1687737600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eNg9Fd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dnsmasq-2.79 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dnsmasq-2.79.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd dnsmasq-2.79 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (dnsmasq-2.77-underflow.patch):' Patch #1 (dnsmasq-2.77-underflow.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .underflow --fuzz=0 patching file src/edns0.c patching file src/forward.c patching file src/rfc1035.c Patch #3 (dnsmasq-2.78-fips.patch): + echo 'Patch #3 (dnsmasq-2.78-fips.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fips --fuzz=0 patching file src/dnsmasq.c Patch #4 (dnsmasq-2.80-dnssec.patch): + echo 'Patch #4 (dnsmasq-2.80-dnssec.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dnssec --fuzz=0 patching file src/rfc1035.c Hunk #1 succeeded at 1656 (offset -7 lines). Hunk #2 succeeded at 1742 (offset -7 lines). Patch #5 (dnsmasq-2.79-rh1602477.patch): + echo 'Patch #5 (dnsmasq-2.79-rh1602477.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1602477 --fuzz=0 patching file contrib/lease-tools/dhcp_lease_time.c patching file contrib/lease-tools/dhcp_release.c patching file contrib/lease-tools/dhcp_release6.c patching file src/bpf.c patching file src/dhcp.c patching file src/dnsmasq.h patching file src/log.c patching file src/network.c patching file src/option.c patching file src/rfc2131.c patching file src/tftp.c patching file src/util.c Patch #6 (dnsmasq-2.79-rh1602477-2.patch): + echo 'Patch #6 (dnsmasq-2.79-rh1602477-2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1602477-2 --fuzz=0 patching file src/dnsmasq.c Hunk #1 succeeded at 609 (offset 1 line). patching file src/option.c Patch #7 (dnsmasq-2.76-rh1752569.patch): + echo 'Patch #7 (dnsmasq-2.76-rh1752569.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1752569 --fuzz=0 patching file contrib/lease-tools/dhcp_release.c Hunk #3 succeeded at 291 (offset 1 line). Patch #8 (dnsmasq-2.79-rh1749092-fail.patch): + echo 'Patch #8 (dnsmasq-2.79-rh1749092-fail.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1752569 --fuzz=0 patching file contrib/lease-tools/dhcp_release.c Patch #9 (dnsmasq-2.76-rh1728698-1.patch): + echo 'Patch #9 (dnsmasq-2.76-rh1728698-1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1728698-1 --fuzz=0 patching file src/network.c Patch #10 (dnsmasq-2.79-rh1728698-2.patch): + echo 'Patch #10 (dnsmasq-2.79-rh1728698-2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1728698-2 --fuzz=0 patching file src/dnsmasq.c patching file src/network.c Patch #11 (dnsmasq-2.76-rh1728698-3.patch): + echo 'Patch #11 (dnsmasq-2.76-rh1728698-3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1728698-3 --fuzz=0 patching file src/network.c Patch #12 (dnsmasq-2.79-rh1728698-4.patch): + echo 'Patch #12 (dnsmasq-2.79-rh1728698-4.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1728698-4 --fuzz=0 patching file src/dnsmasq.h patching file src/network.c Patch #13 (dnsmasq-2.79-rh1746411.patch): + echo 'Patch #13 (dnsmasq-2.79-rh1746411.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1746411 --fuzz=0 patching file contrib/lease-tools/dhcp_lease_time.c Patch #14 (dnsmasq-2.79-rh1700916.patch): + echo 'Patch #14 (dnsmasq-2.79-rh1700916.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1700916 --fuzz=0 patching file src/rfc1035.c Patch #15 (dnsmasq-2.80-rh1795370.patch): + echo 'Patch #15 (dnsmasq-2.80-rh1795370.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1795370 --fuzz=0 patching file src/helper.c Hunk #1 succeeded at 82 (offset 2 lines). Hunk #2 succeeded at 189 (offset 2 lines). Patch #16 (dnsmasq-2.80-unaligned-addresses-in-DHCPv6-packet.patch): + echo 'Patch #16 (dnsmasq-2.80-unaligned-addresses-in-DHCPv6-packet.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1779187-1 --fuzz=0 patching file src/rfc1035.c Hunk #1 succeeded at 1379 (offset 3 lines). patching file src/rfc3315.c Patch #17 (dnsmasq-2.81-prefix-ranges-or-list-of-ipv6-addresses.patch): + echo 'Patch #17 (dnsmasq-2.81-prefix-ranges-or-list-of-ipv6-addresses.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1779187-2 --fuzz=0 patching file man/dnsmasq.8 patching file src/dhcp-common.c patching file src/dhcp6.c patching file src/dnsmasq.h Hunk #2 succeeded at 751 (offset 1 line). Hunk #3 succeeded at 773 (offset 1 line). Hunk #4 succeeded at 1466 (offset 1 line). Hunk #5 succeeded at 1476 (offset 1 line). patching file src/option.c patching file src/rfc3315.c Patch #18 (dnsmasq-2.81-tag-filtering-of-dhcp-host-directives.patch): + echo 'Patch #18 (dnsmasq-2.81-tag-filtering-of-dhcp-host-directives.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1779187-3 --fuzz=0 patching file man/dnsmasq.8 patching file src/dhcp-common.c patching file src/dnsmasq.h Hunk #1 succeeded at 750 (offset 1 line). Hunk #2 succeeded at 1516 (offset 1 line). patching file src/lease.c patching file src/option.c patching file src/rfc2131.c patching file src/rfc3315.c Patch #19 (dnsmasq-2.81-correct-range-check-of-dhcp-host-prefix.patch): + echo 'Patch #19 (dnsmasq-2.81-correct-range-check-of-dhcp-host-prefix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1779187-4 --fuzz=0 patching file src/option.c patching file src/rfc3315.c Patch #20 (dnsmasq-2.81-optimize-fds-close.patch): + echo 'Patch #20 (dnsmasq-2.81-optimize-fds-close.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1816613 --fuzz=0 patching file src/dnsmasq.c Hunk #1 succeeded at 134 (offset -4 lines). patching file src/dnsmasq.h Hunk #1 succeeded at 1242 (offset -41 lines). patching file src/helper.c Hunk #1 succeeded at 132 (offset 1 line). patching file src/util.c Hunk #1 succeeded at 677 (offset -28 lines). Patch #21 (dnsmasq-2.81-rh1829448.patch): + echo 'Patch #21 (dnsmasq-2.81-rh1829448.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1829448 --fuzz=0 patching file src/dhcp-common.c Hunk #1 succeeded at 271 (offset -9 lines). Hunk #2 succeeded at 298 (offset -9 lines). Patch #22 (dnsmasq-2.79-CVE-2020-25681.patch): + echo 'Patch #22 (dnsmasq-2.79-CVE-2020-25681.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2020-25681 --fuzz=0 patching file src/dnssec.c Patch #23 (dnsmasq-2.79-CVE-2020-25684.patch): + echo 'Patch #23 (dnsmasq-2.79-CVE-2020-25684.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2020-25684 --fuzz=0 patching file src/forward.c Hunk #3 succeeded at 2199 (offset 4 lines). Hunk #4 succeeded at 2278 (offset 4 lines). Patch #24 (dnsmasq-2.79-CVE-2020-25685.patch): + echo 'Patch #24 (dnsmasq-2.79-CVE-2020-25685.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2020-25685 --fuzz=0 patching file Makefile patching file bld/Android.mk patching file src/dnsmasq.h Hunk #1 succeeded at 627 (offset 12 lines). Hunk #2 succeeded at 1165 (offset 13 lines). Hunk #3 succeeded at 1192 (offset 13 lines). patching file src/dnssec.c patching file src/forward.c Hunk #5 succeeded at 1832 (offset 4 lines). Hunk #6 succeeded at 1959 (offset 4 lines). Hunk #7 succeeded at 2178 (offset 4 lines). patching file src/hash_questions.c patching file src/rfc1035.c + echo 'Patch #25 (dnsmasq-2.79-CVE-2020-25686.patch):' Patch #25 (dnsmasq-2.79-CVE-2020-25686.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2020-25686 --fuzz=0 patching file src/dnsmasq.h Hunk #1 succeeded at 625 (offset 12 lines). Hunk #2 succeeded at 1051 (offset 13 lines). patching file src/forward.c Hunk #11 succeeded at 2121 (offset 4 lines). Hunk #12 succeeded at 2275 (offset 4 lines). Patch #26 (dnsmasq-2.79-CVE-2020-25686-2.patch): + echo 'Patch #26 (dnsmasq-2.79-CVE-2020-25686-2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2020-25686-2 --fuzz=0 patching file src/forward.c Hunk #1 succeeded at 351 (offset -13 lines). Hunk #2 succeeded at 391 (offset -13 lines). Hunk #3 succeeded at 2125 (offset -141 lines). Patch #27 (dnsmasq-2.79-mixed-family-failed.patch): + echo 'Patch #27 (dnsmasq-2.79-mixed-family-failed.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1921153 --fuzz=0 patching file src/dnsmasq.h Hunk #1 succeeded at 635 (offset 3 lines). Hunk #2 succeeded at 645 (offset 3 lines). patching file src/forward.c + echo 'Patch #28 (dnsmasq-2.81-netlink-table.patch):' Patch #28 (dnsmasq-2.81-netlink-table.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1887649-table --fuzz=0 patching file src/netlink.c + echo 'Patch #29 (dnsmasq-2.84-bind-dynamic-netlink.patch):' Patch #29 (dnsmasq-2.84-bind-dynamic-netlink.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1887649 --fuzz=0 patching file src/netlink.c patching file src/network.c + echo 'Patch #30 (dnsmasq-2.85-CVE-2021-3448.patch):' Patch #30 (dnsmasq-2.85-CVE-2021-3448.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2021-3448 --fuzz=0 patching file man/dnsmasq.8 patching file src/dnsmasq.c patching file src/dnsmasq.h patching file src/forward.c patching file src/loop.c patching file src/network.c patching file src/option.c patching file src/tftp.c patching file src/util.c Patch #31 (dnsmasq-2.80-man-nameing.patch): + echo 'Patch #31 (dnsmasq-2.80-man-nameing.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1947039 --fuzz=0 patching file man/dnsmasq.8 Patch #32 (dnsmasq-2.79-alternative-lease.patch): + echo 'Patch #32 (dnsmasq-2.79-alternative-lease.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1998448 --fuzz=0 patching file src/rfc3315.c Hunk #1 succeeded at 595 (offset -19 lines). Hunk #2 succeeded at 736 (offset 39 lines). Hunk #3 succeeded at 834 (offset 50 lines). Hunk #4 succeeded at 862 (offset 50 lines). Hunk #5 succeeded at 898 (offset 50 lines). Hunk #6 succeeded at 928 (offset 50 lines). Patch #33 (dnsmasq-2.86-dhcpv6-client-arch.patch): + echo 'Patch #33 (dnsmasq-2.86-dhcpv6-client-arch.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dhcpv6-client-arch --fuzz=0 patching file src/dhcp-common.c Patch #34 (dnsmasq-2.79-server-domain-rh1919894.patch): + echo 'Patch #34 (dnsmasq-2.79-server-domain-rh1919894.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh1919894 --fuzz=0 patching file src/dnsmasq.h patching file src/forward.c patching file src/network.c patching file src/option.c Patch #35 (dnsmasq-2.87-CVE-2022-0934.patch): + echo 'Patch #35 (dnsmasq-2.87-CVE-2022-0934.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2022-0934 --fuzz=0 patching file src/rfc3315.c Patch #36 (dnsmasq-2.81-option6-ntp-server-suboption.patch): + echo 'Patch #36 (dnsmasq-2.81-option6-ntp-server-suboption.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh2049691 --fuzz=0 patching file src/dhcp-common.c patching file src/dhcp6-protocol.h patching file src/option.c patching file src/rfc3315.c Hunk #1 succeeded at 1387 (offset 7 lines). + echo 'Patch #37 (dnsmasq-2.81-linux-SIOCGSTAMP.patch):' Patch #37 (dnsmasq-2.81-linux-SIOCGSTAMP.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .SIOCGSTAMP --fuzz=0 patching file src/dnsmasq.h Hunk #1 succeeded at 134 (offset -3 lines). + echo 'Patch #38 (dnsmasq-2.79-server-domain-fixup.patch):' Patch #38 (dnsmasq-2.79-server-domain-fixup.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh2120357 --fuzz=0 patching file src/network.c + echo 'Patch #39 (dnsmasq-2.81-dhcpv6-relay-link-address.patch):' Patch #39 (dnsmasq-2.81-dhcpv6-relay-link-address.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rh2169355 --fuzz=0 patching file src/rfc3315.c Hunk #1 succeeded at 221 (offset 2 lines). Patch #40 (dnsmasq-2.87-CVE-2023-28450.patch): + echo 'Patch #40 (dnsmasq-2.87-CVE-2023-28450.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2023-28450 --fuzz=0 patching file CHANGELOG patching file man/dnsmasq.8 patching file src/config.h + for file in dnsmasq.conf.example man/dnsmasq.8 man/es/dnsmasq.8 src/config.h + sed -i 's|/var/lib/misc/dnsmasq.leases|/var/lib/dnsmasq/dnsmasq.leases|g' dnsmasq.conf.example + for file in dnsmasq.conf.example man/dnsmasq.8 man/es/dnsmasq.8 src/config.h + sed -i 's|/var/lib/misc/dnsmasq.leases|/var/lib/dnsmasq/dnsmasq.leases|g' man/dnsmasq.8 + for file in dnsmasq.conf.example man/dnsmasq.8 man/es/dnsmasq.8 src/config.h + sed -i 's|/var/lib/misc/dnsmasq.leases|/var/lib/dnsmasq/dnsmasq.leases|g' man/es/dnsmasq.8 + for file in dnsmasq.conf.example man/dnsmasq.8 man/es/dnsmasq.8 src/config.h + sed -i 's|/var/lib/misc/dnsmasq.leases|/var/lib/dnsmasq/dnsmasq.leases|g' src/config.h + sed -i 's|%%PREFIX%%|/usr|' dnsmasq.conf.example + sed -i 's|#user=|user=dnsmasq|' dnsmasq.conf.example + sed -i 's|#group=|group=dnsmasq|' dnsmasq.conf.example + sed -i 's|#define CHUSER "nobody"|#define CHUSER "dnsmasq"|' src/config.h + sed -i 's|#define CHGRP "dip"|#define CHGRP "dnsmasq"|' src/config.h + sed -i 's|^COPTS[[:space:]]*=|\0 -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC|' Makefile + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XIGQ9N + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dnsmasq-2.79 + /usr/bin/make -O -j80 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c bpf.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c crypto.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' crypto.c: In function 'dnsmasq_ecdsa_verify': crypto.c:297:43: error: 'nettle_secp_256r1' undeclared (first use in this function); did you mean 'nettle_get_secp_256r1'? 297 | nettle_ecc_point_init(key_256, &nettle_secp_256r1); | ^~~~~~~~~~~~~~~~~ | nettle_get_secp_256r1 crypto.c:297:43: note: each undeclared identifier is reported only once for each function it appears in crypto.c:310:43: error: 'nettle_secp_384r1' undeclared (first use in this function); did you mean 'nettle_get_secp_384r1'? 310 | nettle_ecc_point_init(key_384, &nettle_secp_384r1); | ^~~~~~~~~~~~~~~~~ | nettle_get_secp_384r1 make[1]: *** [/builddir/build/BUILD/dnsmasq-2.79/Makefile:160: crypto.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c hash_questions.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c conntrack.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c tables.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c poll.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c blockdata.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c arp.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c inotify.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c loop.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c outpacket.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c rrfilter.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c ipset.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c edns0.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c slaac.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c log.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c domain.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c netlink.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c dbus.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c dhcp6.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c helper.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c util.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' util.c: In function 'close_fds': util.c:701:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 701 | if (errno != 0 || !e || *e || fd == dirfd(d) || | ^~ util.c:706:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 706 | close(fd); | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c tftp.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' In file included from /usr/include/string.h:535, from /usr/include/sys/un.h:37, from dnsmasq.h:100, from tftp.c:17: In function 'strcpy', inlined from 'tftp_err_oops' at tftp.c:714:3, inlined from 'tftp_request' at tftp.c:448:12: /usr/include/bits/string_fortified.h:79:10: warning: 'strcpy' source argument is the same as destination [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c lease.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c dhcp-common.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c dhcp.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c radv.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c network.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c cache.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' cache.c: In function 'cache_make_stat': cache.c:1376:30: warning: pointer used after 'free' [-Wuse-after-free] 1376 | p = new + (p - buff); | ~~~^~~~~~~ cache.c:1375:17: note: call to 'free' here 1375 | free(buff); | ^~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c auth.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c dnsmasq.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c dnssec.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c forward.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c rfc1035.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c rfc3315.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c rfc2131.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make[1]: Entering directory '/builddir/build/BUILD/dnsmasq-2.79/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC -DVERSION='"2.79"' -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -c option.c make[1]: Leaving directory '/builddir/build/BUILD/dnsmasq-2.79/src' make: *** [Makefile:86: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.XIGQ9N (%build) RPM build warnings: RPM build errors: %patchN is deprecated (39 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.XIGQ9N (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dnsmasq.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dnsmasq.spec