[MacPorts] #67471: sentencepiece @0.1.97: error: aligned deallocation function ... is only available on macOS 10.14 or newer

MacPorts noreply at macports.org
Sun May 21 17:06:04 UTC 2023


#67471: sentencepiece @0.1.97: error: aligned deallocation function ... is only
available on macOS 10.14 or newer
------------------------+---------------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  sentencepiece
------------------------+---------------------------
 sentencepiece @0.1.97 fails to build on Mac OS X 10.6:

 https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/155618/steps
 /install-port/logs/stdio
 {{{
 src/../third_party/protobuf-lite/google/protobuf/stubs/mutex.h:160:5:
 error: aligned deallocation function of type 'void (void *,
 std::align_val_t) noexcept' is only available on macOS 10.14 or newer
     delete static_cast<T*>(value);
     ^
 }}}
 I don't understand the message since the port builds fine on OS X 10.8 and
 later.

 Does sentencepiece need to use its bundled copy of protobuf-lite? Could it
 use one of the separate protobuf ports already in MacPorts? Might that
 solve the problem?

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


More information about the macports-tickets mailing list