Description of problem: atlascpp make check failure since -Werror=format-security Version-Release number of selected component (if applicable): atlascpp-0.6.2-6.fc21 How reproducible: Steps to Reproduce: 1. fedpkg clone -a atlascpp 2. fedpkg mockbuild Actual results: === ... make[3]: Entering directory `/builddir/build/BUILD/Atlas-C++-0.6.2/tests/Objects' g++ -DHAVE_CONFIG_H -I../.. -O2 -g -pipe -Wall =format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -DNDEBUG -c -o custom_ops.o custom_ops.cpp g++: error: =format-security: No such file or directory make[3]: *** [custom_ops.o] Error 1 === Additional info: The failure is related to the sed lines in atlascpp.spec that need to be changed as suggested by following diff: === $git diff diff --git a/atlascpp.spec b/atlascpp.spec index 67d6d83..1da6188 100644 --- a/atlascpp.spec +++ b/atlascpp.spec @@ -45,8 +45,8 @@ Libraries and header files for developing applications that use Atlas-C++ # simple hack to remove -Werror from the test suite, which causes # it to fail. -sed -i -e 's#-Werror##' benchmark/Makefile -sed -i -e 's#-Werror##' tests/Objects/Makefile +sed -i -e 's#-Werror\(=[^ ]*\)\?##' benchmark/Makefile +sed -i -e 's#-Werror\(=[^ ]*\)\?##' tests/Objects/Makefile make %{?_smp_mflags} make docs ===
Fixed in rawhide: http://pkgs.fedoraproject.org/cgit/atlascpp.git/commit/?id=2b14e94a0d1d6ed2cc21cbe8533ece1e3e9c11c6 http://koji.fedoraproject.org/koji/taskinfo?taskID=6853970