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/mdevctl.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-189391-12842/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/mdevctl.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/mdevctl-1.2.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/mdevctl.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-189391-12842/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/mdevctl.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.oKudSE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mdevctl-1.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mdevctl-1.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mdevctl-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar jxf /builddir/build/SOURCES/mdevctl-1.2.0-vendor.tar.bz2 + mkdir .cargo + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LczD6j + 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 mdevctl-1.2.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo build -j32 -Z avoid-dev-deps --release Compiling libc v0.2.139 Compiling proc-macro2 v1.0.49 Compiling version_check v0.9.4 Compiling autocfg v1.1.0 Compiling unicode-ident v1.0.6 Compiling quote v1.0.23 Compiling syn v1.0.107 Compiling heck v0.4.0 Compiling cfg-if v1.0.0 Compiling os_str_bytes v6.4.1 Compiling hashbrown v0.12.3 Compiling memchr v2.5.0 Compiling termcolor v1.1.3 Compiling textwrap v0.16.0 Compiling bitflags v1.3.2 Compiling strsim v0.10.0 Compiling once_cell v1.17.0 Compiling log v0.4.17 Compiling serde v1.0.152 Compiling serde_json v1.0.91 Compiling regex-syntax v0.6.28 Compiling anyhow v1.0.68 Compiling humantime v2.1.0 Compiling remove_dir_all v0.5.3 Compiling fastrand v1.8.0 Compiling itoa v1.0.5 Compiling ryu v1.0.12 Compiling clap_lex v0.2.4 Compiling aho-corasick v0.7.20 Compiling atty v0.2.14 Compiling getrandom v0.2.8 Compiling uuid v0.8.2 Compiling tempfile v3.3.0 Compiling indexmap v1.9.2 Compiling regex v1.7.1 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling env_logger v0.8.4 Compiling clap_derive v3.2.18 Compiling clap v3.2.23 Compiling clap_complete v3.2.5 Compiling mdevctl v1.2.0 (/builddir/build/BUILD/mdevctl-1.2.0) Finished release [optimized] target(s) in 2m 28s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vurcST + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64 + cd mdevctl-1.2.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/etc/mdevctl.d mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/lib/udev/rules.d/ install -m 644 60-mdevctl.rules /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/lib/udev/rules.d/ mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/sbin install -m 755 target/release/mdevctl /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/sbin/ ln -sf mdevctl /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/sbin/lsmdev mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/man/man8 install -m 644 /builddir/build/BUILD/mdevctl-1.2.0/target/release/build/mdevctl-17c8ba94379f41e5/out/mdevctl.8 /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/man/man8/ ln -sf mdevctl.8 /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/man/man8/lsmdev.8 mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/bash-completion/completions/ install -m 644 -T /builddir/build/BUILD/mdevctl-1.2.0/target/release/build/mdevctl-17c8ba94379f41e5/out/mdevctl.bash /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/bash-completion/completions/mdevctl install -m 644 -T /builddir/build/BUILD/mdevctl-1.2.0/target/release/build/mdevctl-17c8ba94379f41e5/out/lsmdev.bash /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/bash-completion/completions/lsmdev mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/etc/mdevctl.d/scripts.d/callouts mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/etc/mdevctl.d/scripts.d/notifiers + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.2.0-5.ocs23 --unique-debug-suffix -1.2.0-5.ocs23.loongarch64 --unique-debug-src-base mdevctl-1.2.0-5.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/mdevctl-1.2.0 extracting debug info from /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/sbin/mdevctl warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts of file /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/sbin/mdevctl. Use `info auto-load python-scripts [REGEXP]' to list them. 8967 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XkyY0k + 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 mdevctl-1.2.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo test -j32 -Z avoid-dev-deps --release --no-fail-fast Compiling mdevctl v1.2.0 (/builddir/build/BUILD/mdevctl-1.2.0) Finished release [optimized] target(s) in 23.71s Running unittests src/main.rs (target/release/deps/mdevctl-0bbda6a2b01fbb84) running 10 tests test tests::test_stop ... ok test tests::test_invalid_files ... ok test tests::test_types ... ok test tests::test_undefine ... ok test tests::test_load_json ... ok test tests::test_modify ... ok test tests::test_define ... ok test tests::test_list ... ok test tests::test_start ... ok test tests::test_callouts ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: mdevctl-1.2.0-5.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.u5torz + umask 022 + cd /builddir/build/BUILD + cd mdevctl-1.2.0 + DOCDIR=/builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/doc/mdevctl + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/doc/mdevctl + cp -pr README.md /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/doc/mdevctl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.e9vlgO + umask 022 + cd /builddir/build/BUILD + cd mdevctl-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/licenses/mdevctl + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/licenses/mdevctl + cp -pr COPYING /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64/usr/share/licenses/mdevctl + RPM_EC=0 ++ jobs -p + exit 0 Provides: mdevctl = 1.2.0-5.ocs23 mdevctl(loongarch-64) = 1.2.0-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /usr/sbin/udevadm Requires(postun): /usr/sbin/udevadm 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) rtld(GNU_HASH) Processing files: mdevctl-debugsource-1.2.0-5.ocs23.loongarch64 Provides: mdevctl-debugsource = 1.2.0-5.ocs23 mdevctl-debugsource(loongarch-64) = 1.2.0-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mdevctl-debuginfo-1.2.0-5.ocs23.loongarch64 Provides: debuginfo(build-id) = 258ed4809dd5aa71b7fc2ff769ad33d49b89b46f mdevctl-debuginfo = 1.2.0-5.ocs23 mdevctl-debuginfo(loongarch-64) = 1.2.0-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mdevctl-debugsource(loongarch-64) = 1.2.0-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.loongarch64 Wrote: /builddir/build/RPMS/mdevctl-1.2.0-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/mdevctl-debugsource-1.2.0-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/mdevctl-debuginfo-1.2.0-5.ocs23.loongarch64.rpm Child return code was: 0