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 Installing /home/pterjan/rpmbuild/SRPMS/wezterm-20240127-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3aqpg7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/wezterm-20240127-build + test -d /home/pterjan/rpmbuild/BUILD/wezterm-20240127-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/wezterm-20240127-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/wezterm-20240127-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/wezterm-20240127-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/wezterm-20240127-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.t0WIbR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/wezterm-20240127-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/wezterm-20240127-build + rm -rf wezterm-20240127-113634-bbcac864 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/wezterm-20240127-113634-bbcac864-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wezterm-20240127-113634-bbcac864 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/wezterm-20240127-vendor.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cp /home/pterjan/rpmbuild/SOURCES/wezterm.cargo .cargo/config + /usr/bin/mkdir termwiz/.cargo + /usr/bin/cp /home/pterjan/rpmbuild/SOURCES/termwiz.cargo termwiz/.cargo/config + 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.xH0Kwz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/wezterm-20240127-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 wezterm-20240127-113634-bbcac864 + '[' 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 --features distro-defaults,vendored-fonts warning: `/home/pterjan/rpmbuild/BUILD/wezterm-20240127-build/wezterm-20240127-113634-bbcac864/.cargo/config` is deprecated in favor of `config.toml` note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` error: profile `rpm` is not defined error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.xH0Kwz (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.xH0Kwz (%build) I: [iurt_root_command] ERROR: chroot