D: [iurt_root_command] chroot warning: extra tokens at the end of %endif directive in line 154: %endif # ix86 Installing /home/pterjan/rpmbuild/SRPMS/atlas-3.10.3-10.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1cHhlq + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ATLAS + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/atlas3.10.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd ATLAS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (atlas-melf.patch):' Patch #1 (atlas-melf.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file CONFIG/src/SpewMakeInc.c Hunk #1 succeeded at 791 (offset 27 lines). + echo 'Patch #2 (atlas-throttling.patch):' Patch #2 (atlas-throttling.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file CONFIG/src/config.c + echo 'Patch #3 (atlas-shared_libraries.patch):' Patch #3 (atlas-shared_libraries.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file makes/Make.lib + echo 'Patch #4 (atlas-genparse.patch):' Patch #4 (atlas-genparse.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file include/atlas_genparse.h + echo 'Patch #5 (atlas.3.10.1-unbundle.patch):' Patch #5 (atlas.3.10.1-unbundle.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file makes/Make.lib + echo 'Patch #6 (atlas-gcc10.patch):' Patch #6 (atlas-gcc10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file interfaces/blas/C/testing/c_dblat1.f patching file interfaces/blas/C/testing/c_sblat1.f + echo 'Patch #101 (atlas-getri.patch):' Patch #101 (atlas-getri.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/testing/ATL_f77getri.c + cp /home/pterjan/rpmbuild/SOURCES/errata.html /home/pterjan/rpmbuild/SOURCES/faq.html /home/pterjan/rpmbuild/SOURCES/papers.html doc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.t45pvO + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ATLAS + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + for type in x86_64 + case $type in + libname=atlas + mkdir -p x86_64_x86_64 + pushd x86_64_x86_64 ~/rpmbuild/BUILD/ATLAS/x86_64_x86_64 ~/rpmbuild/BUILD/ATLAS + ../configure -b 64 -t 4 -D c -DWALL -Fa alg ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' --prefix=/home/pterjan/rpmbuild/BUILDROOT/atlas-3.10.3-10.mga9.x86_64/usr --incdir=/home/pterjan/rpmbuild/BUILDROOT/atlas-3.10.3-10.mga9.x86_64/usr/include --libdir=/home/pterjan/rpmbuild/BUILDROOT/atlas-3.10.3-10.mga9.x86_64/usr/lib64/atlas gcc -I/home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/include -g -w -c /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/atlconf_misc.c gcc -I/home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/include -g -w -o xconfig /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/config.c atlconf_misc.o /usr/bin/ld: /tmp/ccyJrtMU.o: in function `ATL_tmpnam': /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/config.c:224: warning: the use of `tmpnam' is dangerous, better use `mkstemp' ./xconfig -d s /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/../ -d b /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64 -b 64 -t 4 -D c -DWALL -Fa alg ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' /usr/bin/ld: probe_OS.o: in function `ATL_tmpnam': /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_OS.c:224: warning: the use of `tmpnam' is dangerous, better use `mkstemp' xconfig: /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/config.c:602: ProbeOS: Assertion `iret' failed. /bin/sh: line 1: 3700959 Aborted (core dumped) ./xconfig -d s /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/../ -d b /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64 -b 64 -t 4 -D c -DWALL -Fa alg ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' xconfig exited with 134 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.t45pvO (%build) RPM build warnings: extra tokens at the end of %endif directive in line 154: %endif # ix86 RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.t45pvO (%build) I: [iurt_root_command] ERROR: chroot