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/rust-pcre2.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-185026-80200/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-pcre2.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/rust-pcre2-0.2.6-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-pcre2.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-185026-80200/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-pcre2.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.lavqlr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcre2-0.2.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pcre2-0.2.6.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pcre2-0.2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.9q7JfB + umask 022 + cd /builddir/build/BUILD + cd pcre2-0.2.6 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pcre2-0.2.6-2.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-pcre2.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-185026-80200/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-pcre2.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.ntsC8T + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcre2-0.2.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pcre2-0.2.6.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pcre2-0.2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Nbzo2w + umask 022 + cd /builddir/build/BUILD + cd pcre2-0.2.6 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pcre2-0.2.6-2.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-pcre2.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-185026-80200/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-pcre2.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(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Upo4Cu + umask 022 + cd /builddir/build/BUILD + cd pcre2-0.2.6 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aUCZxD + 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 pcre2-0.2.6 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j32 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.155 Compiling once_cell v1.19.0 Compiling pkg-config v0.3.30 Compiling log v0.4.21 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.155/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=0d828b3ab4f122fe -C extra-filename=-c67bbba0306baecc --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/build/libc-c67bbba0306baecc -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.19.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-atomic", "race", "std", "unstable"))' -C metadata=15a55ecb52085395 -C extra-filename=-4245035d224c443b --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name pkg_config --edition=2015 /usr/share/cargo/registry/pkg-config-0.3.30/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=b5a40aaf0eba4e23 -C extra-filename=-4f864fd70367200b --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name log --edition=2021 /usr/share/cargo/registry/log-0.4.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("kv", "kv_serde", "kv_std", "kv_sval", "kv_unstable", "kv_unstable_serde", "kv_unstable_std", "kv_unstable_sval", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "serde", "std", "sval", "sval_ref", "value-bag"))' -C metadata=27b588c7686b164c -C extra-filename=-e13e9673060bc4bb --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/pcre2-0.2.6/target/rpm/build/libc-c67bbba0306baecc/build-script-build` Running `/builddir/build/BUILD/pcre2-0.2.6/target/rpm/build/libc-c67bbba0306baecc/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=93d757143389b199 -C extra-filename=-658206aa653b67d7 --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time64)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_align)' --check-cfg 'cfg(libc_cfg_target_vendor)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_const_extern_fn_unstable)' --check-cfg 'cfg(libc_const_size_of)' --check-cfg 'cfg(libc_core_cvoid)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_int128)' --check-cfg 'cfg(libc_long_array)' --check-cfg 'cfg(libc_non_exhaustive)' --check-cfg 'cfg(libc_packedN)' --check-cfg 'cfg(libc_priv_mod_use)' --check-cfg 'cfg(libc_ptr_addr_of)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_underscore_const_names)' --check-cfg 'cfg(libc_union)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","visionos"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=4f93a8fe3b4099c8 -C extra-filename=-713ae162b8d8aea2 --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time64)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_align)' --check-cfg 'cfg(libc_cfg_target_vendor)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_const_extern_fn_unstable)' --check-cfg 'cfg(libc_const_size_of)' --check-cfg 'cfg(libc_core_cvoid)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_int128)' --check-cfg 'cfg(libc_long_array)' --check-cfg 'cfg(libc_non_exhaustive)' --check-cfg 'cfg(libc_packedN)' --check-cfg 'cfg(libc_priv_mod_use)' --check-cfg 'cfg(libc_ptr_addr_of)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_underscore_const_names)' --check-cfg 'cfg(libc_union)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","visionos"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling jobserver v0.1.30 Running `/usr/bin/rustc --crate-name jobserver --edition=2021 /usr/share/cargo/registry/jobserver-0.1.30/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=ecc6c87f23c97262 -C extra-filename=-30ea6e3763a58316 --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --extern libc=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/liblibc-658206aa653b67d7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cc v1.0.99 Running `/usr/bin/rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.0.99/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="jobserver"' --cfg 'feature="libc"' --cfg 'feature="once_cell"' --cfg 'feature="parallel"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("jobserver", "libc", "once_cell", "parallel"))' -C metadata=3337a600bcae49b2 -C extra-filename=-e5055e167da07822 --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --extern jobserver=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/libjobserver-30ea6e3763a58316.rmeta --extern libc=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/liblibc-658206aa653b67d7.rmeta --extern once_cell=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/libonce_cell-4245035d224c443b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling pcre2-sys v0.2.8 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/pcre2-sys-0.2.8/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=8f038d027fab76e4 -C extra-filename=-992b6c76cb91f8c7 --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/build/pcre2-sys-992b6c76cb91f8c7 -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --extern cc=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/libcc-e5055e167da07822.rlib --extern pkg_config=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/libpkg_config-4f864fd70367200b.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/pcre2-0.2.6/target/rpm/build/pcre2-sys-992b6c76cb91f8c7/build-script-build` Running `/usr/bin/rustc --crate-name pcre2_sys --edition=2021 /usr/share/cargo/registry/pcre2-sys-0.2.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=bc1fa2a4bc8407fc -C extra-filename=-07d9a8705e9263e1 --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --extern libc=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/liblibc-713ae162b8d8aea2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64 -l pcre2-8` Compiling pcre2 v0.2.6 (/builddir/build/BUILD/pcre2-0.2.6) Running `/usr/bin/rustc --crate-name pcre2 --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f6f09cbbea67e981 -C extra-filename=-5d99809987d7531c --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --extern libc=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/liblibc-713ae162b8d8aea2.rmeta --extern log=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/liblog-e13e9673060bc4bb.rmeta --extern pcre2_sys=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/libpcre2_sys-07d9a8705e9263e1.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` Finished `rpm` profile [optimized + debuginfo] target(s) in 26.87s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kPtxmD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-pcre2-0.2.6-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-pcre2-0.2.6-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/rust-pcre2-0.2.6-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-pcre2-0.2.6-2.oc9.loongarch64 + cd pcre2-0.2.6 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=pcre2 ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.2.6 + REG_DIR=/builddir/build/BUILDROOT/rust-pcre2-0.2.6-2.oc9.loongarch64/usr/share/cargo/registry/pcre2-0.2.6 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-pcre2-0.2.6-2.oc9.loongarch64/usr/share/cargo/registry/pcre2-0.2.6 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-pcre2-0.2.6-2.oc9.loongarch64/usr/share/cargo/registry/pcre2-0.2.6 warning: no (git) VCS found for `/builddir/build/BUILD/pcre2-0.2.6` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-pcre2-0.2.6-2.oc9.loongarch64/usr/share/cargo/registry/pcre2-0.2.6/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-pcre2-0.2.6-2.oc9.loongarch64/usr/share/cargo/registry/pcre2-0.2.6/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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.wTxWyb + 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 pcre2-0.2.6 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j32 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh once_cell v1.19.0 Fresh pkg-config v0.3.30 Fresh log v0.4.21 Fresh jobserver v0.1.30 Fresh libc v0.2.155 Fresh cc v1.0.99 Fresh pcre2-sys v0.2.8 Compiling pcre2 v0.2.6 (/builddir/build/BUILD/pcre2-0.2.6) Running `/usr/bin/rustc --crate-name pcre2 --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=fa11b60a15d0e885 -C extra-filename=-b2825261b581e73b --out-dir /builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps --extern libc=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/liblibc-713ae162b8d8aea2.rlib --extern log=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/liblog-e13e9673060bc4bb.rlib --extern pcre2_sys=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/libpcre2_sys-07d9a8705e9263e1.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` warning: unexpected `cfg` condition value: `std` --> src/pool.rs:690:11 | 690 | #[cfg(feature = "std")] | ^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `std` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `std` --> src/pool.rs:756:11 | 756 | #[cfg(feature = "std")] | ^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `std` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `std` --> src/pool.rs:791:11 | 791 | #[cfg(feature = "std")] | ^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `std` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: `pcre2` (lib test) generated 3 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 3.93s Running `/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/pcre2-b2825261b581e73b` running 20 tests test bytes::tests::capture_names ... ok test bytes::tests::captures_get ... ok test bytes::tests::captures_iter_empty ... ok test bytes::tests::extended ... ok test bytes::tests::dotall ... ok test bytes::tests::crlf ... ok test bytes::tests::caseless ... ok test bytes::tests::find_iter_empty ... ok test bytes::tests::jit_if_available ... ok test bytes::tests::jit4lyfe ... ok test bytes::tests::jit_test_lazy_alloc_subject ... ok test bytes::tests::find_start_end_and_as_bytes ... FAILED test bytes::tests::max_jit_stack_size_does_something ... ok test bytes::tests::find_utf_emoji_as_bytes ... FAILED test bytes::tests::utf ... ok test bytes::tests::ucp ... ok test bytes::tests::multi_line ... ok test bytes::tests::utf_with_invalid_data ... ok test pool::tests::thread_owner_distinct ... ok test pool::tests::oibits ... ok failures: ---- bytes::tests::find_start_end_and_as_bytes stdout ---- thread 'bytes::tests::find_start_end_and_as_bytes' panicked at src/bytes.rs:1348:14: called `Result::unwrap()` on an `Err` value: Error { kind: JIT, code: -45, offset: None, message: "bad JIT option" } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ---- bytes::tests::find_utf_emoji_as_bytes stdout ---- thread 'bytes::tests::find_utf_emoji_as_bytes' panicked at src/bytes.rs:1369:14: called `Result::unwrap()` on an `Err` value: Error { kind: JIT, code: -45, offset: None, message: "bad JIT option" } failures: bytes::tests::find_start_end_and_as_bytes bytes::tests::find_utf_emoji_as_bytes test result: FAILED. 18 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s error: test failed, to rerun pass `--lib` Doc-tests pcre2 Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name pcre2 --test src/lib.rs --test-run-directory /builddir/build/BUILD/pcre2-0.2.6 -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L dependency=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps -L native=/usr/lib64 --extern libc=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/liblibc-713ae162b8d8aea2.rlib --extern log=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/liblog-e13e9673060bc4bb.rlib --extern pcre2=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/libpcre2-5d99809987d7531c.rlib --extern pcre2_sys=/builddir/build/BUILD/pcre2-0.2.6/target/rpm/deps/libpcre2_sys-07d9a8705e9263e1.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --error-format human` running 7 tests test src/bytes.rs - bytes::Regex::is_match (line 419) ... ok test src/bytes.rs - bytes::Regex::captures_iter (line 565) ... ok test src/bytes.rs - bytes::Regex::find (line 439) ... ok test src/bytes.rs - bytes::Captures<'s>::get (line 865) ... ok test src/bytes.rs - bytes::Regex::captures (line 519) ... ok test src/bytes.rs - bytes::Regex::captures (line 496) ... ok test src/bytes.rs - bytes::Regex::find_iter (line 464) ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s error: 1 target failed: `--lib` RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.wTxWyb (%check) Bad exit status from /var/tmp/rpm-tmp.wTxWyb (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-pcre2.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 -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-pcre2.spec