Bug 1406937 - gtest-1.7.0-5.fc23 FTBFS
Summary: gtest-1.7.0-5.fc23 FTBFS
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Deadline: 2017-01-04
Product: Fedora
Classification: Fedora
Component: gtest
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Terje Røsten
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: BaseRuntimeFTBFS
TreeView+ depends on / blocked
 
Reported: 2016-12-21 21:51 UTC by Merlin Mathesius
Modified: 2017-01-04 16:00 UTC (History)
6 users (show)

Fixed In Version: gtest-1.7.0-7.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-04 16:00:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
proposed patch to correct FTBFS issue (1.44 KB, patch)
2016-12-21 21:54 UTC, Merlin Mathesius
no flags Details | Diff

Description Merlin Mathesius 2016-12-21 21:51:57 UTC
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.

Comment 1 Merlin Mathesius 2016-12-21 21:54:31 UTC
Created attachment 1234540 [details]
proposed patch to correct FTBFS issue

Comment 2 Merlin Mathesius 2016-12-21 21:55:34 UTC
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.

Comment 3 Merlin Mathesius 2016-12-22 20:04:47 UTC
The issue with C++ optimization causing exception handling to fail has been reported: https://bugzilla.redhat.com/show_bug.cgi?id=1408291


Note You need to log in before you can comment on or make changes to this bug.