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/netavark.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-176265-11049/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/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.6.0-5.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/netavark.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-176265-11049/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/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.Iga5M0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netavark-1.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v1.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd netavark-1.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/netavark-v1.6.0-vendor.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir -p .cargo + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ch4cX0 + 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 netavark-1.6.0 + cargo build --release Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.53 Compiling unicode-ident v1.0.8 Compiling quote v1.0.26 Compiling libc v0.2.140 Compiling syn v1.0.109 Compiling cfg-if v1.0.0 Compiling memchr v2.5.0 Compiling log v0.4.17 Compiling futures-core v0.3.28 Compiling pin-project-lite v0.2.9 Compiling futures-io v0.3.28 Compiling anyhow v1.0.70 Compiling futures-channel v0.3.28 Compiling futures-task v0.3.28 Compiling futures-sink v0.3.28 Compiling bytes v1.4.0 Compiling pin-utils v0.1.0 Compiling futures-util v0.3.28 Compiling serde v1.0.159 Compiling serde_derive v1.0.159 Compiling version_check v0.9.4 Compiling thiserror v1.0.39 Compiling bitflags v1.3.2 Compiling byteorder v1.4.3 Compiling once_cell v1.17.1 Compiling hashbrown v0.12.3 Compiling io-lifetimes v1.0.5 Compiling paste v1.0.12 Compiling rustix v0.36.9 Compiling either v1.8.1 Compiling heck v0.4.1 Compiling itoa v1.0.6 Compiling typenum v1.16.0 Compiling async-trait v0.1.68 Compiling rustversion v1.0.12 Compiling crossbeam-utils v0.8.15 Compiling ppv-lite86 v0.2.17 Compiling event-listener v2.5.3 Compiling fnv v1.0.7 Compiling tinyvec_macros v0.1.1 Compiling itertools v0.10.5 Compiling winnow v0.3.4 Compiling tinyvec v1.6.0 Compiling static_assertions v1.1.0 Compiling percent-encoding v2.2.0 Compiling regex-syntax v0.6.28 Compiling toml_datetime v0.6.1 Compiling parking v2.0.0 Compiling httparse v1.8.0 Compiling tracing-core v0.1.30 Compiling tower-service v0.3.2 Compiling prettyplease v0.1.24 Compiling unicode-bidi v0.3.10 Compiling fastrand v1.9.0 Compiling aho-corasick v0.7.20 Compiling waker-fn v1.1.0 Compiling linux-raw-sys v0.1.4 Compiling async-lock v2.7.0 Compiling slab v0.4.8 Compiling indexmap v1.9.2 Compiling tokio v1.27.0 error[E0432]: unresolved import `crate::general` --> /builddir/build/BUILD/netavark-1.6.0/vendor/linux-raw-sys/src/lib.rs:84:16 | 84 | use crate::general::{cmsghdr, msghdr}; | ^^^^^^^ could not find `general` in the crate root Compiling num-traits v0.2.15 error[E0433]: failed to resolve: use of undeclared crate or module `general` --> /builddir/build/BUILD/netavark-1.6.0/vendor/linux-raw-sys/src/lib.rs:67:20 | 67 | impl PartialEq for general::__kernel_timespec { | ^^^^^^^ use of undeclared crate or module `general` error[E0433]: failed to resolve: use of undeclared crate or module `general` --> /builddir/build/BUILD/netavark-1.6.0/vendor/linux-raw-sys/src/lib.rs:79:13 | 79 | impl Eq for general::__kernel_timespec {} | ^^^^^^^ use of undeclared crate or module `general` Some errors have detailed explanations: E0432, E0433. For more information about an error, try `rustc --explain E0432`. error: could not compile `linux-raw-sys` (lib) due to 3 previous errors warning: build failed, waiting for other jobs to finish... error: Bad exit status from /var/tmp/rpm-tmp.ch4cX0 (%build) Bad exit status from /var/tmp/rpm-tmp.ch4cX0 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/netavark.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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 loongarch64 --nodeps /builddir/build/SPECS/netavark.spec