[MacPorts] #70436: mongodb @6.0.7_1 fails to build (was: mongodb fails to build)
MacPorts
noreply at macports.org
Tue Jul 23 16:25:27 UTC 2024
#70436: mongodb @6.0.7_1 fails to build
---------------------+----------------------
Reporter: mkhon | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: haspatch
Port: |
---------------------+----------------------
Changes (by mkhon):
* keywords: => haspatch
Old 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?)
New 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?)
Environment:
{{{
fjoe:~$ xcodebuild -version
Xcode 15.4
Build version 15F31d
fjoe:~$ clang --version
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: x86_64-apple-darwin23.5.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
fjoe:~$ sw_vers -productVersion
14.5
fjoe:~$
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/70436#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list