[MacPorts] #72454: emacs-app +imagemagick +treesitter +nativecamp +rsvg: call to undeclared function 'IOMainPort'

MacPorts noreply at macports.org
Thu May 8 16:38:21 UTC 2025


#72454: emacs-app +imagemagick +treesitter +nativecamp +rsvg: call to undeclared
function 'IOMainPort'
--------------------------+----------------------
 Reporter:  squarepegsys  |      Owner:  drkp
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.7
 Keywords:                |       Port:  emac-app
--------------------------+----------------------
 When I try to install emacs-app with +imagemagick +treesitter +nativecamp
 +rsvg, it fails with :

 :info:build nsfns.m:2676:11: error: call to undeclared function
 'IOMainPort'; ISO C99 and later do not support implicit function
 declarations [-Wimplic
 it-function-declaration]
 :info:build       if (IOMasterPort (MACH_PORT_NULL, &masterPort) !=
 kIOReturnSuccess
 :info:build           ^
 :info:build nsfns.m:54:22: note: expanded from macro 'IOMasterPort'
 :info:build #define IOMasterPort IOMainPort


 I'm attaching the main.log file

-- 
Ticket URL: <https://trac.macports.org/ticket/72454>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list