gtest-1.7.0-5.fc23 fails to build from source. This affects Base Runtime, Rawhide, and F25. The reason for this is a failing test, gtest_catch_exceptions_test. This is a manifestation of the problem that the gtest_catch_exceptions_ex_test_ executable has a segmentation fault rather than an exception that should be caught by the gtest framework. This failure has been reported upstream: https://github.com/google/googletest/issues/845. Unfortunately, there is no fix reported there. It can be noted that the build and all tests succeed if C++ compiler optimization is disabled when compiling the package. This suggests a bug in the compiler. However, it also suggests disabling optimization is a workaround to fix the FTBFS problem.
Created attachment 1234540 [details] proposed patch to correct FTBFS issue
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.
The issue with C++ optimization causing exception handling to fail has been reported: https://bugzilla.redhat.com/show_bug.cgi?id=1408291
https://koji.fedoraproject.org/koji/taskinfo?taskID=17162668