D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/rust-gstreamer-gl-x11-sys-0.21.0-0.1.mga10.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3ZkMI0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gstreamer-gl-x11-sys-0.21.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gstreamer-gl-x11-sys-0.21.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd gstreamer-gl-x11-sys-0.21.0 + rm -rf /home/pterjan/rpmbuild/BUILD/gstreamer-gl-x11-sys-0.21.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gstreamer-gl-x11-sys-0.21.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/pterjan/rpmbuild/SOURCES/COPYRIGHT . + cp /home/pterjan/rpmbuild/SOURCES/LICENSE-MIT . + 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.G0ozhY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gstreamer-gl-x11-sys-0.21.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo 'pkgconfig(gstreamer-gl-x11-1.0) >= 1.14' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.e8N7qT + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gstreamer-gl-x11-sys-0.21.0 + '[' 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 error: failed to select a version for the requirement `toml = "^0.7"` candidate versions found which didn't match: 0.8.8 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `system-deps v6.1.1` ... which satisfies dependency `system-deps = "^6"` of package `gstreamer-gl-x11-sys v0.21.0 (/home/pterjan/rpmbuild/BUILD/gstreamer-gl-x11-sys-0.21.0)` perhaps a crate was updated and forgotten to be re-vendored? As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without the offline flag. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.e8N7qT (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.e8N7qT (%build) I: [iurt_root_command] ERROR: chroot