D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
Installing /home/pterjan/rpmbuild/SRPMS/rust-pcre2-0.2.6-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UQHsQV
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cylGBJ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build
+ rm -rf pcre2-0.2.6
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/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 /home/pterjan/rpmbuild/tmp/rpm-tmp.PvqjOm
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-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 /home/pterjan/rpmbuild/tmp/rpm-tmp.0vIXEs
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd pcre2-0.2.6
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /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 -j16 -Z avoid-dev-deps --profile rpm
   Compiling libc v0.2.171
   Compiling shlex v1.3.0
   Compiling pkg-config v0.3.31
   Compiling log v0.4.26
     Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.171/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=42efa26aba98bd78 -C extra-filename=-5121e35c8cbfbca6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/build/libc-5121e35c8cbfbca6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-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 shlex --edition=2015 /usr/share/cargo/registry/shlex-1.3.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="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=566bf8880046a0c7 -C extra-filename=-116192f98fb20e65 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-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=2018 /usr/share/cargo/registry/pkg-config-0.3.31/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=7bc00476902fb45c -C extra-filename=-101b1c6c5919a3df --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-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.26/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", "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"))' -C metadata=081303fc207f2870 -C extra-filename=-d36e7413773bcebc --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-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 `/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/build/libc-5121e35c8cbfbca6/build-script-build`
     Running `/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/build/libc-5121e35c8cbfbca6/build-script-build`
     Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.171/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=725a75cc44332baf -C extra-filename=-8db1b84232c234ea --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-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_const_extern_fn --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_time32)' --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_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --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=2021 /usr/share/cargo/registry/libc-0.2.171/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=1e527a32fc5a66ef -C extra-filename=-bf8c0700655d2ea6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-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_const_extern_fn --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_time32)' --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_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'`
   Compiling jobserver v0.1.32
     Running `/usr/bin/rustc --crate-name jobserver --edition=2021 /usr/share/cargo/registry/jobserver-0.1.32/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=198fc1f43605bbbd -C extra-filename=-848a3d701500031d --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/liblibc-bf8c0700655d2ea6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
   Compiling cc v1.2.17
     Running `/usr/bin/rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.2.17/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="parallel"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("jobserver", "parallel"))' -C metadata=4c8b38fb5a8ed004 -C extra-filename=-008b8f8412cf8d61 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps --extern jobserver=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/libjobserver-848a3d701500031d.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/liblibc-bf8c0700655d2ea6.rmeta --extern shlex=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/libshlex-116192f98fb20e65.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=b26338f0f1b96e72 -C extra-filename=-397e7d7376e620f0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/build/pcre2-sys-397e7d7376e620f0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps --extern cc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/libcc-008b8f8412cf8d61.rlib --extern pkg_config=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/libpkg_config-101b1c6c5919a3df.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/build/pcre2-sys-397e7d7376e620f0/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=23157782fc7206c6 -C extra-filename=-6e8b6d693bcc90a1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/liblibc-8db1b84232c234ea.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 (/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-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=0d82708af9d4f8f8 -C extra-filename=-9303f38eabca6e88 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/liblibc-8db1b84232c234ea.rmeta --extern log=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/liblog-d36e7413773bcebc.rmeta --extern pcre2_sys=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/libpcre2_sys-6e8b6d693bcc90a1.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 14.28s
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yT21SV
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build
+ mkdir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd pcre2-0.2.6
+ '[' 1 -eq 1 ']'
+ 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=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/BUILDROOT/usr/share/cargo/registry/pcre2-0.2.6
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/BUILDROOT/usr/share/cargo/registry/pcre2-0.2.6
+ /usr/bin/awk -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 /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/BUILDROOT/usr/share/cargo/registry/pcre2-0.2.6
warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6`
+ /usr/bin/mv Cargo.toml.deps Cargo.toml
+ /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/BUILDROOT/usr/share/cargo/registry/pcre2-0.2.6/Cargo.toml
+ /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/BUILDROOT/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
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BikJr6
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd pcre2-0.2.6
+ '[' 1 -eq 1 ']'
+ /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 -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast
       Fresh jobserver v0.1.32
       Fresh shlex v1.3.0
       Fresh cc v1.2.17
       Fresh pkg-config v0.3.31
       Fresh libc v0.2.171
       Fresh pcre2-sys v0.2.8
       Fresh log v0.4.26
   Compiling pcre2 v0.2.6 (/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-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=c253b8a9ce4981d0 -C extra-filename=-a9ea9a1b490d8683 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/liblibc-8db1b84232c234ea.rlib --extern log=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/liblog-d36e7413773bcebc.rlib --extern pcre2_sys=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/libpcre2_sys-6e8b6d693bcc90a1.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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: `pcre2` (lib test) generated 3 warnings
    Finished `rpm` profile [optimized + debuginfo] target(s) in 2.12s
     Running `/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/pcre2-a9ea9a1b490d8683`

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::caseless ... ok
test bytes::tests::extended ... ok
test bytes::tests::dotall ... ok
test bytes::tests::crlf ... ok
test bytes::tests::find_iter_empty ... ok
test bytes::tests::find_start_end_and_as_bytes ... ok
test bytes::tests::find_utf_emoji_as_bytes ... ok
test bytes::tests::jit4lyfe ... ok
test bytes::tests::jit_test_lazy_alloc_subject ... ok
test bytes::tests::jit_if_available ... ok
test bytes::tests::multi_line ... ok
test bytes::tests::ucp ... ok
test bytes::tests::utf ... ok
test bytes::tests::utf_with_invalid_data ... ok
test bytes::tests::max_jit_stack_size_does_something ... ok
test pool::tests::thread_owner_distinct ... ok
test pool::tests::oibits ... ok

test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests pcre2
     Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name pcre2 --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps -L native=/usr/lib64 --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/liblibc-8db1b84232c234ea.rlib --extern log=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/liblog-d36e7413773bcebc.rlib --extern pcre2=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/libpcre2-9303f38eabca6e88.rlib --extern pcre2_sys=/home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/pcre2-0.2.6/target/rpm/deps/libpcre2_sys-6e8b6d693bcc90a1.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::find (line 439) ... ok
test src/bytes.rs - bytes::Regex::is_match (line 419) ... ok
test src/bytes.rs - bytes::Captures<'s>::get (line 865) ... ok
test src/bytes.rs - bytes::Regex::captures_iter (line 565) ... ok
test src/bytes.rs - bytes::Regex::captures (line 496) ... ok
test src/bytes.rs - bytes::Regex::captures (line 519) ... 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.27s

+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: rust-pcre2-devel-0.2.6-1.mga10.noarch
warning: File listed twice: /usr/share/cargo/registry/pcre2-0.2.6/COPYING
warning: File listed twice: /usr/share/cargo/registry/pcre2-0.2.6/LICENSE-MIT
warning: File listed twice: /usr/share/cargo/registry/pcre2-0.2.6/README.md
warning: File listed twice: /usr/share/cargo/registry/pcre2-0.2.6/UNLICENSE
Provides: crate(pcre2) = 0.2.6 rust-pcre2-devel = 0.2.6-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: cargo crate(libc/default) >= 0.2.146 crate(log/default) >= 0.4.19 crate(pcre2-sys/default) >= 0.2.7
Processing files: rust-pcre2+default-devel-0.2.6-1.mga10.noarch
Provides: crate(pcre2/default) = 0.2.6 rust-pcre2+default-devel = 0.2.6-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: cargo crate(pcre2) = 0.2.6
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pcre2+default-devel-0.2.6-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pcre2-devel-0.2.6-1.mga10.noarch.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E0ZUQN
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build
+ test -d /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/rust-pcre2-0.2.6-build
+ RPM_EC=0
++ jobs -p
+ exit 0

RPM build warnings:
    File listed twice: /usr/share/cargo/registry/pcre2-0.2.6/COPYING
    File listed twice: /usr/share/cargo/registry/pcre2-0.2.6/LICENSE-MIT
    File listed twice: /usr/share/cargo/registry/pcre2-0.2.6/README.md
    File listed twice: /usr/share/cargo/registry/pcre2-0.2.6/UNLICENSE
D: [iurt_root_command] Success!