Opened 4 months ago
Last modified 4 months ago
#70436 closed defect
mongodb fails to build — at Initial Version
Reported by: | mkhon | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | |
Port: | mongodb, mongodb-devel |
Description
The relevant error from the build log:
:info:build src/third_party/boost/boost/type_traits/intrinsics.hpp:205:43: note: expanded from macro 'BOOST_HA S_NOTHROW_ASSIGN' :info:build # define BOOST_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T) && !is_volatile<T>::value && is_ assignable<T&, const T&>::value) :info:build ^ :info:build In file included from src/mongo/db/pipeline/process_interface/mongos_process_interface.cpp:41: :info:build In file included from src/mongo/db/pipeline/document_source_merge.h:33: :info:build In file included from src/mongo/db/pipeline/document_source_writer.h:36: :info:build In file included from src/mongo/db/db_raii.h:35: :info:build In file included from src/mongo/db/stats/top.h:36: :info:build In file included from src/third_party/boost/boost/date_time/posix_time/posix_time.hpp:24: :info:build In file included from src/third_party/boost/boost/date_time/posix_time/time_formatters.hpp:12: :info:build In file included from src/third_party/boost/boost/date_time/gregorian/gregorian.hpp:31: :info:build In file included from src/third_party/boost/boost/date_time/gregorian/gregorian_io.hpp:16: :info:build In file included from src/third_party/boost/boost/date_time/date_facet.hpp:25: :info:build In file included from src/third_party/boost/boost/date_time/date_generator_parser.hpp:20: :info:build In file included from src/third_party/boost/boost/date_time/format_date_parser.hpp:14: :info:build In file included from src/third_party/boost/boost/lexical_cast.hpp:32: :info:build In file included from src/third_party/boost/boost/lexical_cast/try_lexical_convert.hpp:43: :info:build In file included from src/third_party/boost/boost/lexical_cast/detail/converter_numeric.hpp:36: :info:build In file included from src/third_party/boost/boost/numeric/conversion/cast.hpp:33: :info:build In file included from src/third_party/boost/boost/numeric/conversion/converter.hpp:13: :info:build In file included from src/third_party/boost/boost/numeric/conversion/conversion_traits.hpp:13: :info:build In file included from src/third_party/boost/boost/numeric/conversion/detail/conversion_traits.hpp: 18: :info:build In file included from src/third_party/boost/boost/numeric/conversion/detail/int_float_mixture.hpp: 19: :info:build In file included from src/third_party/boost/boost/mpl/integral_c.hpp:32: :info:build src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion]
The patch to fix this is attached. I believe this is the reason why mongodb packages do not currently exist (is there an access to the package build logs?)
Note: See
TracTickets for help on using
tickets.
Fix mongodb build