Bug 724015
Summary: | kdeedu (rocs) FTBFS against boost-1.47.0 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rex Dieter <rdieter> |
Component: | kdeedu | Assignee: | Than Ngo <than> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jreznik, kevin, ltinkl, pmachata, rdieter, rnovacek, ry, smparrish, than |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-07-23 22:20:38 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 711845 |
Description
Rex Dieter
2011-07-21 17:43:22 UTC
The problem is in boost/numeric/conversion, which should throw exceptions with boost::throw_exception, not literal throw, to aid compilation with -fno-exceptions. I'm spinning a build that should fix this. Note that boost::throw_exception is then defined in the client. In rocs, it's in src/Plugins/dotParser/dotgrammar.cpp: namespace boost { void throw_exception(std::exception const &) {} } But, from boost documentation, "callers of throw_exception are allowed to assume that the function never returns; therefore, if the user-defined throw_exception returns, the behavior is undefined". Just FYI. FWIW, I think it sucks that we're building KDE with -fno-exceptions when the rest of Fedora is using -fexceptions even for C code. We should probably patch the kdelibs CMakeLists.txt to kill that -fno-exceptions use. Build requeued, https://koji.fedoraproject.org/koji/taskinfo?taskID=3224594 in the meantime, I would tend to agree with kevin's sentiments about exceptions. anyone interested to poke kde upstream about that? new build looks like a winner, thanks! |