Opened 17 months ago
Closed 14 months 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)
Change History (9)
Changed 17 months ago by MaurizioLoreti
| Attachment: | main.log.gz added |
|---|
comment:1 Changed 17 months ago by jmroot (Joshua Root)
| Cc: | michaelld removed |
|---|---|
| Owner: | set to michaelld |
| Port: | boost171 added; source-highlight removed |
| Status: | new → assigned |
| Summary: | source-highlight fails to build on Sequoia, while building required port boost171 → boost171 @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 17 months ago by markemer (Mark Anderson)
comment:3 Changed 17 months ago by markemer (Mark Anderson)
| Cc: | markemer added |
|---|
comment:4 Changed 17 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 17 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 Sequoia → 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] |
Has duplicate #70983.
comment:6 Changed 14 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 14 months ago by carlesfernandez (Carles Fernandez)
| Cc: | carlesfernandez added |
|---|
comment:8 Changed 14 months ago by mascguy (Christopher Nielsen)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed in commit: db1145364631136657b3a77bae8cc5f8e2676575/macports-ports

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