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 loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-198305-13753/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.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 (1 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/aardvark-dns-1.6.0-5.ocs23.src.rpm RPM build warnings: %patchN is deprecated (1 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 loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-198305-13753/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.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 (1 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ur2Ud6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf aardvark-dns-1.6.0 + /usr/lib/rpm/rpmuncompress -x -v /builddir/build/SOURCES/aardvark-dns-1.6.0.tar.gz /usr/bin/gzip -dc '/builddir/build/SOURCES/aardvark-dns-1.6.0.tar.gz' | /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/ -rw-rw-r-- root/root 9967 2023-04-06 01:20 aardvark-dns-1.6.0/.cirrus.yml drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/.github/ -rw-rw-r-- root/root 2117 2023-04-06 01:20 aardvark-dns-1.6.0/.github/renovate.json5 drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/.github/workflows/ -rw-rw-r-- root/root 675 2023-04-06 01:20 aardvark-dns-1.6.0/.github/workflows/check_cirrus_cron.yml -rw-rw-r-- root/root 670 2023-04-06 01:20 aardvark-dns-1.6.0/.github/workflows/rerun_cirrus_cron.yml -rw-rw-r-- root/root 48 2023-04-06 01:20 aardvark-dns-1.6.0/.gitignore -rw-rw-r-- root/root 999 2023-04-06 01:20 aardvark-dns-1.6.0/.packit.sh -rw-rw-r-- root/root 686 2023-04-06 01:20 aardvark-dns-1.6.0/.packit.yaml -rw-rw-r-- root/root 199 2023-04-06 01:20 aardvark-dns-1.6.0/CODE-OF-CONDUCT.md -rw-rw-r-- root/root 32747 2023-04-06 01:20 aardvark-dns-1.6.0/Cargo.lock -rw-rw-r-- root/root 1407 2023-04-06 01:20 aardvark-dns-1.6.0/Cargo.toml -rw-rw-r-- root/root 2526 2023-04-06 01:20 aardvark-dns-1.6.0/DISTRO_PACKAGE.md -rw-rw-r-- root/root 11357 2023-04-06 01:20 aardvark-dns-1.6.0/LICENSE -rw-rw-r-- root/root 3813 2023-04-06 01:20 aardvark-dns-1.6.0/Makefile -rw-rw-r-- root/root 385 2023-04-06 01:20 aardvark-dns-1.6.0/OWNERS -rw-rw-r-- root/root 1044 2023-04-06 01:20 aardvark-dns-1.6.0/README.md -rw-rw-r-- root/root 1323 2023-04-06 01:20 aardvark-dns-1.6.0/RELEASE_NOTES.md -rw-rw-r-- root/root 1583 2023-04-06 01:20 aardvark-dns-1.6.0/aardvark-dns.spec.rpkg -rw-rw-r-- root/root 1139 2023-04-06 01:20 aardvark-dns-1.6.0/build.rs -rw-rw-r-- root/root 1622 2023-04-06 01:20 aardvark-dns-1.6.0/config.md drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/contrib/ drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/contrib/cirrus/ -rw-rw-r-- root/root 2077 2023-04-06 01:20 aardvark-dns-1.6.0/contrib/cirrus/lib.sh -rw-rw-r-- root/root 877 2023-04-06 01:20 aardvark-dns-1.6.0/contrib/cirrus/netavark_cache_groom.sh -rwxrwxr-x root/root 2513 2023-04-06 01:20 aardvark-dns-1.6.0/contrib/cirrus/runner.sh -rwxrwxr-x root/root 1458 2023-04-06 01:20 aardvark-dns-1.6.0/contrib/cirrus/setup.sh drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/docs/ -rw-rw-r-- root/root 331 2023-04-06 01:20 aardvark-dns-1.6.0/docs/publish-crate.md drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/hack/ -rwxrwxr-x root/root 2585 2023-04-06 01:20 aardvark-dns-1.6.0/hack/get_ci_vm.sh drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/ drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/backend/ -rw-rw-r-- root/root 5152 2023-04-06 01:20 aardvark-dns-1.6.0/src/backend/mod.rs drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/commands/ -rw-rw-r-- root/root 30 2023-04-06 01:20 aardvark-dns-1.6.0/src/commands/mod.rs -rw-rw-r-- root/root 3710 2023-04-06 01:20 aardvark-dns-1.6.0/src/commands/run.rs -rw-rw-r-- root/root 982 2023-04-06 01:20 aardvark-dns-1.6.0/src/commands/version.rs drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/config/ -rw-rw-r-- root/root 53 2023-04-06 01:20 aardvark-dns-1.6.0/src/config/constants.rs -rw-rw-r-- root/root 14396 2023-04-06 01:20 aardvark-dns-1.6.0/src/config/mod.rs drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/dns/ -rw-rw-r-- root/root 23234 2023-04-06 01:20 aardvark-dns-1.6.0/src/dns/coredns.rs -rw-rw-r-- root/root 17 2023-04-06 01:20 aardvark-dns-1.6.0/src/dns/mod.rs -rw-rw-r-- root/root 80 2023-04-06 01:20 aardvark-dns-1.6.0/src/lib.rs -rw-rw-r-- root/root 2450 2023-04-06 01:20 aardvark-dns-1.6.0/src/main.rs drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/server/ -rw-rw-r-- root/root 66 2023-04-06 01:20 aardvark-dns-1.6.0/src/server/mod.rs -rw-rw-r-- root/root 8366 2023-04-06 01:20 aardvark-dns-1.6.0/src/server/serve.rs drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/ drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/ drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/network_scoped_custom_dns/ -rw-rw-r-- root/root 441 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/network_scoped_custom_dns/podman drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/podman/ -rw-rw-r-- root/root 399 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/podman/podman -rw-rw-r-- root/root 315 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/podman2 drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/podman_bad_config/ -rw-rw-r-- root/root 140 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/podman_bad_config/podman drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/podman_custom_dns_servers/ -rw-rw-r-- root/root 427 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/podman_custom_dns_servers/podman drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/podman_v6_entries/ -rw-rw-r-- root/root 414 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/podman_v6_entries/podman_v6_entries -rw-rw-r-- root/root 254 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/podman_v6_entries/podman_v6_entries_proper -rw-rw-r-- root/root 246 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/config/test1 -rw-rw-r-- root/root 14 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/mod.rs -rw-rw-r-- root/root 26444 2023-04-06 01:20 aardvark-dns-1.6.0/src/test/test.rs drwxrwxr-x root/root 0 2023-04-06 01:20 aardvark-dns-1.6.0/test/ -rw-rw-r-- root/root 7164 2023-04-06 01:20 aardvark-dns-1.6.0/test/100-basic-name-resolution.bats -rw-rw-r-- root/root 4110 2023-04-06 01:20 aardvark-dns-1.6.0/test/200-two-networks.bats -rw-rw-r-- root/root 9897 2023-04-06 01:20 aardvark-dns-1.6.0/test/300-three-networks.bats -rw-rw-r-- root/root 1006 2023-04-06 01:20 aardvark-dns-1.6.0/test/400-aliases.bats -rw-rw-r-- root/root 2174 2023-04-06 01:20 aardvark-dns-1.6.0/test/500-reverse-lookups.bats -rw-rw-r-- root/root 17259 2023-04-06 01:20 aardvark-dns-1.6.0/test/helpers.bash + STATUS=0 + '[' 0 -ne 0 ']' + cd aardvark-dns-1.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar fx /builddir/build/SOURCES/aardvark-dns-v1.6.0-vendor.tar.gz + echo 'Patch #3001 (0001-aardvark-dns-1.6.0-add-loongarch64-support-for-nix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 Patch #3001 (0001-aardvark-dns-1.6.0-add-loongarch64-support-for-nix.patch): patching file vendor/nix/.cargo-checksum.json patching file vendor/nix/src/sys/ioctl/linux.rs + mkdir -p .cargo + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tyV4gM + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 aardvark-dns-1.6.0 + /usr/bin/make build mkdir -p bin mkdir -p targets cargo build --release Compiling libc v0.2.140 Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.54 Compiling unicode-ident v1.0.1 Compiling quote v1.0.26 Compiling syn v1.0.98 Compiling cfg-if v1.0.0 Compiling version_check v0.9.4 Compiling futures-core v0.3.28 Compiling log v0.4.17 Compiling tinyvec_macros v0.1.0 Compiling pin-project-lite v0.2.9 Compiling futures-task v0.3.28 Compiling matches v0.1.9 Compiling heck v0.4.0 Compiling pin-utils v0.1.0 Compiling futures-util v0.3.28 Compiling once_cell v1.13.0 Compiling slab v0.4.6 Compiling async-trait v0.1.56 Compiling unicode-bidi v0.3.8 Compiling serde_derive v1.0.139 Compiling smallvec v1.9.0 Compiling futures-channel v0.3.21 Compiling ppv-lite86 v0.2.16 Compiling percent-encoding v2.1.0 Compiling bytes v1.1.0 Compiling serde v1.0.139 Compiling num_threads v0.1.6 Compiling itoa v1.0.2 Compiling data-encoding v2.3.2 Compiling lazy_static v1.4.0 Compiling iana-time-zone v0.1.53 Compiling tinyvec v1.6.0 Compiling ipnet v2.5.0 Compiling futures-io v0.3.21 Compiling endian-type v0.1.2 Compiling bitflags v1.3.2 Compiling match_cfg v0.1.0 Compiling signal-hook v0.3.15 Compiling hashbrown v0.12.2 Compiling os_str_bytes v6.1.0 Compiling anyhow v1.0.70 Compiling strsim v0.10.0 Compiling quick-error v1.2.3 Compiling event-listener v2.5.2 Compiling textwrap v0.16.0 Compiling form_urlencoded v1.0.1 Compiling tracing-core v0.1.29 Compiling static_assertions v1.1.0 Compiling termcolor v1.1.3 Compiling resolv-conf v0.7.0 Compiling async-broadcast v0.5.1 Compiling nibble_vec v0.1.0 Compiling num-traits v0.2.15 Compiling num-integer v0.1.45 Compiling tokio v1.27.0 Compiling indexmap v1.9.1 Compiling memoffset v0.7.1 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling error-chain v0.12.4 Compiling radix_trie v0.2.1 Compiling clap_lex v0.2.4 Compiling unicode-normalization v0.1.21 Compiling syn v2.0.12 Compiling time v0.1.44 Compiling getrandom v0.2.7 Compiling mio v0.8.4 Compiling socket2 v0.4.9 Compiling num_cpus v1.13.1 Compiling time v0.3.11 Compiling signal-hook-registry v1.4.0 Compiling atty v0.2.14 Compiling hostname v0.3.1 Compiling nix v0.26.2 Compiling idna v0.2.3 Compiling rand_core v0.6.3 Compiling chrono v0.4.24 Compiling rand_chacha v0.3.1 Compiling rand v0.8.5 Compiling url v2.2.2 Compiling syslog v6.0.1 Compiling futures-executor v0.3.21 Compiling aardvark-dns v1.6.0 (/builddir/build/BUILD/aardvark-dns-1.6.0) Compiling tokio-macros v2.0.0 Compiling thiserror-impl v1.0.31 Compiling tracing-attributes v0.1.22 Compiling enum-as-inner v0.5.1 Compiling clap_derive v3.2.18 Compiling thiserror v1.0.31 Compiling tracing v0.1.36 Compiling clap v3.2.23 Compiling trust-dns-proto v0.22.0 Compiling trust-dns-client v0.22.0 Compiling toml v0.5.9 Compiling trust-dns-server v0.22.0 Finished release [optimized] target(s) in 46.63s cp targets/release/aardvark-dns bin/aardvark-dns + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S8etVM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/aardvark-dns-1.6.0-5.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/aardvark-dns-1.6.0-5.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/aardvark-dns-1.6.0-5.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/aardvark-dns-1.6.0-5.ocs23.loongarch64 + cd aardvark-dns-1.6.0 + /usr/bin/make DESTDIR=/builddir/build/BUILDROOT/aardvark-dns-1.6.0-5.ocs23.loongarch64 PREFIX=/usr install install -D -m0755 bin/aardvark-dns /builddir/build/BUILDROOT/aardvark-dns-1.6.0-5.ocs23.loongarch64//usr/libexec/podman/aardvark-dns #/usr/bin/make -C docs install + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: aardvark-dns-1.6.0-5.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KTWwRf + umask 022 + cd /builddir/build/BUILD + cd aardvark-dns-1.6.0 + LICENSEDIR=/builddir/build/BUILDROOT/aardvark-dns-1.6.0-5.ocs23.loongarch64/usr/share/licenses/aardvark-dns + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/aardvark-dns-1.6.0-5.ocs23.loongarch64/usr/share/licenses/aardvark-dns + cp -pr LICENSE /builddir/build/BUILDROOT/aardvark-dns-1.6.0-5.ocs23.loongarch64/usr/share/licenses/aardvark-dns + RPM_EC=0 ++ jobs -p + exit 0 Provides: aardvark-dns = 1.6.0-5.ocs23 aardvark-dns(loongarch-64) = 1.6.0-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Conflicts: netavark < 1.6.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/aardvark-dns-1.6.0-5.ocs23.loongarch64 Wrote: /builddir/build/RPMS/aardvark-dns-1.6.0-5.ocs23.loongarch64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0