D: [iurt_root_command] chroot warning: extra tokens at the end of %endif directive in line 155: %endif # ix86 warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/atlas-3.10.3-11.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Mw7jiF + 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 + rm -rf /home/pterjan/rpmbuild/BUILD/ATLAS-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ATLAS-SPECPARTS + /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 #15 (atlas-fgrep.patch):' Patch #15 (atlas-fgrep.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file CONFIG/ARCHS/CreateTar.sh patching file CONFIG/src/Makefile patching file CONFIG/src/atlconf_misc.c Hunk #1 succeeded at 890 (offset -1 lines). Hunk #2 succeeded at 919 (offset -1 lines). patching file CONFIG/src/backend/archinfo_linux.c patching file CONFIG/src/config.c patching file CONFIG/src/probe_aff.c patching file CONFIG/src/probe_arch.c patching file CONFIG/src/probe_asm.c patching file CONFIG/src/probe_comp.c patching file CONFIG/src/probe_f2c.c patching file CONFIG/src/probe_pmake.c patching file CONFIG/src/probe_vec.c patching file INSTALL.txt patching file Make.top patching file bin/l2peak.sh patching file bin/sum2csv.sh patching file makes/Make.mmtune patching file tune/sysinfo/emit_buildinfo.c + 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.gLISLa + 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 -v 2 -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-11.mga10.x86_64/usr --incdir=/home/pterjan/rpmbuild/BUILDROOT/atlas-3.10.3-11.mga10.x86_64/usr/include --libdir=/home/pterjan/rpmbuild/BUILDROOT/atlas-3.10.3-11.mga10.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/ccfhrxM3.o: in function `ATL_tmpnam': /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/config.c:224:(.text+0x76d): 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 -v 2 -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:(.text+0x76d): warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/bin/ld: probe_asm.o: in function `ATL_tmpnam': /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_asm.c:224:(.text+0x76d): warning: the use of `tmpnam' is dangerous, better use `mkstemp' system(make IRun_GAS_x8632 args="-v 2" MYFLAGS="-DATL_OS_Linux" 2> /dev/null | grep -F SUCCESS) ierr=256 in command='make IRun_GAS_x8632 args="-v 2" MYFLAGS="-DATL_OS_Linux" 2> /dev/null | grep -F SUCCESS'! OUTPUT: ======= system(make IRun_GAS_x8664 args="-v 2" MYFLAGS="-DATL_OS_Linux" 2> /dev/null | grep -F SUCCESS) /usr/bin/ld: probe_vec.o: in function `ATL_tmpnam': /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_vec.c:224:(.text+0x76d): warning: the use of `tmpnam' is dangerous, better use `mkstemp' ierr=256 in command='make IRun_VSX MYFLAGS='-DATL_OS_Linux -DATL_GAS_x8664' 2> /dev/null | grep -F SUCCESS'! OUTPUT: ======= ierr=256 in command='make IRun_VXZ MYFLAGS='-DATL_OS_Linux -DATL_GAS_x8664' 2> /dev/null | grep -F SUCCESS'! OUTPUT: ======= ierr=256 in command='make IRun_AltiVec MYFLAGS='-DATL_OS_Linux -DATL_GAS_x8664' 2> /dev/null | grep -F SUCCESS'! OUTPUT: ======= ierr=256 in command='make IRun_AVXFMA4 MYFLAGS='-DATL_OS_Linux -DATL_GAS_x8664' 2> /dev/null | grep -F SUCCESS'! OUTPUT: ======= ierr=256 in command='make IRun_3DNow MYFLAGS='-DATL_OS_Linux -DATL_GAS_x8664' 2> /dev/null | grep -F SUCCESS'! OUTPUT: ======= ierr=256 in command='make IRun_FPV3D2MACNEON MYFLAGS='-DATL_OS_Linux -DATL_GAS_x8664' 2> /dev/null | grep -F SUCCESS'! OUTPUT: ======= ierr=256 in command='make IRun_FPV3D16MACNEON MYFLAGS='-DATL_OS_Linux -DATL_GAS_x8664' 2> /dev/null | grep -F SUCCESS'! OUTPUT: ======= ierr=256 in command='make IRun_FPV3D32MAC MYFLAGS='-DATL_OS_Linux -DATL_GAS_x8664' 2> /dev/null | grep -F SUCCESS'! OUTPUT: ======= ierr=256 in command='make IRun_FPV3D16MAC MYFLAGS='-DATL_OS_Linux -DATL_GAS_x8664' 2> /dev/null | grep -F SUCCESS'! OUTPUT: ======= /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_arch.c: In function 'ConfirmPtrbits': /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_arch.c:201:33: error: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 201 | i = 1 + strlen(frm) + strlen(osnam) + strlen(osnam[OS]) + | ^~~~~ | | | char ** In file included from /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/include/atlconf.h:6, from /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_arch.c:1: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'char **' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ make: *** [Makefile:93: probe_arch.o] Error 1 ierr=256 in command='make IRun_arch args="-v 2 -O 1 -s 2 -a" | grep -F 'MACHTYPE=''! OUTPUT: ======= /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_arch.c: In function 'ConfirmPtrbits': /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_arch.c:201:33: error: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 201 | i = 1 + strlen(frm) + strlen(osnam) + strlen(osnam[OS]) + | ^~~~~ | | | char ** In file included from /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/include/atlconf.h:6, from /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_arch.c:1: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'char **' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ make: *** [Makefile:93: probe_arch.o] Error 1 ierr=256 in command='make IRun_arch args="-v 2 -O 1 -s 2 -m" | grep -F 'CPU MHZ=''! OUTPUT: ======= /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_pmake.c: In function 'main': /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_pmake.c:115:33: error: passing argument 4 of 'GetFlags' from incompatible pointer type [-Wincompatible-pointer-types] 115 | GetFlags(nargs, args, &verb, &OS, &ncpu, &targ); | ^~~ | | | int * /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_pmake.c:64:28: note: expected 'enum OSTYPE *' but argument is of type 'int *' 64 | enum OSTYPE *OS, /* OS to assume */ | ~~~~~~~~~~~~~^~ make: *** [Makefile:87: probe_pmake.o] Error 1 ierr=256 in command='make IRun_pmake args="-v 2 -O 1 -t 4" | grep -F 'PMAKE=''! OUTPUT: ======= cmnd='make IRun_comp args="-v 2 -o atlconf.txt -O 1 -A 0 -Si nof77 0 -V 976 -Fa ic ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa sm ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa dm ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa sk ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa dk ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa xc ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa gc ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa if ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -b 64"' gcc -I/home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/include -g -w -o xisgcc /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/IsGcc.c atlconf_misc.o /usr/bin/ld: /tmp/ccO9EVwF.o: in function `ATL_tmpnam': /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/IsGcc.c:224:(.text+0x76d): warning: the use of `tmpnam' is dangerous, better use `mkstemp' 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/probe_comp.c /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_comp.c: In function 'GetStandardCompName': /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_comp.c:653:13: error: implicit declaration of function 'CompIsClang' [-Wimplicit-function-declaration] 653 | else if (CompIsClang(comp)) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_comp.c: In function 'SelectBestGcc': /home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64/..//CONFIG/src/probe_comp.c:1140:24: error: implicit declaration of function 'CompIsMinGW' [-Wimplicit-function-declaration] 1140 | if (!USEMINGW && CompIsMinGW(gccs[i])) | ^~~~~~~~~~~ make: *** [Makefile:91: probe_comp.o] Error 1 ERROR 512 IN SYSCMND: 'make IRun_comp args="-v 2 -o atlconf.txt -O 1 -A 0 -Si nof77 0 -V 976 -Fa ic ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa sm ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa dm ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa sk ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa dk ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa xc ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa gc ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -Fa if ' -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack -fstack-protector-strong -fPIC' -b 64"' cmnd=make IRun_OS args="-v 2 " | grep -F 'OS=' OS configured as Linux (1) cmnd=make IRun_asm args="-v 2 -O 1" | grep -F 'ASM=' Assembly configured as GAS_x8664 (2) cmnd=make IRun_vec args="-v 2 -O 1 -s 2" | grep -F 'VECFLAG=' Vector ISA Extension configured as AVXMAC (4,976) cmnd=make IRun_arch args="-v 2 -O 1 -s 2 -a" | grep -F 'MACHTYPE=' Bad MACHTYPE value=0, res='NULL' Architecture configured as UNKNOWN (0) cmnd=make IRun_arch args="-v 2 -O 1 -s 2 -m" | grep -F 'CPU MHZ=' Bad CPU MHZ value=0, res='NULL' Clock rate configured as 0Mhz cmnd=make IRun_pmake args="-v 2 -O 1 -t 4" | grep -F 'PMAKE=' Parallel make not configured. mkdir src bin tune interfaces cd src ; mkdir testing auxil blas lapack pthreads threads cd src/blas ; \ mkdir f77reference reference gemv ger gemm kbmm \ level1 level2 level3 pklevel3 cd src/blas/reference ; mkdir level1 level2 level3 cd src/blas/level2 ; mkdir kernel cd src/blas/pklevel3 ; mkdir gpmm sprk cd src/blas/level3 ; mkdir rblas kernel cd src/pthreads ; mkdir blas misc cd src/pthreads/blas ; mkdir level1 level2 level3 cd src/threads ; mkdir blas lapack cd src/threads/blas ; mkdir level3 level2 cd tune ; mkdir blas sysinfo lapack threads cd tune/blas ; mkdir gemm gemv ger level1 level3 cd interfaces ; mkdir blas lapack cd interfaces/lapack ; mkdir C F77 cd interfaces/lapack/C ; mkdir src testing cd interfaces/lapack/F77 ; mkdir src testing cd interfaces/blas ; mkdir C F77 cd interfaces/blas/C ; mkdir src testing cd interfaces/blas/F77 ; mkdir src testing cd interfaces/lapack ; mkdir C2F cd interfaces/lapack/C2F ; mkdir src mkdir ARCHS make -f Make.top startup make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64' Make.top:1: Make.inc: No such file or directory make[1]: *** No rule to make target 'Make.inc'. Stop. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ATLAS/x86_64_x86_64' make: *** [Makefile:541: startup] Error 2 mv: cannot stat 'lib/Makefile': No such file or directory ../configure: line 482: lib/Makefile: No such file or directory ../configure: line 483: lib/Makefile: No such file or directory ../configure: line 484: lib/Makefile: No such file or directory ../configure: line 485: lib/Makefile: No such file or directory ../configure: line 541: lib/Makefile: No such file or directory DONE configure + '[' x86_64 = x86_64 ']' + sed -i 's#ARCH =.*#ARCH = HAMMER64SSE3#' Make.inc sed: can't read Make.inc: No such file or directory error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.gLISLa (%build) RPM build warnings: extra tokens at the end of %endif directive in line 155: %endif # ix86 %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.gLISLa (%build) I: [iurt_root_command] ERROR: chroot