[MacPorts] #60252: zeek: error: aligned allocation function of type 'void *(std::size_t, std::align_val_t)' is only available on macOS 10.14 or newer

MacPorts noreply at macports.org
Thu Mar 26 23:56:28 UTC 2020


#60252: zeek: error: aligned allocation function of type 'void *(std::size_t,
std::align_val_t)' is only available on macOS 10.14 or newer
------------------------+-------------------------
 Reporter:  ryandesign  |      Owner:  Schamschula
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  zeek
------------------------+-------------------------
 I guess this will only work on extremely new systems:

 https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/111036/steps
 /install-port/logs/stdio

 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_zeek/zeek/work/zeek-3.1.1/aux/broker/bindings/python/3rdparty/pybind11/include/pybind11/cast.h:579:34:
 error: aligned allocation function of type 'void *(std::size_t,
 std::align_val_t)' is only available on macOS 10.14 or newer
                         vptr = ::operator new(type->type_size,
                                  ^
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_zeek/zeek/work/zeek-3.1.1/aux/broker/bindings/python/3rdparty/pybind11/include/pybind11/cast.h:579:34:
 note: if you supply your own aligned allocation functions, use -faligned-
 allocation to silence this diagnostic
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_zeek/zeek/work/zeek-3.1.1/aux/broker/bindings/python/_broker.cpp:13:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_zeek/zeek/work/zeek-3.1.1/aux/broker/bindings/python/3rdparty/pybind11/include/pybind11/functional.h:12:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_zeek/zeek/work/zeek-3.1.1/aux/broker/bindings/python/3rdparty/pybind11/include/pybind11/pybind11.h:1008:11:
 error: 'operator delete' is unavailable: introduced in macOS 10.12
         ::operator delete(p, s, std::align_val_t(a));
           ^
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/new:208:74: note:
 'operator delete' has been explicitly marked unavailable here
 _LIBCPP_OVERRIDABLE_FUNC_VIS _LIBCPP_AVAILABILITY_SIZED_NEW_DELETE void
 operator delete(void* __p, std::size_t __sz, std::align_val_t) _NOEXCEPT;
                                                                          ^
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_zeek/zeek/work/zeek-3.1.1/aux/broker/bindings/python/_broker.cpp:13:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_zeek/zeek/work/zeek-3.1.1/aux/broker/bindings/python/3rdparty/pybind11/include/pybind11/functional.h:12:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_zeek/zeek/work/zeek-3.1.1/aux/broker/bindings/python/3rdparty/pybind11/include/pybind11/pybind11.h:1010:11:
 error: 'operator delete' is unavailable: introduced in macOS 10.12
         ::operator delete(p, s);
           ^
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/new:191:74: note:
 'operator delete' has been explicitly marked unavailable here
 _LIBCPP_OVERRIDABLE_FUNC_VIS _LIBCPP_AVAILABILITY_SIZED_NEW_DELETE void
 operator delete(void* __p, std::size_t __sz) _NOEXCEPT;
                                                                          ^
 }}}

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


More information about the macports-tickets mailing list