Opened 12 months ago

Closed 11 months ago

Last modified 11 months ago

#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.0 matches the system version (confirmed by sw_vers)
  • The issue appears to be due to the upstream .xcodeproj not supporting this target

---

Suggested fix:

  • Update pinentry-mac to a newer release, which may better support recent Xcode/macOS versions
  • Patch the .xcodeproj to explicitly allow MACOSX_DEPLOYMENT_TARGET=26.0
  • Alternatively, override the build system to use make instead 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)

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.

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.

Last edited 11 months ago by breun (Nils Breunese) (previous) (diff)

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: newclosed
Summary: pinentry-mac @0.9.4 fails to build on macOS 15 (26.0) due to unsupported deployment targetpinentry-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.