[MacPorts] #68954: boost176 can't compile

MacPorts noreply at macports.org
Fri Dec 22 04:52:50 UTC 2023


#68954: boost176 can't compile
----------------------+----------------------
 Reporter:  manbaum   |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.8.1
 Keywords:  boost176  |       Port:  boost176
----------------------+----------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/68954>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list