#72784 closed defect (duplicate)
pinentry-mac @0.9.4: Build failure when SDK version doesn't match OS version
| Reported by: | btywoniuk (Bart) | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.11.4 |
| Keywords: | tahoe | Cc: | breun (Nils Breunese) |
| Port: | pinentry-mac |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
On macOS 15 beta (internally versioned as 26.0), the pinentry-mac @0.9.4 port fails to build because the deployment target is not supported by the upstream Xcode project.
The error looks like:
MACOSX_DEPLOYMENT_TARGET=26.0 SDK 'macosx26.0' cannot be located
Full build failure:
ProcessInfoPlistFile [...]/Contents/Info.plist [...]/Resources/Info.plist ... Exit code: 65 Error: Failed to build pinentry-mac: command execution failed
I confirmed that:
- I’m using a valid SDK path:
/Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk - The deployment target of
26.0matches the system version (confirmed bysw_vers) - The issue appears to be due to the upstream
.xcodeprojnot supporting this target
---
Suggested fix:
- Update
pinentry-macto a newer release, which may better support recent Xcode/macOS versions - Patch the
.xcodeprojto explicitly allowMACOSX_DEPLOYMENT_TARGET=26.0 - Alternatively, override the build system to use
makeinstead of Xcode if a GUI is not required
Let me know if testing newer versions or providing logs would help. Happy to assist in debugging this.
Change History (4)
comment:1 Changed 12 months ago by jmroot (Joshua Root)
| Milestone: | MacPorts Future |
|---|
comment:2 Changed 11 months ago by breun (Nils Breunese)
comment:3 Changed 11 months ago by breun (Nils Breunese)
After upgrading to Xcode 26.0 and the latest Command Line Tools, the pinentry-mac build worked for me on macOS 26.0.
comment:4 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | breun added |
|---|---|
| Description: | modified (diff) |
| Keywords: | tahoe added; Tahoe removed |
| Resolution: | → duplicate |
| Status: | new → closed |
| Summary: | pinentry-mac @0.9.4 fails to build on macOS 15 (26.0) due to unsupported deployment target → pinentry-mac @0.9.4: Build failure when SDK version doesn't match OS version |
Other tickets about this port, like #68731, already discuss the problem that pinentry-mac doesn't build when Xcode doesn't contain the SDK matching the OS version.
That shouldn't be the case on macOS 26 when using Xcode 26.
Note: See
TracTickets for help on using
tickets.

Now that macOS 26 has been released, I also ran into this, as this is apparently a (transitive) dependency of various ports.
https://github.com/GPGTools/pinentry-mac has been archived and was last updated 10 years ago.
I see that the Homebrew formula uses https://github.com/GPGTools/pinentry instead, and that repository has some more recent tags.