D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/policycoreutils-3.2-0.rc1.4.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9hgzag + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf selinux + /usr/bin/mkdir -p selinux + cd selinux + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/policycoreutils-3.2-rc1.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 . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'policycoreutils-3.2 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + cd /home/pterjan/rpmbuild/BUILD + cd selinux + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/selinux-python-3.2-rc1.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 . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'policycoreutils-3.2 base' + /usr/bin/git checkout --track -b rpm-build fatal: a branch named 'rpm-build' already exists error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.9hgzag (%prep) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.9hgzag (%prep) I: [iurt_root_command] ERROR: chroot