D: [iurt_root_command] chroot Installing /home/baz/rpmbuild/SRPMS/bladerf-2024.05-1.mga.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.YOA9Wk + umask 022 + cd /home/baz/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/baz/rpmbuild/BUILD + rm -rf bladeRF-2024.05 + /usr/lib/rpm/rpmuncompress -x /home/baz/rpmbuild/SOURCES/bladeRF-2024.05.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd bladeRF-2024.05 + rm -rf /home/baz/rpmbuild/BUILD/bladeRF-2024.05-SPECPARTS + /usr/bin/mkdir -p /home/baz/rpmbuild/BUILD/bladeRF-2024.05-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.TBd107 + umask 022 + cd /home/baz/rpmbuild/BUILD + cd bladeRF-2024.05 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir build + cd build + 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_error=calloc-transposed-args' + export CXXFLAGS + cmake ../host -DCMAKE -Wno_error=calloc-transposed-args -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE:STRING=Debug -DBUILD_DOCUMENTATION=ON CMake Error: Parse error in command line argument: CMAKE Should be: VAR:type=value CMake Error: Run 'cmake --help' for all supported options. error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.TBd107 (%build) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.TBd107 (%build) I: [iurt_root_command] ERROR: chroot