[MacPorts] #67439: openimageio: fallback version build fails for some macOS releases: link failure, or redefinition of 'get_file'

MacPorts noreply at macports.org
Tue May 16 21:54:32 UTC 2023


#67439: openimageio: fallback version build fails for some macOS releases: link
failure, or redefinition of 'get_file'
--------------------------+----------------------
  Reporter:  mascguy      |      Owner:  mascguy
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:
      Port:  openimageio  |
--------------------------+----------------------
Changes (by mascguy):

 * cc: barracuda156 (added)


Comment:

 Update: Apparently I spoke too soon: The issue related to `get_file`
 redefinition, was indeed resolved with my earlier fix. So things look good
 for 10.9 and later. Pfew!

 However, now the builds are failing due to a subsequent upstream patch,
 via [https://github.com/macports/macports-ports/pull/18704 PR 18704 -
 openexr: improved fix for older systems]:

 {{{
 In file included from
 .../work/openexr-3.1.7/src/lib/IlmThread/IlmThreadSemaphorePosixCompat.cpp:25:
 .../work/openexr-3.1.7/src/lib/IlmThread/IlmThreadSemaphore.h:65:10:
 error: unknown type name 'dispatch_semaphore_t'
         mutable dispatch_semaphore_t _semaphore;
                 ^
 1 error generated.
 }}}

 I'll take a look when I get a chance, as hopefully we just need some minor
 patch changes.

 As for the link errors for 10.8 and earlier, it appears that the symbols
 are related to `std::mutex`. We might need to use `legacysupport
 `/`macports-libcxx`, but need to do more digging first.

 Making progress though!

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


More information about the macports-tickets mailing list