Re: [MacPorts] #70349: libkml fails to build due to a conflict with minizip headers: error: redefinition of typedef ‘open_file_func’

MacPorts noreply at macports.org
Wed Jul 10 11:06:38 UTC 2024


#70349: libkml fails to build due to a conflict with minizip headers: error:
redefinition of typedef ‘open_file_func’
------------------------------+------------------------
  Reporter:  barracuda156     |      Owner:  ryandesign
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.9.3
Resolution:                   |   Keywords:
      Port:  libkml, minizip  |
------------------------------+------------------------

Comment (by barracuda156):

 I do not know why, but it seems that sources build contrib/minizip
 regardless of whether it is found by configure, so we cannot avoid
 conflicting headers.
 However, build with modern gcc works fine, so we can just blacklist Xcode
 gcc as an easy fix.

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


More information about the macports-tickets mailing list