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/ardour-8.9.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DAOqtJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ardour-8.9.0-build + test -d /home/pterjan/rpmbuild/BUILD/ardour-8.9.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/ardour-8.9.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/ardour-8.9.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ardour-8.9.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ardour-8.9.0-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.UJGXeo + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ardour-8.9.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ardour-8.9.0-build + rm -rf Ardour-8.9.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Ardour-8.9.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd Ardour-8.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ardour-7.0-re-vendor_qm-dsp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + touch __init__.py + sed -e 's/('\''misc'\'')/('\''misc'\'', tooldir='\''tools'\'')/' -i gtk2_ardour/wscript headless/wscript luasession/wscript session_utils/wscript libs/fst/wscript + find . -type f -iname '*wscript*' -exec sed -e 's/from waflib.extras import autowaf/from tools import autowaf/g' -e 's/import waflib.extras.autowaf/from tools import autowaf/g' -i '{}' ';' + 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.bMQ0zi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ardour-8.9.0-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,-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 Ardour-8.9.0 + '[' 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,-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 + LINKFLAGS='-Wl,--as-needed -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 LINKFLAGS + /usr/bin/waf configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib64 --configdir=/etc --program-name=Ardour --docs --cxx11 --freedesktop --optimize --ptformat --use-external-libs --with-backends=jack,alsa,dummy,pulseaudio --noconfirm --no-ytk --no-phone-home Traceback (most recent call last): File "/usr/share/waf3/waflib/Scripting.py", line 121, in waf_entry_point run_commands() File "/usr/share/waf3/waflib/Scripting.py", line 180, in run_commands parse_options() File "/usr/share/waf3/waflib/Scripting.py", line 160, in parse_options ctx.execute() File "/usr/share/waf3/waflib/Options.py", line 205, in execute super(OptionsContext,self).execute() File "/usr/share/waf3/waflib/Context.py", line 91, in execute self.recurse([os.path.dirname(g_module.root_path)]) File "/usr/share/waf3/waflib/Context.py", line 132, in recurse user_function(self) File "/home/pterjan/rpmbuild/BUILD/ardour-8.9.0-build/Ardour-8.9.0/wscript", line 895, in options autowaf.set_options(opt, debug_by_default=True) File "/home/pterjan/rpmbuild/BUILD/ardour-8.9.0-build/Ardour-8.9.0/tools/autowaf.py", line 48, in set_options dirs_options.add_option(option) File "/usr/lib64/python3.12/argparse.py", line 1461, in add_argument if not args or len(args) == 1 and args[0][0] not in chars: ~~~~~~~^^^ TypeError: '_StoreAction' object is not subscriptable error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bMQ0zi (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bMQ0zi (%build) I: [iurt_root_command] ERROR: chroot