Opened 3 weeks ago

Last modified 10 days ago

#70795 assigned defect

boost171 @1.71.0_8+no_single+no_static+python310: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'udt_builtin_mixture_enum' [-Wenum-constexpr-conversion]

Reported by: MaurizioLoreti Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sequoia Cc: mascguy (Christopher Nielsen), markemer (Mark Anderson), dauererj
Port: boost171

Description

As said, source-highlight requires boost171 (strange, since the current version is boost 1.81 aka boost181). Building boost171 fails, the main.log is attached. "port info --maintainer source-highlight" has no output, so I wrote the name of the maintainers of boost (michaelld and mascguy) in the CC field.

Attachments (1)

main.log.gz (602.6 KB) - added by MaurizioLoreti 3 weeks ago.
main.log was too big to be included. compressed with gzip.

Download all attachments as: .zip

Change History (6)

Changed 3 weeks ago by MaurizioLoreti

Attachment: main.log.gz added

main.log was too big to be included. compressed with gzip.

comment:1 Changed 3 weeks ago by jmroot (Joshua Root)

Cc: michaelld removed
Owner: set to michaelld
Port: boost171 added; source-highlight removed
Status: newassigned
Summary: source-highlight fails to build on Sequoia, while building required port boost171boost171 @1.71.0_8+no_single+no_static+python310 fails to build on Sequoia
:info:build ./boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'udt_builtin_mixture_enum' [-Wenum-constexpr-conversion]
:info:build    73 |     typedef AUX_WRAPPER_INST( BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (value - 1)) ) prior;
:info:build       |                               ^
:info:build ./boost/mpl/aux_/static_cast.hpp:24:47: note: expanded from macro 'BOOST_MPL_AUX_STATIC_CAST'
:info:build    24 | #   define BOOST_MPL_AUX_STATIC_CAST(T, expr) static_cast<T>(expr)
:info:build       |                                               ^

comment:2 Changed 2 weeks ago by markemer (Mark Anderson)

This is #68920 but for 1.71. I also saw it show up here #70477.

Could we perhaps move source-highlight to the boost port group? And forbid building 1.71 on newer macports? Or should we fix it, AND move to the boost portgroup? (which is kinda what I'm leaning toward)

Last edited 2 weeks ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 2 weeks ago by markemer (Mark Anderson)

Cc: markemer added

comment:4 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)

There are many tickets about this problem with the various versions of boost. I thought they had all been solved by now. If not, they should be fixed, rather than marking the ports incompatible with the new version of macOS. Ports that use boost should use the boost portgroup and should probably use the newest version of boost that they can.

comment:5 Changed 10 days ago by ryandesign (Ryan Carsten Schmidt)

Cc: dauererj added
Keywords: sequoia added
Summary: boost171 @1.71.0_8+no_single+no_static+python310 fails to build on Sequoiaboost171 @1.71.0_8+no_single+no_static+python310: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'udt_builtin_mixture_enum' [-Wenum-constexpr-conversion]

Has duplicate #70983.

Note: See TracTickets for help on using tickets.