[MacPorts] #68220: et @6.2.8_0: Undefined symbols for architecture x86_64 "std::bad_optional_access…"

MacPorts noreply at macports.org
Fri Sep 22 16:59:58 UTC 2023


#68220: et @6.2.8_0: Undefined symbols for architecture x86_64
"std::bad_optional_access…"
--------------------------+----------------------
 Reporter:  chrstphrchvz  |      Owner:  l2dy
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:                |       Port:  et
--------------------------+----------------------
 `std::bad_optional_access` is provided by libc++ only since macOS 10.13
 High Sierra, so the macOS 10.7 - 10.12 builds fail to link:

 {{{
 Undefined symbols for architecture x86_64:
   "std::bad_optional_access::~bad_optional_access()", referenced from:
       __ZNSt3__127__throw_bad_optional_accessB7v160006Ev in
 libTerminalCommon.a(ServerFifoPath.cpp.o)
   "typeinfo for std::bad_optional_access", referenced from:
       __ZNSt3__127__throw_bad_optional_accessB7v160006Ev in
 libTerminalCommon.a(ServerFifoPath.cpp.o)
   "vtable for std::bad_optional_access", referenced from:
       __ZNSt3__127__throw_bad_optional_accessB7v160006Ev in
 libTerminalCommon.a(ServerFifoPath.cpp.o)
   NOTE: a missing vtable usually means the first non-inline virtual member
 function has no definition.
 ld: symbol(s) not found for architecture x86_64
 }}}

 Note: I personally do not use this port or these macOS versions.

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


More information about the macports-tickets mailing list