Opened 5 months ago

Closed 8 weeks ago

#70795 closed defect (fixed)

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, carlesfernandez (Carles Fernandez)
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 5 months ago.
main.log was too big to be included. compressed with gzip.

Download all attachments as: .zip

Change History (9)

Changed 5 months ago by MaurizioLoreti

Attachment: main.log.gz added

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

comment:1 Changed 5 months 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 5 months 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 5 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 5 months ago by markemer (Mark Anderson)

Cc: markemer added

comment:4 Changed 5 months 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 4 months 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.

comment:6 Changed 2 months ago by thomasrussellmurphy (Thomas Russell Murphy)

This version of boost remains in the dependency tree of gnuradio -> uhd. Awkwardly, gnuradio also reaches boost181 via py39-scipy. Is there a better path to fix by using less boost171 by updating the other ports or a fix for it here?

comment:7 Changed 2 months ago by carlesfernandez (Carles Fernandez)

Cc: carlesfernandez added

comment:8 Changed 8 weeks ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.