[MacPorts] #69471: gtk2 @2.24.33_3+quartz fails to build: incompatible function pointer types

MacPorts noreply at macports.org
Mon Mar 11 23:42:01 UTC 2024


#69471: gtk2 @2.24.33_3+quartz fails to build: incompatible function pointer types
------------------------+----------------------
  Reporter:  DrLex0     |      Owner:  mascguy
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.9.1
Resolution:             |   Keywords:
      Port:  gtk2 gimp  |
------------------------+----------------------

Comment (by kencu):

 Replying to [comment:9 ryandesign]:
 > Replying to [comment:8 kencu]:
 > > (And I see the m4 nuisance as well).
 >
 > Does the change I proposed in comment:ticket:69467:2 make that problem
 go away?

 It appears that Apple forgot to put "m4" in the CommandLineTools:

 {{{
 % ls /Library/Developer/CommandLineTools/usr/bin | grep m4
 gm4
 }}}

 but did put it in Xcode:
 {{{
 % ls
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 | grep m4
 bm4
 gm4
 m4
 }}}

 so  when the DevloperDir is set to the CLTs, it triggers the installation
 prompt:
 {{{
  % DEVELOPER_DIR=/Library/Developer/CommandLineTools m4
 xcode-select: Failed to locate 'm4', requesting installation of command
 line developer tools.
 }}}

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


More information about the macports-tickets mailing list