Bug 1421784
Summary: | boost.asio tests fail other builds | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Cronenworth <mike> |
Component: | boost | Assignee: | Jonathan Wakely <jwakely> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 26 | CC: | dakingun, denis.arnaud_fedora, jwakely, me |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | boost-1.63.0-9.fc26 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-10-04 22:22:59 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: |
Description
Michael Cronenworth
2017-02-13 16:31:40 UTC
I suspect those lines were meant to be used, but this is more fallout of the move from openssl 1.0.1 to 1.1.0 and the version check doesn't work with 1.0.1 In F24: # define OPENSSL_VERSION_NUMBER 0x100020bfL In rawhide: # define OPENSSL_VERSION_NUMBER 0x1010004fL These are both less than 0x10100000L so the test passes in both cases. I think there are too many zeros in 0x10100000L. I'll fix it and report it upstream. Oops, no it isn't ... I can't count! So something else is going on. Maybe OPENSSL_VERSION_NUMBER simply isn't defined at that point and so expands to 0, I'll check that. The problem is these lines in the rb_libtorrent test_ssl.cpp file: #ifdef TORRENT_USE_OPENSSL #include <boost/asio/ssl/error.hpp> // for asio::error::get_ssl_category() #include <boost/asio/ssl.hpp> This includes the definition of asio::error::get_ssl_category() before the OPENSSL_VERSION_NUMBER macro has been defined. Reversing the order of those two includes (or simply removing the first one) fixes the build. I've reported this to https://github.com/chriskohlhoff/asio/issues/184 rb_libtorrent is fixed. I'll keep this open until I hear from upstream about the header order dependency. This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. boost-1.63.0-9.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-87acef340c boost-1.63.0-9.fc26 has been pushed to the Fedora 26 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-2017-87acef340c boost-1.63.0-9.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. |