Opened 11 months ago
Closed 11 months ago
#68954 closed defect (duplicate)
boost176 can't compile
Reported by: | manbaum (Hsi Fun) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | boost176 | Cc: | |
Port: | boost176 |
Description
An error occurred when I executed port upgrade outdated
.
---> Building boost176 Error: Failed to build boost176: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_boost176/boost176/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
I examined the main.log and found the following message.
:info:build ./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] :info:build 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 # define BOOST_MPL_AUX_STATIC_CAST(T, expr) static_cast<T>(expr) :info:build ^ :info:build 7 warnings and 1 error generated.
I'm on macOS High Sierra (version 10.13.6), port version 2.8.1.
Attachments (1)
Change History (3)
Changed 11 months ago by manbaum (Hsi Fun)
comment:1 Changed 11 months ago by manbaum (Hsi Fun)
comment:2 Changed 11 months ago by kencu (Ken)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
this is a duplicate of #68920
the quick fix is to force clang-15 for now, as per that ticket
Note: See
TracTickets for help on using
tickets.
Well, maybe I should update the info.