stable

websocketpp-0.7.0-5.fc26

FEDORA-2017-39d3695b69 created by rdieter 8 years ago for Fedora 26

Fix usage of incompatible openssl headers.

How to install

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

This update has been submitted for testing by rdieter.

8 years ago

This update has been pushed to testing.

8 years ago
User Icon c72578 commented & provided feedback 8 years ago

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

BZ#1449163 tls.hpp, SSL_R_SHORT_READ undefined in openssl-1.1

This update has reached 3 days in testing and can be pushed to stable now if the maintainer wishes

8 years ago
User Icon c72578 commented & provided feedback 8 years ago
karma

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 =

BZ#1449163 tls.hpp, SSL_R_SHORT_READ undefined in openssl-1.1

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.

8 years ago
User Icon c72578 commented & provided feedback 8 years ago
karma

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);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

BZ#1449163 tls.hpp, SSL_R_SHORT_READ undefined in openssl-1.1

rdieter edited this update.

New build(s):

  • websocketpp-0.7.0-5.fc26

Removed build(s):

  • websocketpp-0.7.0-4.fc26

Karma has been reset.

8 years ago

This update has been submitted for testing by rdieter.

8 years ago
User Icon c72578 commented & provided feedback 8 years ago
karma

Thanks. Works for me.

BZ#1449163 tls.hpp, SSL_R_SHORT_READ undefined in openssl-1.1

This update has been pushed to testing.

8 years ago
User Icon c72578 commented & provided feedback 8 years ago
karma

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.

BZ#1449163 tls.hpp, SSL_R_SHORT_READ undefined in openssl-1.1
User Icon rdieter commented & provided feedback 8 years ago

I suppose it would be better for testing purposes to explicitly use openssl-devel

This update has been submitted for stable by rdieter.

8 years ago

This update has been pushed to stable.

8 years ago

Please log in to add feedback.

Metadata
Type
bugfix
Severity
medium
Karma
1
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-4
Stable by Karma
2
Stable by Time
disabled
Dates
submitted
8 years ago
in testing
8 years ago
in stable
8 years ago
modified
8 years ago
BZ#1449163 tls.hpp, SSL_R_SHORT_READ undefined in openssl-1.1
0
1

Automated Test Results