D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/hostapd-2.10-2.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Y6PN1D + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf hostapd-2.10 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/hostapd-2.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hostapd-2.10 + rm -rf /home/pterjan/rpmbuild/BUILD/hostapd-2.10-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/hostapd-2.10-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/hostapd-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/hostapd-2.10-mga-defconfig.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/pterjan/rpmbuild/tmp/rpm-tmp.0RnHKQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd hostapd-2.10 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + pushd hostapd ~/rpmbuild/BUILD/hostapd-2.10/hostapd ~/rpmbuild/BUILD/hostapd-2.10 + cat defconfig + sed -e '/^#CONFIG_DRIVER_NONE=y/s/^#//' -e '/^#CONFIG_IEEE80211R=y/s/^#//' -e '/^#CONFIG_IEEE80211AC=y/s/^#//' -e '/^#CONFIG_FULL_DYNAMIC_VLAN=y/s/^#//' -e '/^#CONFIG_LIBNL32=y/s/^#//' + echo 'CFLAGS += -I/usr/include/libnl3' + echo 'LIBS += -L/usr/lib64' + /usr/bin/perl -pi -e 's/CFLAGS =.*/CFLAGS = -MMD -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/' Makefile syntax error at -e line 1, at EOF Execution of -e aborted due to compilation errors. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.0RnHKQ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.0RnHKQ (%build) I: [iurt_root_command] ERROR: chroot