D: [iurt_root_command] chroot Installing /home/baz/rpmbuild/SRPMS/lpcnetfreedv-0.5-1.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.9tXcbd + umask 022 + cd /home/baz/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/baz/rpmbuild/BUILD + rm -rf LPCNet-0.5 + /usr/lib/rpm/rpmuncompress -x /home/baz/rpmbuild/SOURCES/LPCNet-0.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd LPCNet-0.5 + rm -rf /home/baz/rpmbuild/BUILD/LPCNet-0.5-SPECPARTS + /usr/bin/mkdir -p /home/baz/rpmbuild/BUILD/LPCNet-0.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/baz/rpmbuild/SOURCES/lpcnetfreedv-libm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.ewaW0E + umask 022 + cd /home/baz/rpmbuild/BUILD + cd LPCNet-0.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p build + cp /home/baz/rpmbuild/SOURCES/lpcnet_191005_v1.0.tgz '%{__cmake_builddir}/' cp: cannot create regular file '%{__cmake_builddir}/': Not a directory error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.ewaW0E (%build) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.ewaW0E (%build) I: [iurt_root_command] ERROR: chroot