-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.6.8
-
Component/s: None
-
None
-
ALL
-
Compiling error encountered while compiling mongodb 3.6.8. Compilation ended with the following statements...
Compiling build/opt/mongo/util/net/ssl_manager.o
In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23,
from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25,
from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24,
from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17,
from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14,
from src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:27,
from src/third_party/boost-1.60.0/boost/range/iterator_range.hpp:13,
from src/third_party/boost-1.60.0/boost/range/as_literal.hpp:22,
from src/third_party/boost-1.60.0/boost/algorithm/string/trim.hpp:19,
from src/third_party/boost-1.60.0/boost/algorithm/string.hpp:19,
from src/mongo/util/net/ssl_manager.cpp:34:
src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
src/mongo/util/net/ssl_manager.cpp: In function 'void mongo::recordTLSVersion(const SSL*)':
src/mongo/util/net/ssl_manager.cpp:1499:20: error: 'struct mongo::TLSVersionCounts' has no member named 'tls13'; did you mean 'tls10'?
counts.tls13.addAndFetch(1);
^~~~~
tls10
scons: *** [build/opt/mongo/util/net/ssl_manager.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/util/net/ssl_manager.o failed: Error 1
Compilation started with the following statement...
$ scons --ssl --disable-warnings-as-errors --prefix=/usr core install
Error corrected by modifying struct TLSVersionCounts in file src/mongo/util/net/ssl_manager.h by inserting new line 111 with text...
AtomicInt64 tls13;
This error was encountered in system running Slackware (Linux) x86_64 Current with OpenSSL 1.1.1 and 1.0.20 installed.
No patch file provided. Again, this was encountered and tested in version 3.6.8. Not sure if this applies to any other (newer, major version) releases.
- duplicates
-
SERVER-37135 TLSVersionCounts needs to track and report TLS 1.3
- Closed