Bug 1306671
Summary: | thrift-0.9.1-17.fc24.2 FTBFS: operands to ?: have different types 'bool' and 'std::basic_ostream<char>' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
Component: | thrift | Assignee: | Petr Pisar <ppisar> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 24 | CC: | releng, willb, yselkowi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://koji.fedoraproject.org/koji/buildinfo?buildID=732352 | ||
Whiteboard: | |||
Fixed In Version: | thrift-0.9.1-17.fc25.3 thrift-0.9.1-17.fc24.3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-04 17:24:12 UTC | Type: | Bug |
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: | 1305208 |
Description
Petr Pisar
2016-02-11 14:47:26 UTC
*** Bug 1308185 has been marked as a duplicate of this bug. *** Culprit is gcc-6: src/generate/t_java_generator.cc: In member function 'void t_java_generator::generate_process_async_function(t_service*, t_function*)': src/generate/t_java_generator.cc:2830:14: error: operands to ?: have different types 'bool' and 'std::basic_ostream<char>' first ? first = false : indent(f_service_) << "else "; ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ See "Cannot convert 'bool' to 'T*'" in https://gcc.gnu.org/gcc-6/porting_to.html This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase I ported fixes from new 0.9.3 version. It would be great to upgrade thrift. Thanks for the fix, Petr. In the past, we haven't been able to upgrade Thrift (even among patchlevels) because other packages that depended on it were incompatible with other versions. What dependences of Thrift are you interested in in particular? I'm not interested in any particular dependencies. I only found that upstream already fixed the build issues, so if the Fedora package were following upstream, this bug report would not arise at all. If upstream breaks compatibility, that's problem. But you still can upgrade only in the Rawhide where is plenty of time fix broken dependencies. thrift-0.9.1-17.fc24.3 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-da11b9a352 thrift-0.9.1-17.fc24.3 has been pushed to the Fedora 24 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-da11b9a352 thrift-0.9.1-17.fc24.3 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |