Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-272613-64170/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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 Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/aardvark-dns-1.5.0-2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-272613-64170/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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 Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nEUNkt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf aardvark-dns-1.5.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.5.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd aardvark-dns-1.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'aardvark-dns-1.5.0 base' + tar fx /builddir/build/SOURCES/aardvark-dns-v1.5.0-vendor.tar.gz + mkdir -p .cargo + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Tp83VK + umask 022 + cd /builddir/build/BUILD + cd aardvark-dns-1.5.0 + /usr/bin/make build mkdir -p bin mkdir -p targets cargo build --release Compiling libc v0.2.139 Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.40 Compiling quote v1.0.20 Compiling unicode-ident v1.0.1 Compiling syn v1.0.98 Compiling cfg-if v1.0.0 Compiling version_check v0.9.4 Compiling futures-core v0.3.25 Compiling smallvec v1.9.0 Compiling log v0.4.17 Compiling futures-task v0.3.25 Compiling pin-project-lite v0.2.9 Compiling tinyvec_macros v0.1.0 Compiling memchr v2.5.0 Compiling futures-util v0.3.25 Compiling heck v0.4.0 Compiling once_cell v1.13.0 Compiling pin-utils v0.1.0 Compiling matches v0.1.9 Compiling async-trait v0.1.56 Compiling unicode-bidi v0.3.8 Compiling serde_derive v1.0.139 Compiling percent-encoding v2.1.0 Compiling ppv-lite86 v0.2.16 Compiling slab v0.4.6 Compiling futures-channel v0.3.21 Compiling parking_lot_core v0.9.3 Compiling serde v1.0.139 Compiling itoa v1.0.2 Compiling num_threads v0.1.6 Compiling bytes v1.1.0 Compiling lazy_static v1.4.0 Compiling futures-io v0.3.21 Compiling ipnet v2.5.0 Compiling endian-type v0.1.2 Compiling data-encoding v2.3.2 Compiling scopeguard v1.1.0 Compiling iana-time-zone v0.1.53 Compiling bitflags v1.3.2 Compiling signal-hook v0.3.14 Compiling anyhow v1.0.68 Compiling match_cfg v0.1.0 Compiling hashbrown v0.12.2 Compiling os_str_bytes v6.1.0 Compiling termcolor v1.1.3 Compiling quick-error v1.2.3 Compiling event-listener v2.5.2 Compiling textwrap v0.16.0 Compiling static_assertions v1.1.0 Compiling strsim v0.10.0 Compiling num-traits v0.2.15 Compiling tokio v1.25.0 Compiling num-integer v0.1.45 Compiling lock_api v0.4.7 Compiling indexmap v1.9.1 Compiling memoffset v0.7.1 Compiling nibble_vec v0.1.0 Compiling tinyvec v1.6.0 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling error-chain v0.12.4 Compiling tracing-core v0.1.29 Compiling form_urlencoded v1.0.1 Compiling clap_lex v0.2.4 Compiling resolv-conf v0.7.0 Compiling radix_trie v0.2.1 Compiling unicode-normalization v0.1.21 Compiling getrandom v0.2.7 Compiling mio v0.8.4 Compiling num_cpus v1.13.1 Compiling socket2 v0.4.4 Compiling time v0.3.11 Compiling atty v0.2.14 Compiling signal-hook-registry v1.4.0 Compiling hostname v0.3.1 Compiling time v0.1.44 Compiling idna v0.2.3 Compiling nix v0.26.2 Compiling rand_core v0.6.3 error[E0432]: unresolved import `self::consts` --> /builddir/build/BUILD/aardvark-dns-1.5.0/vendor/nix/src/sys/ioctl/linux.rs:60:15 | 60 | pub use self::consts::*; | ^^^^^^ could not find `consts` in `self` error[E0425]: cannot find value `SIZEBITS` in this scope --> /builddir/build/BUILD/aardvark-dns-1.5.0/vendor/nix/src/sys/ioctl/linux.rs:69:50 | 69 | pub const DIRSHIFT: ioctl_num_type = SIZESHIFT + SIZEBITS as ioctl_num_type; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `SIZEBITS` in this scope --> /builddir/build/BUILD/aardvark-dns-1.5.0/vendor/nix/src/sys/ioctl/linux.rs:76:44 | 76 | pub const SIZEMASK: ioctl_num_type = (1 << SIZEBITS) - 1; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `DIRBITS` in this scope --> /builddir/build/BUILD/aardvark-dns-1.5.0/vendor/nix/src/sys/ioctl/linux.rs:78:43 | 13 | pub const NRBITS: ioctl_num_type = 8; | ------------------------------------- similarly named constant `NRBITS` defined here ... 78 | pub const DIRMASK: ioctl_num_type = (1 << DIRBITS) - 1; | ^^^^^^^ help: a constant with a similar name exists: `NRBITS` Compiling parking_lot v0.12.1 Compiling syslog v6.0.1 Some errors have detailed explanations: E0425, E0432. For more information about an error, try `rustc --explain E0425`. error: could not compile `nix` due to 4 previous errors warning: build failed, waiting for other jobs to finish... error: build failed make: *** [Makefile:50: build] Error 101 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Tp83VK (%build) Bad exit status from /var/tmp/rpm-tmp.Tp83VK (%build) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.spec