[MacPorts] #70228: gdal @3.9.0 - Fails to Configure on Lion

MacPorts noreply at macports.org
Sun Jun 16 21:34:30 UTC 2024


#70228: gdal @3.9.0 - Fails to Configure on Lion
---------------------+--------------------
  Reporter:  RobK88  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.9.3
Resolution:          |   Keywords:  lion
      Port:  gdal    |
---------------------+--------------------

Comment (by ryandesign):

 Replying to [comment:5 RobK88]:
 > I was able to finally configure `gdal at 3.9.0` when i used the regular
 non-universal variant if `expat`.  But the port fails at the build stage.

 Ok, this is a second and completely unrelated problem. The problems in
 that log start with:

 {{{
 Undefined symbols for architecture x86_64:
   "std::bad_optional_access::~bad_optional_access()", referenced from:
       __ZNSt3__127__throw_bad_optional_accessB7v160006Ev in
 gdalargumentparser.cpp.o
       __ZNSt3__127__throw_bad_optional_accessB7v160006Ev in
 gdalinfo_lib.cpp.o
       __ZNSt3__127__throw_bad_optional_accessB7v160006Ev in
 gdalwarp_lib.cpp.o
       __ZNSt3__127__throw_bad_optional_accessB7v160006Ev in
 ogrinfo_lib.cpp.o
       __ZNSt3__127__throw_bad_optional_accessB7v160006Ev in
 nearblack_lib.cpp.o
 }}}

 According to #68220 this will happen on any macOS version earlier than
 10.13 because those libc++ versions are too old. The legacy support
 portgroup has a feature to let a port use a newer libc++ from MacPorts
 instead. I do not know whether using that would have other undesirable
 consequences.

-- 
Ticket URL: <https://trac.macports.org/ticket/70228#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list