Re: [MacPorts] #70349: libkml @1.3.0: fails to build due to a conflict with minizip headers: error: redefinition of typedef ‘open_file_func’ (was: 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 24 16:22:09 UTC 2024


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

 * status:  assigned => accepted


Comment:

 Replying to [ticket:70349 barracuda156]:
 > {{{
 > iomem_simple.h:38: error: redefinition of typedef ‘open_file_func’
 > ioapi.h:137: error: previous declaration of ‘open_file_func’ was here
 > }}}

 This is https://github.com/libkml/libkml/issues/253.

 Replying to [comment:1 barracuda156]:
 > Oh, it ''requires'' `minizip`, but uses bundled headers instead.

 That is unexpected and surely not what I intended. I'm not sure what needs
 to be changed to make libkml use only MacPorts minizip and not its bundled
 headers.

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


More information about the macports-tickets mailing list