D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/rust-pcre2-sys-0.2.8-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4dVu0W + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + test -d /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3dPY3e + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + rm -rf pcre2-sys-0.2.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pcre2-sys-0.2.8.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pcre2-sys-0.2.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/pcre2-sys-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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 + rm -rv upstream/ removed 'upstream/src/pcre2_substring.c' removed 'upstream/src/pcre2_jit_misc.c' removed 'upstream/src/pcre2_compile.c' removed 'upstream/src/sljit/sljitLir.c' removed 'upstream/src/sljit/sljitNativeX86_32.c' removed 'upstream/src/sljit/sljitNativeX86_64.c' removed 'upstream/src/sljit/sljitNativePPC_common.c' removed 'upstream/src/sljit/sljitNativeX86_common.c' removed 'upstream/src/sljit/sljitNativeMIPS_32.c' removed 'upstream/src/sljit/sljitConfig.h' removed 'upstream/src/sljit/sljitNativeMIPS_common.c' removed 'upstream/src/sljit/sljitNativeMIPS_64.c' removed 'upstream/src/sljit/sljitLir.h' removed 'upstream/src/sljit/sljitWXExecAllocator.c' removed 'upstream/src/sljit/sljitNativeARM_32.c' removed 'upstream/src/sljit/sljitNativePPC_64.c' removed 'upstream/src/sljit/sljitNativeRISCV_common.c' removed 'upstream/src/sljit/sljitNativeARM_T2_32.c' removed 'upstream/src/sljit/sljitNativePPC_32.c' removed 'upstream/src/sljit/sljitNativeRISCV_64.c' removed 'upstream/src/sljit/sljitProtExecAllocator.c' removed 'upstream/src/sljit/sljitConfigInternal.h' removed 'upstream/src/sljit/sljitNativeRISCV_32.c' removed 'upstream/src/sljit/sljitNativeS390X.c' removed 'upstream/src/sljit/sljitUtils.c' removed 'upstream/src/sljit/sljitExecAllocator.c' removed 'upstream/src/sljit/sljitNativeARM_64.c' removed directory 'upstream/src/sljit' removed 'upstream/src/pcre2posix.h' removed 'upstream/src/pcre2_intmodedep.h' removed 'upstream/src/pcre2_jit_compile.c' removed 'upstream/src/pcre2_newline.c' removed 'upstream/src/pcre2_tables.c' removed 'upstream/src/pcre2_context.c' removed 'upstream/src/pcre2_study.c' removed 'upstream/src/pcre2_chartables.c' removed 'upstream/src/pcre2_auto_possess.c' removed 'upstream/src/pcre2_convert.c' removed 'upstream/src/pcre2_valid_utf.c' removed 'upstream/src/pcre2_ord2utf.c' removed 'upstream/src/pcre2_maketables.c' removed 'upstream/src/pcre2_internal.h' removed 'upstream/src/pcre2_ucptables.c' removed 'upstream/src/pcre2_extuni.c' removed 'upstream/src/pcre2_string_utils.c' removed 'upstream/src/pcre2_error.c' removed 'upstream/src/pcre2_ucp.h' removed 'upstream/src/pcre2_config.c' removed 'upstream/src/pcre2_match_data.c' removed 'upstream/src/pcre2_script_run.c' removed 'upstream/src/pcre2_substitute.c' removed 'upstream/src/pcre2_find_bracket.c' removed 'upstream/src/pcre2_jit_match.c' removed 'upstream/src/pcre2_pattern_info.c' removed 'upstream/src/pcre2_xclass.c' removed 'upstream/src/pcre2_jit_neon_inc.h' removed 'upstream/src/pcre2_serialize.c' removed 'upstream/src/pcre2_ucd.c' removed 'upstream/src/pcre2_dfa_match.c' removed 'upstream/src/pcre2_jit_simd_inc.h' removed 'upstream/src/pcre2_match.c' removed directory 'upstream/src' removed 'upstream/include/config.h' removed 'upstream/include/pcre2.h' removed directory 'upstream/include' removed directory 'upstream/' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.p0LGFU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + cd pcre2-sys-0.2.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo 'pkgconfig(libpcre2-8)' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JHdzlQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-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-sys-0.2.8 + '[' 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 -j48 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.168 Compiling shlex v1.3.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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)' --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=8eca07f79ffd64c9 -C extra-filename=-8eca07f79ffd64c9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/build/libc-8eca07f79ffd64c9 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling pkg-config v0.3.31 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)' --check-cfg 'cfg(feature, values())' -C metadata=d4662502923d8423 -C extra-filename=-d4662502923d8423 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/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)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=6832b46b4aa011cb -C extra-filename=-6832b46b4aa011cb --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/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-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/build/libc-8eca07f79ffd64c9/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/build/libc-8eca07f79ffd64c9/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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)' --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=3492ba3f820def40 -C extra-filename=-3492ba3f820def40 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/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_new_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(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --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.168/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)' --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=f6a02b56a67caa79 -C extra-filename=-f6a02b56a67caa79 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/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_new_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(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --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)' --check-cfg 'cfg(feature, values())' -C metadata=ae43fc2a51913c83 -C extra-filename=-ae43fc2a51913c83 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps/liblibc-f6a02b56a67caa79.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cc v1.2.12 Running `/usr/bin/rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.2.12/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)' --check-cfg 'cfg(feature, values("jobserver", "parallel"))' -C metadata=17c1837a83472256 -C extra-filename=-17c1837a83472256 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps --extern jobserver=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps/libjobserver-ae43fc2a51913c83.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps/liblibc-f6a02b56a67caa79.rmeta --extern shlex=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps/libshlex-6832b46b4aa011cb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling pcre2-sys v0.2.8 (/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8) Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 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)' --check-cfg 'cfg(feature, values())' -C metadata=d3092d06c6c18adb -C extra-filename=-d3092d06c6c18adb --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/build/pcre2-sys-d3092d06c6c18adb -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps --extern cc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps/libcc-17c1837a83472256.rlib --extern pkg_config=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps/libpkg_config-d4662502923d8423.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/build/pcre2-sys-d3092d06c6c18adb/build-script-build` Running `/usr/bin/rustc --crate-name pcre2_sys --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)' --check-cfg 'cfg(feature, values())' -C metadata=8e087bee330e0c27 -C extra-filename=-8e087bee330e0c27 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps/liblibc-3492ba3f820def40.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64 -l pcre2-8` Finished `rpm` profile [optimized + debuginfo] target(s) in 12.33s + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.G3VAU1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-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-sys-0.2.8 + '[' 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-sys ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.2.8 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/BUILDROOT/usr/share/cargo/registry/pcre2-sys-0.2.8 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/BUILDROOT/usr/share/cargo/registry/pcre2-sys-0.2.8 + /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-sys-0.2.8-build/BUILDROOT/usr/share/cargo/registry/pcre2-sys-0.2.8 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/BUILDROOT/usr/share/cargo/registry/pcre2-sys-0.2.8/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/BUILDROOT/usr/share/cargo/registry/pcre2-sys-0.2.8/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 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qEt76p + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-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-sys-0.2.8 + '[' 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 -j48 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh jobserver v0.1.32 Fresh shlex v1.3.0 Fresh pkg-config v0.3.31 Fresh cc v1.2.12 Fresh libc v0.2.168 Compiling pcre2-sys v0.2.8 (/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8) Running `/usr/bin/rustc --crate-name pcre2_sys --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)' --check-cfg 'cfg(feature, values())' -C metadata=d6e2e6e4390bb813 -C extra-filename=-d6e2e6e4390bb813 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps/liblibc-3492ba3f820def40.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64 -l pcre2-8` Finished `rpm` profile [optimized + debuginfo] target(s) in 0.33s Running `/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps/pcre2_sys-d6e2e6e4390bb813` running 1 test test tests::itworks ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests pcre2_sys Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name pcre2_sys --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps -L native=/usr/lib64 --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps/liblibc-3492ba3f820def40.rlib --extern pcre2_sys=/home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/pcre2-sys-0.2.8/target/rpm/deps/libpcre2_sys-8e087bee330e0c27.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-pcre2-sys-devel-0.2.8-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/pcre2-sys-0.2.8/COPYING warning: File listed twice: /usr/share/cargo/registry/pcre2-sys-0.2.8/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/pcre2-sys-0.2.8/README.md warning: File listed twice: /usr/share/cargo/registry/pcre2-sys-0.2.8/UNLICENSE Provides: crate(pcre2-sys) = 0.2.8 rust-pcre2-sys-devel = 0.2.8-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(cc/default) >= 1.0.73 crate(cc/parallel) >= 1.0.73 crate(libc/default) >= 0.2.146 crate(pkg-config/default) >= 0.3.27 Processing files: rust-pcre2-sys+default-devel-0.2.8-1.mga10.noarch Provides: crate(pcre2-sys/default) = 0.2.8 rust-pcre2-sys+default-devel = 0.2.8-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-sys) = 0.2.8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pcre2-sys+default-devel-0.2.8-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pcre2-sys-devel-0.2.8-1.mga10.noarch.rpm sh: line 4: [: -j8: integer expression expected Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tZ0aR5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + test -d /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-pcre2-sys-0.2.8-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/pcre2-sys-0.2.8/COPYING File listed twice: /usr/share/cargo/registry/pcre2-sys-0.2.8/LICENSE-MIT File listed twice: /usr/share/cargo/registry/pcre2-sys-0.2.8/README.md File listed twice: /usr/share/cargo/registry/pcre2-sys-0.2.8/UNLICENSE D: [iurt_root_command] Success!