D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 1: php-config8.4: command not found sh: line 1: php-config8.4: command not found sh: line 1: php-config8.4: command not found sh: line 1: php-config8.4: command not found sh: line 4: [: -j8: integer expected Installing /home/pterjan/rpmbuild/SRPMS/php8.4-amqp-2.1.2-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SGdqmD sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tamB23 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/php8.4-amqp-2.1.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/php8.4-amqp-2.1.2-build + rm -rf amqp-2.1.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/amqp-2.1.2.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd amqp-2.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/hg init -q . + /usr/bin/hg add -q . + /usr/bin/hg commit -q --user 'rpm-build ' -m 'php8.4-amqp-2.1.2 base' + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i ../package.xml + sed -e 's/CFLAGS="-I/CFLAGS="$CFLAGS -I/' -i config.m4 + cd .. + cp /home/pterjan/rpmbuild/SOURCES/40-amqp.ini . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.P7IwJJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/php8.4-amqp-2.1.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,-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 amqp-2.1.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/phpize Cannot find build files at '/usr/lib64/php/php/8.5/build'. Please check your PHP installation. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.P7IwJJ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.P7IwJJ (%build) I: [iurt_root_command] ERROR: chroot