Fix usage of incompatible openssl headers.
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2017-39d3695b69
Please log in to add feedback.
This update has been submitted for testing by rdieter.
This update has been pushed to testing.
The following error appears now instead, when compiling cpprest 2.9.1:
/usr/include/websocketpp/transport/asio/security/tls.hpp:363:39: error: could not convert 'boost::asio::ssl::error::make_error_code((boost::asio::ssl::error::stream_errors)1)' from 'boost::system::error_code' to 'std::error_code'
return make_error_code(boost::asio::ssl::error::stream_truncated);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/cpprest.dir/build.make:690: src/CMakeFiles/cpprest.dir/websockets/client /ws_client_wspp.cpp.o] Error 1
This update has reached 3 days in testing and can be pushed to stable now if the maintainer wishes
In the test package websocketpp-0.7.0-4.fc26, the following is missing in the spec file:
BuildRequires: openssl-devel
The patch "websocketpp-0.7.0-openssl11.patch" does not show an immediate effect, when openssl is not enabled.
See the related build log, which shows, that OPENSSL is missing:
https://kojipkgs.fedoraproject.org//packages/websocketpp/0.7.0/4.fc26/data/logs/noarch/build.log
-- OPENSSL_FOUND = FALSE
-- OPENSSL_INCLUDE_DIR = OPENSSL_INCLUDE_DIR-NOTFOUND
-- OPENSSL_LIBRARIES = OPENSSL_SSL_LIBRARY-NOTFOUND;OPENSSL_CRYPTO_LIBRARY-NOTFOUND
-- OPENSSL_VERSION =
Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.
And when building websocketpp-0.7.0-4.fc26 with openssl-devel the following error occurs now (coming from websocketpp-0.7.0-openssl11.patch) instead of the previous one:
/builddir/build/BUILD/websocketpp-0.7.0/test/transport/asio/security.cpp:65:6: required from here
/builddir/build/BUILD/websocketpp-0.7.0/websocketpp/transport/asio/security/tls.hpp:363:39: error: could not convert 'boost::asio::ssl::error::make_error_code((boost::asio::ssl::error::stream_errors)1)' from 'boost::system::error_code' to 'std::error_code'
return make_error_code(boost::asio::ssl::error::stream_truncated);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rdieter edited this update.
New build(s):
Removed build(s):
Karma has been reset.
This update has been submitted for testing by rdieter.
Thanks. Works for me.
This update has been pushed to testing.
The package has been built using "compat-openssl10-devel" (1:1.0.2j-6.fc26).
Was this intentional?
See root.log: https://kojipkgs.fedoraproject.org//packages/websocketpp/0.7.0/5.fc26/data/logs/noarch/root.log
This is due to the "BuildRequires: pkgconfig(openssl)" in the spec file. However, "BuildRequires: openssl-devel" would build against the newer openssl 1.1.
I suppose it would be better for testing purposes to explicitly use openssl-devel
This update has been submitted for stable by rdieter.
This update has been pushed to stable.