Opened 14 months ago
Closed 3 weeks ago
#72454 closed defect (worksforme)
emacs-app @30.1 +imagemagick +treesitter +nativecamp +rsvg: call to undeclared function 'IOMainPort'
| Reported by: | squarepegsys (Mike Hostetler) | Owned by: | drkp (Dan Ports) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.7 |
| Keywords: | Cc: | ||
| Port: | emac-app |
Description
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
Attachments (1)
Change History (3)
Changed 14 months ago by squarepegsys (Mike Hostetler)
comment:1 Changed 14 months ago by squarepegsys (Mike Hostetler)
| Summary: | emacs-app +imagemagick +treesitter +nativecamp +rsvg: call to undeclared function 'IOMainPort' → emacs-app @30.1 +imagemagick +treesitter +nativecamp +rsvg: call to undeclared function 'IOMainPort' |
|---|
comment:2 Changed 3 weeks ago by drkp (Dan Ports)
| Resolution: | → worksforme |
|---|---|
| Status: | assigned → closed |
I wasn't able to reproduce this and it builds fine on the buildbot/CI. I'm guessing this was a problem with having different Xcode and CLT versions installed (15.2 / 14.3.1). Please feel free to reopen if this is still occuring with the latest version.

forgot to add the version number