D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expected Installing /home/pterjan/rpmbuild/SRPMS/linphone-desktop-5.2.0-0.4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3W3bTE sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.D8mjxw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/linphone-desktop-5.2.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/linphone-desktop-5.2.0-build + rm -rf linphone-desktop-5.2.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/linphone-desktop-5.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd linphone-desktop-5.2.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ispell-05574fe160222c3d0b6283c1433c9b087271fad1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + GIT_COMMITTER_DATE=@1750869134 + GIT_AUTHOR_DATE=@1750869134 + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'linphone-desktop-5.2.0 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fix-build.patch + /usr/bin/git apply --index --reject -p1 - Checking patch CMakeLists.txt... Checking patch linphone-app/CMakeLists.txt... Checking patch linphone-app/cmake_builder/linphone_package/CMakeLists.txt... Applied patch CMakeLists.txt cleanly. Applied patch linphone-app/CMakeLists.txt cleanly. Applied patch linphone-app/cmake_builder/linphone_package/CMakeLists.txt cleanly. + GIT_COMMITTER_DATE=@1750869134 + GIT_AUTHOR_DATE=@1750869134 + /usr/bin/git commit -q -m 0001-Fix-build.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Use-system-CA-Bundle.patch + /usr/bin/git apply --index --reject -p1 - Checking patch linphone-app/src/app/paths/Paths.cpp... Checking patch linphone-app/src/utils/Constants.hpp... Applied patch linphone-app/src/app/paths/Paths.cpp cleanly. Applied patch linphone-app/src/utils/Constants.hpp cleanly. + GIT_COMMITTER_DATE=@1750869134 + GIT_AUTHOR_DATE=@1750869134 + /usr/bin/git commit -q -m 0001-Use-system-CA-Bundle.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fix-RPATH.patch + /usr/bin/git apply --index --reject -p1 - Checking patch CMakeLists.txt... Applied patch CMakeLists.txt cleanly. + GIT_COMMITTER_DATE=@1750869134 + GIT_AUTHOR_DATE=@1750869134 + /usr/bin/git commit -q -m 0001-Fix-RPATH.patch --author 'rpm-build ' + for f in BCToolbox Belcard LibLinphone LinphoneCxx Mediastreamer2 + rm -rf linphone-app/cmake/FindBCToolbox.cmake + for f in BCToolbox Belcard LibLinphone LinphoneCxx Mediastreamer2 + rm -rf linphone-app/cmake/FindBelcard.cmake + for f in BCToolbox Belcard LibLinphone LinphoneCxx Mediastreamer2 + rm -rf linphone-app/cmake/FindLibLinphone.cmake + for f in BCToolbox Belcard LibLinphone LinphoneCxx Mediastreamer2 + rm -rf linphone-app/cmake/FindLinphoneCxx.cmake + for f in BCToolbox Belcard LibLinphone LinphoneCxx Mediastreamer2 + rm -rf linphone-app/cmake/FindMediastreamer2.cmake + rm -rf external/ispell + ln -sf ../ispell-05574fe160222c3d0b6283c1433c9b087271fad1 external/ispell + /usr/bin/git tag -a 5.2.0 -m 5.2.0 + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2UBQF3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/linphone-desktop-5.2.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,--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 linphone-desktop-5.2.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export '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 -Wno-deprecated-declarations' + 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 -Wno-deprecated-declarations' + 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 -Wno-deprecated-declarations' + 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/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-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' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -GNinja -DLINPHONEAPP_INSTALL_PREFIX:PATH=/usr -DLINPHONE_QT_ONLY:BOOL=ON -DENABLE_APP_PACKAGE_ROOTCA=OFF -DENABLE_BUILD_VERBOSE:BOOL=ON -DENABLE_UPDATE_CHECK:BOOL=OFF -DENABLE_NON_FREE_CODECS:BOOL=OFF -DENABLE_QT_KEYCHAIN:BOOL=OFF User Args : -DBUILD_SHARED_LIBS=ON;-DBUILD_STATIC_LIBS=OFF;-DCMAKE_BUILD_TYPE=RelWithDebInfo;-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG;-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-DNDEBUG;-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG;-DCMAKE_C_FLAGS_RELWITHDEBINFO=-DNDEBUG;-DCMAKE_INSTALL_DO_STRIP=OFF;-DCMAKE_INSTALL_LIBDIR=lib64;-DCMAKE_INSTALL_LIBEXECDIR=libexec;-DCMAKE_INSTALL_PREFIX=/usr;-DCMAKE_INSTALL_RUNSTATEDIR=/run;-DCMAKE_INSTALL_SYSCONFDIR=/etc;-DCMAKE_MODULE_LINKER_FLAGS=-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;-DCMAKE_VERBOSE_MAKEFILE=ON;-DENABLE_APP_PACKAGE_ROOTCA=OFF;-DENABLE_BUILD_VERBOSE=ON;-DENABLE_NON_FREE_CODECS=OFF;-DENABLE_QT_KEYCHAIN=OFF;-DENABLE_UPDATE_CHECK=OFF;-DINCLUDE_INSTALL_DIR=/usr/include;-DLIB_INSTALL_DIR=/usr/lib64;-DLIB_SUFFIX=64;-DLINPHONEAPP_INSTALL_PREFIX=/usr;-DLINPHONE_QT_ONLY=ON;-DSHARE_INSTALL_PREFIX=/usr/share;-DSYSCONF_INSTALL_DIR=/etc -- The C compiler identification is GNU 15.1.0 -- The CXX compiler identification is GNU 15.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Options : OFF, OFF, OFF, OFF, OFF, OFF, OFF, -- Trying to find LinphoneCxx -- Trying to find Mediastreamer2 -- Trying to find BelCard -- Trying to find LibLinphone -- Found SQLite3: /usr/include (found version "3.49.2") -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.13.8") -- Found ISpell: ISpell INSTALL_PREFIX=/usr FRAMEWORK_PATH=, PREFIX_PATH=/usr/lib/cmake;/usr/lib/cmake LINPHONE : => LINPHONECXX : /usr/include => liblinphone++ Optional package TextToSpeech not found. Optional package QmlModels found. QML_IMPORT_PATH=/home/pterjan/rpmbuild/BUILD/linphone-desktop-5.2.0-build/linphone-desktop-5.2.0/linphone-app/ui/modules;/home/pterjan/rpmbuild/BUILD/linphone-desktop-5.2.0-build/linphone-desktop-5.2.0/linphone-app/ui/dev-modules;/home/pterjan/rpmbuild/BUILD/linphone-desktop-5.2.0-build/linphone-desktop-5.2.0/linphone-app/ui/scripts;/home/pterjan/rpmbuild/BUILD/linphone-desktop-5.2.0-build/linphone-desktop-5.2.0/linphone-app/ui/views Qt5 Paths : Qt5_DIR=, PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/qt5/bin:/home/pterjan/.local/bin:/home/pterjan/bin LIBRARIES : -- Package file name is linphone-5.2.0 CMake Error at linphone-app/cmake_builder/linphone_package/CMakeLists.txt:23 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. -- Configuring incomplete, errors occurred! error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.2UBQF3 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.2UBQF3 (%build) I: [iurt_root_command] ERROR: chroot