D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/loupe-47.2-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5FDi8V sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ODa142 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/loupe-47.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/loupe-47.2-build + rm -rf loupe-47.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/loupe-47.2.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd loupe-47.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf vendor + sed -i -e /Cargo.lock/d meson.build + 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 sh: line 4: [: -j8: integer expression expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XuGRAM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/loupe-47.2-build + cd loupe-47.2 + /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.QoA9vD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/loupe-47.2-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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd loupe-47.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . build The Meson build system Version: 1.7.2 Source dir: /home/pterjan/rpmbuild/BUILD/loupe-47.2-build/loupe-47.2 Build dir: /home/pterjan/rpmbuild/BUILD/loupe-47.2-build/loupe-47.2/build Build type: native build Project name: loupe Project version: 47.2 Rust compiler for the host machine: rustc -C linker=gcc (rustc 1.86.0) Rust linker for the host machine: rustc -C linker=gcc ld.bfd 2.44 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0 Run-time dependency gtk4 found: YES 4.18.4 Run-time dependency libadwaita-1 found: YES 1.7.2 Run-time dependency gweather4 found: YES 4.4.4 Run-time dependency lcms2 found: YES 2.16 Run-time dependency libseccomp found: YES 2.6.0 Run-time dependency gtk4-x11 found: YES 4.18.4 Program cargo found: YES (/usr/bin/cargo) Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas) Configuring org.gnome.Loupe.desktop.in using configuration Program msgfmt found: YES (/usr/bin/msgfmt) Configuring org.gnome.Loupe.service using configuration Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate) Configuring org.gnome.Loupe.metainfo.xml.in using configuration Program appstreamcli found: NO Configuring org.gnome.Loupe.gschema.xml using configuration Program itstool found: YES (/usr/bin/itstool) Program msgmerge found: YES (/usr/bin/msgmerge) Program msgfmt found: YES (/usr/bin/msgfmt) Configuring config.rs using configuration Message: Building in release mode Program msginit found: YES (/usr/bin/msginit) Program msgmerge found: YES (/usr/bin/msgmerge) Program xgettext found: YES (/usr/bin/xgettext) Build-time dependency gio-2.0 found: YES 2.84.1 Program /usr/bin/glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas) Program gtk4-update-icon-cache found: YES (/usr/bin/gtk4-update-icon-cache) Program update-desktop-database found: YES (/usr/bin/update-desktop-database) Build targets in project: 105 loupe 47.2 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.12.1 at /usr/bin/ninja + /usr/bin/meson compile -C build -j 48 --verbose ninja: Entering directory `/home/pterjan/rpmbuild/BUILD/loupe-47.2-build/loupe-47.2/build' [0/84] env CARGO_HOME=/home/pterjan/rpmbuild/BUILD/loupe-47.2-build/loupe-47.2/build/cargo-home /usr/bin/cargo build --manifest-path /home/pterjan/rpmbuild/BUILD/loupe-47.2-build/loupe-47.2/Cargo.toml --target-dir /home/pterjan/rpmbuild/BUILD/loupe-47.2-build/loupe-47.2/build/src --release --features x11 error: failed to select a version for the requirement `rand = "^0.8"` candidate versions found which didn't match: 0.9.0 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `ashpd v0.9.2` ... which satisfies dependency `ashpd = "^0.9.1"` of package `loupe v47.2.0 (/home/pterjan/rpmbuild/BUILD/loupe-47.2-build/loupe-47.2)` 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. [82/84] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt data/org.gnome.Loupe.desktop.in data/org.gnome.Loupe.desktop desktop ../data/../po FAILED: src/src env CARGO_HOME=/home/pterjan/rpmbuild/BUILD/loupe-47.2-build/loupe-47.2/build/cargo-home /usr/bin/cargo build --manifest-path /home/pterjan/rpmbuild/BUILD/loupe-47.2-build/loupe-47.2/Cargo.toml --target-dir /home/pterjan/rpmbuild/BUILD/loupe-47.2-build/loupe-47.2/build/src --release --features x11 ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /home/pterjan/rpmbuild/BUILD/loupe-47.2-build/loupe-47.2/build -j 48 -v error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.QoA9vD (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.QoA9vD (%build) I: [iurt_root_command] ERROR: chroot