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/netavark.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-344085-70066/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/netavark.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/netavark-1.7.0-1.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/netavark.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-344085-70066/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/netavark.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.CCirNO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netavark-1.7.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.7.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd netavark-1.7.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 'netavark-1.7.0 base' + tar fx /builddir/build/SOURCES/netavark-v1.7.0-vendor.tar.gz + mkdir -p .cargo + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mMm929 + umask 022 + cd /builddir/build/BUILD + cd netavark-1.7.0 + /usr/bin/make build mkdir -p bin mkdir -p targets cargo build --release Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.60 Compiling quote v1.0.28 Compiling unicode-ident v1.0.9 Compiling libc v0.2.146 Compiling memchr v2.5.0 Compiling futures-core v0.3.28 Compiling pin-project-lite v0.2.9 Compiling cfg-if v1.0.0 Compiling futures-io v0.3.28 Compiling syn v2.0.18 Compiling slab v0.4.8 Compiling log v0.4.19 Compiling anyhow v1.0.71 Compiling syn v1.0.109 Compiling futures-task v0.3.28 Compiling pin-utils v0.1.0 Compiling futures-sink v0.3.28 Compiling futures-channel v0.3.28 Compiling indexmap v1.9.3 Compiling bytes v1.4.0 Compiling futures-util v0.3.28 Compiling serde v1.0.164 Compiling socket2 v0.4.9 Compiling tokio v1.29.0 Compiling bitflags v1.3.2 Compiling mio v0.8.8 Compiling num_cpus v1.15.0 Compiling signal-hook-registry v1.4.1 Compiling io-lifetimes v1.0.11 Compiling rustix v0.37.20 Compiling thiserror v1.0.40 Compiling byteorder v1.4.3 Compiling once_cell v1.18.0 Compiling hashbrown v0.12.3 Compiling paste v1.0.12 Compiling tracing-core v0.1.31 Compiling either v1.8.1 Compiling itoa v1.0.6 Compiling heck v0.4.1 Compiling getrandom v0.2.10 Compiling rand_core v0.6.4 Compiling futures-macro v0.3.28 Compiling serde_derive v1.0.164 Compiling tokio-macros v2.1.0 Compiling thiserror-impl v1.0.40 Compiling tracing-attributes v0.1.24 Compiling tracing v0.1.37 Compiling netlink-packet-utils v0.5.2 Compiling netlink-packet-core v0.5.0 Compiling futures-executor v0.3.28 Compiling itertools v0.10.5 Compiling num-traits v0.2.15 Compiling rustversion v1.0.12 Compiling typenum v1.16.0 Compiling ppv-lite86 v0.2.17 Compiling crossbeam-utils v0.8.16 Compiling version_check v0.9.4 Compiling async-trait v0.1.68 Compiling rand_chacha v0.3.1 Compiling generic-array v0.14.7 Compiling prost-derive v0.11.9 Compiling futures v0.3.28 Compiling errno v0.3.1 Compiling memoffset v0.7.1 Compiling event-listener v2.5.3 Compiling tinyvec_macros v0.1.1 Compiling fnv v1.0.7 Compiling linux-raw-sys v0.3.8 Compiling static_assertions v1.1.0 Compiling http v0.2.9 Compiling tinyvec v1.6.0 Compiling netlink-sys v0.8.5 Compiling aho-corasick v1.0.2 Compiling rand v0.8.5 Compiling winnow v0.4.1 Compiling regex-syntax v0.7.2 Compiling toml_datetime v0.6.2 Compiling percent-encoding v2.3.0 Compiling toml_edit v0.19.8 Compiling regex v1.8.4 Compiling concurrent-queue v2.2.0 Compiling netlink-proto v0.11.1 Compiling unicode-normalization v0.1.22 Compiling tokio-util v0.7.8 Compiling tempfile v3.6.0 Compiling prettyplease v0.1.25 Compiling httparse v1.8.0 Compiling fastrand v1.9.0 Compiling waker-fn v1.1.0 Compiling tower-service v0.3.2 Compiling parking v2.1.0 Compiling unicode-bidi v0.3.13 Compiling futures-lite v1.13.0 Compiling prost v0.11.9 Compiling proc-macro-crate v1.3.1 Compiling nix v0.26.2 Compiling http-body v0.4.5 Compiling async-lock v2.7.0 error[E0432]: unresolved import `self::consts` --> /builddir/build/BUILD/netavark-1.7.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/netavark-1.7.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/netavark-1.7.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/netavark-1.7.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 netlink-packet-generic v0.3.2 Compiling zvariant_utils v1.0.1 Compiling try-lock v0.2.4 Compiling fixedbitset v0.4.2 Compiling petgraph v0.6.3 Compiling want v0.3.1 Compiling genetlink v0.2.4 Some errors have detailed explanations: E0425, E0432. For more information about an error, try `rustc --explain E0425`. error: could not compile `nix` (lib) due to 4 previous errors warning: build failed, waiting for other jobs to finish... make: *** [Makefile:57: build_netavark] Error 101 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.mMm929 (%build) Bad exit status from /var/tmp/rpm-tmp.mMm929 (%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/netavark.spec