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.7-build-227243-62190/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.1.0-7.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.7-build-227243-62190/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.ocdih2 + umask 022 + cd /builddir/build/BUILD + tar fx /builddir/build/SOURCES/v1.1.0-rhel-e868e02.tar.gz + pushd containers-netavark-e868e02 ~/build/BUILD/containers-netavark-e868e02 ~/build/BUILD + tar fx /builddir/build/SOURCES/netavark-v1.1.0-vendor.tar.gz + mkdir -p .cargo + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uOC79x + umask 022 ~/build/BUILD/containers-netavark-e868e02 ~/build/BUILD + cd /builddir/build/BUILD + pushd containers-netavark-e868e02 + /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.1.0 base' + /usr/bin/make build mkdir -p bin mkdir -p targets cargo build --release Compiling proc-macro2 v1.0.40 Compiling unicode-ident v1.0.1 Compiling quote v1.0.20 Compiling syn v1.0.98 Compiling libc v0.2.126 Compiling autocfg v1.1.0 Compiling cfg-if v1.0.0 Compiling memchr v2.5.0 Compiling serde v1.0.140 Compiling serde_derive v1.0.140 Compiling futures-core v0.3.21 Compiling version_check v0.9.4 Compiling pin-project-lite v0.2.9 Compiling log v0.4.17 Compiling once_cell v1.13.0 Compiling smallvec v1.9.0 Compiling futures-io v0.3.21 Compiling scopeguard v1.1.0 Compiling futures-channel v0.3.21 Compiling futures-task v0.3.21 Compiling byteorder v1.4.3 Compiling slab v0.4.6 Compiling futures-sink v0.3.21 Compiling bitflags v1.3.2 Compiling futures-util v0.3.21 Compiling parking_lot_core v0.9.3 Compiling anyhow v1.0.58 Compiling typenum v1.15.0 Compiling pin-utils v0.1.0 Compiling paste v1.0.7 Compiling cache-padded v1.2.0 Compiling parking_lot_core v0.8.5 Compiling waker-fn v1.1.0 Compiling tinyvec_macros v0.1.0 Compiling fastrand v1.7.0 Compiling bytes v1.1.0 Compiling event-listener v2.5.2 Compiling parking v2.0.0 Compiling ppv-lite86 v0.2.16 Compiling async-trait v0.1.56 Compiling static_assertions v1.1.0 Compiling regex-syntax v0.6.27 Compiling matches v0.1.9 Compiling unicode-bidi v0.3.8 Compiling lazy_static v1.4.0 Compiling os_str_bytes v6.1.0 Compiling heck v0.4.0 Compiling same-file v1.0.6 Compiling hashbrown v0.12.2 Compiling async-task v4.3.0 Compiling percent-encoding v2.1.0 Compiling termcolor v1.1.3 Compiling easy-parallel v3.2.0 Compiling sha1_smol v1.0.0 Compiling serde_json v1.0.82 Compiling itoa v1.0.2 Compiling strsim v0.10.0 Compiling hex v0.4.3 Compiling ryu v1.0.10 Compiling humantime v2.1.0 Compiling textwrap v0.15.0 Compiling instant v0.1.12 Compiling num-traits v0.2.15 Compiling lock_api v0.4.7 Compiling num-integer v0.1.45 Compiling memoffset v0.6.5 Compiling tokio v1.20.0 Compiling indexmap v1.9.1 Compiling tracing-core v0.1.28 Compiling generic-array v0.14.5 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling concurrent-queue v1.2.2 Compiling tinyvec v1.6.0 Compiling async-lock v2.5.0 Compiling clap_lex v0.2.4 Compiling walkdir v2.3.2 Compiling form_urlencoded v1.0.1 Compiling sha1 v0.6.1 Compiling unicode-normalization v0.1.21 Compiling aho-corasick v0.7.18 Compiling time v0.1.44 Compiling futures-lite v1.12.0 Compiling async-channel v1.6.1 Compiling ordered-stream v0.0.1 Compiling socket2 v0.4.4 Compiling getrandom v0.2.7 Compiling num_cpus v1.13.1 Compiling signal-hook-registry v1.4.0 Compiling dirs-sys v0.3.7 Compiling atty v0.2.14 Compiling fs2 v0.4.3 Compiling mio v0.8.4 Compiling polling v2.2.0 Compiling idna v0.2.3 Compiling regex v1.6.0 Compiling async-executor v1.4.1 Compiling rand_core v0.6.3 Compiling parking_lot v0.12.1 Compiling parking_lot v0.11.2 Compiling dirs v4.0.0 Compiling nix v0.23.1 Compiling nix v0.24.2 error[E0432]: unresolved import `self::consts` --> /builddir/build/BUILD/containers-netavark-e868e02/vendor/nix-0.23.1/src/sys/ioctl/linux.rs:51:15 | 51 | pub use self::consts::*; | ^^^^^^ could not find `consts` in `self` error[E0425]: cannot find value `SIZEBITS` in this scope --> /builddir/build/BUILD/containers-netavark-e868e02/vendor/nix-0.23.1/src/sys/ioctl/linux.rs:60:50 | 60 | 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/containers-netavark-e868e02/vendor/nix-0.23.1/src/sys/ioctl/linux.rs:67:44 | 67 | 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/containers-netavark-e868e02/vendor/nix-0.23.1/src/sys/ioctl/linux.rs:69:43 | 13 | pub const NRBITS: ioctl_num_type = 8; | ------------------------------------- similarly named constant `NRBITS` defined here ... 69 | pub const DIRMASK: ioctl_num_type = (1 << DIRBITS) - 1; | ^^^^^^^ help: a constant with a similar name exists: `NRBITS` error[E0432]: unresolved import `self::consts` --> /builddir/build/BUILD/containers-netavark-e868e02/vendor/nix/src/sys/ioctl/linux.rs:52:15 | 52 | pub use self::consts::*; | ^^^^^^ could not find `consts` in `self` error[E0425]: cannot find value `SIZEBITS` in this scope --> /builddir/build/BUILD/containers-netavark-e868e02/vendor/nix/src/sys/ioctl/linux.rs:61:50 | 61 | 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/containers-netavark-e868e02/vendor/nix/src/sys/ioctl/linux.rs:68:44 | 68 | 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/containers-netavark-e868e02/vendor/nix/src/sys/ioctl/linux.rs:70:43 | 13 | pub const NRBITS: ioctl_num_type = 8; | ------------------------------------- similarly named constant `NRBITS` defined here ... 70 | pub const DIRMASK: ioctl_num_type = (1 << DIRBITS) - 1; | ^^^^^^^ help: a constant with a similar name exists: `NRBITS` 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:47: build] Error 101 error: Bad exit status from /var/tmp/rpm-tmp.uOC79x (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.uOC79x (%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