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-random-trait-0.1.1-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4z9vh8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-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.PzUuNk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build + rm -rf random-trait-0.1.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/random-trait-0.1.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd random-trait-0.1.1 + /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 + cp -pav /home/pterjan/rpmbuild/SOURCES/LICENSE-APACHE /home/pterjan/rpmbuild/SOURCES/LICENSE-MIT . '/home/pterjan/rpmbuild/SOURCES/LICENSE-APACHE' -> './LICENSE-APACHE' '/home/pterjan/rpmbuild/SOURCES/LICENSE-MIT' -> './LICENSE-MIT' + 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.LFtBWe + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build + cd random-trait-0.1.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + 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.8yqxpl + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build + cd random-trait-0.1.1 + '[' 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 warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling random-trait v0.1.1 (/home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/random-trait-0.1.1) Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 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("doc-comment", "u128"))' -C metadata=d4fd262eebe43997 -C extra-filename=-d4fd262eebe43997 --out-dir /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/random-trait-0.1.1/target/rpm/build/random-trait-d4fd262eebe43997 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/random-trait-0.1.1/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/random-trait-0.1.1/target/rpm/build/random-trait-d4fd262eebe43997/build-script-build` Running `/usr/bin/rustc --crate-name random_trait --edition=2015 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("doc-comment", "u128"))' -C metadata=6ea353b2854fbf31 -C extra-filename=-6ea353b2854fbf31 --out-dir /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/random-trait-0.1.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/random-trait-0.1.1/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg 'feature="u128"'` Finished `rpm` profile [optimized + debuginfo] target(s) in 1.59s + 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.c4XRuB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/BUILDROOT + cd random-trait-0.1.1 + '[' 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=random-trait ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.1 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/BUILDROOT/usr/share/cargo/registry/random-trait-0.1.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/BUILDROOT/usr/share/cargo/registry/random-trait-0.1.1 + /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 + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/BUILDROOT/usr/share/cargo/registry/random-trait-0.1.1 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: manifest has no documentation, homepage or repository. See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info. warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/random-trait-0.1.1` error: readme `README.md` does not appear to exist (relative to `/home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/random-trait-0.1.1`). Please update the readme setting in the manifest at `/home/pterjan/rpmbuild/BUILD/rust-random-trait-0.1.1-build/random-trait-0.1.1/Cargo.toml`. /usr/bin/cp: missing file operand Try '/usr/bin/cp --help' for more information. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.c4XRuB (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.c4XRuB (%install) I: [iurt_root_command] ERROR: chroot