[MacPorts] #66267: MySQL 8.0.31 failed to be built with macports-clang-15 on macOS <= 10.14 Mojave

MacPorts noreply at macports.org
Tue Nov 15 07:54:19 UTC 2022


#66267: MySQL 8.0.31 failed to be built with macports-clang-15 on macOS <= 10.14
Mojave
---------------------------+--------------------
 Reporter:  laggardkernel  |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:
 Keywords:                 |       Port:  mysql8
---------------------------+--------------------
 Checking from port health, mysql 8.0.31 failed to be built on macOS <=
 10.14 Mojave.

 https://ports.macports.org/port/mysql8/details/

 Here's the error part extracted from the build log.


 {{{
 /opt/local/libexec/llvm-15/bin/../include/c++/v1/__algorithm/iterator_operations.h:100:5:
 error: static assertion failed due to requirement 'is_same<varlen_element,
 varlen_element &>::value': It looks like your iterator's
 `iterator_traits<It>::reference` does not match the return type of
 dereferencing the iterator, i.e., calling `*it`. This is undefined
 behavior according to [input.iterators] and can lead to dangling reference
 issues at runtime, so we are flagging this.
     static_assert(is_same<__deref_t<_Iter>, typename
 iterator_traits<__uncvref_t<_Iter> >::reference>::value,
     ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/libexec/llvm-15/bin/../include/c++/v1/__algorithm/iterator_operations.h:129:5:
 note: in instantiation of function template specialization
 'std::_IterOps<std::_ClassicAlgPolicy>::__validate_iter_reference<varlen_iterator
 &>' requested here
     __validate_iter_reference<_Iter>();
     ^

 }}}

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


More information about the macports-tickets mailing list