atlas-3.10.2-12.fc24 fails to build from source. This affects Base Runtime, Rawhide, F25, and earlier releases. The problem is that erroneous flags get passed to the compiler during the build. For example: /usr/bin/gcc -DL2SIZE=4194304 -I/builddir/build/BUILD/ATLAS/x86_64_base/include -I/builddir/build/BUILD/ATLAS/x86_64_base/..//include -I/builddir/build/BUILD/ATLAS/x86_64_base/..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_UNKNOWNx86 -DATL_CPUMHZ=2808 MAC -DATL_AVX -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664 -m64 -DWALL -DATL_NCPU=4 -O -fomit-frame-pointer -g -Wa,--noexecstack -fPIC -m64 -c /builddir/build/BUILD/ATLAS/x86_64_base/..//bin/atlas_tee.c gcc: error: MAC: No such file or directory and /usr/bin/gcc -c -DL2SIZE=4194304 -I/builddir/build/BUILD/ATLAS/x86_64_base/include -I/builddir/build/BUILD/ATLAS/x86_64_base/..//include -I/builddir/build/BUILD/ATLAS/x86_64_base/..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_UNKNOWNx86 -DATL_CPUMHZ=2808 -DATL_AVXMAC -DATL_AVX -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664 -m64 -DWALL -DATL_NCPU=4 -O -fomit-frame-pointer -msse32 -mfma -g -Wa,--noexecstack -fPIC -m64 ATL_walltime.c gcc: error: unrecognized command line option '-msse32'; did you mean '-msse2'? The reason for the invalid flags appearing is due to some "sed" substitutions in the spec file that are making unexpected modifications to values in the Make.inc file. For example, the "sed -i 's#-DATL_AVX##' Make.inc" and "sed -i 's#-mavx#-msse3#' Make.inc" commands are changing lines such as the following: ARCHDEFS = -DATL_OS_Linux -DATL_ARCH_UNKNOWNx86 -DATL_CPUMHZ=2808 -DATL_AVXMAC -DATL_AVX -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664 GCCFLAGS = -O -fomit-frame-pointer -mavx2 -mfma -g -Wa,--noexecstack -fPIC -m64 to ARCHDEFS = -DATL_OS_Linux -DATL_ARCH_UNKNOWNx86 -DATL_CPUMHZ=2808 MAC -DATL_AVX -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664 GCCFLAGS = -O -fomit-frame-pointer -msse32 -mfma -g -Wa,--noexecstack -fPIC -m64 The fix may be as simple as anchoring the sed substitutions to end on word boundaries such as: - sed -i 's#-DATL_AVX##' Make.inc + sed -i 's#-DATL_AVX\b##' Make.inc - sed -i 's#-mavx#-msse3#' Make.inc + sed -i 's#-mavx\b#-msse3#' Make.inc I have confirmed that making the above two changes allows the package to compile again for x86_64.
Please apply the patch or respond with a reason it should not be applied within two weeks. After that time, a provenpackager will go ahead and apply it.
Created attachment 1231926 [details] proposed patch to correct FTBFS issue
Thanks for the patch. Checked in and building.
atlas-3.10.2-13.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6f9c9156c7
atlas-3.10.2-13.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6f9c9156c7
atlas-3.10.2-14.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1d3b1fc610
atlas-3.10.2-14.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1d3b1fc610
atlas-3.10.2-14.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.