[MacPorts] #69518: pkgconfig @ 0.29.2: won't install on M3 mac due to "incompatible integer to pointer conversion"

MacPorts noreply at macports.org
Sat Mar 16 18:37:27 UTC 2024


#69518: pkgconfig @ 0.29.2: won't install on M3 mac due to "incompatible integer to
pointer conversion"
------------------------+------------------------
  Reporter:  rbeyer     |      Owner:  ryandesign
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.9.1
Resolution:             |   Keywords:
      Port:  pkgconfig  |
------------------------+------------------------

Comment (by kencu):

 No surprise, turning the error off fixes the build on newer clangs. You
 can add this to the Portfile to get this built if you need to:

 {{{
 configure.cflags-append -Wno-int-conversion
 }}}

 Ryan will look at this and see what he wants to do. Perhaps there is an
 official fix in whatever source repo pkgconfig comes from that he will
 want to use instead. Certainly if he does want to turn the error off,
 it'll have to be restricted to the compilers that understand that flag.

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


More information about the macports-tickets mailing list