Opened 8 months ago

Last modified 8 months ago

#69581 assigned defect

ssh-askpass-mac fails to build on macOS 13 (Ventura) for Intel — at Initial Version

Reported by: huyz (Huy Z) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ssh-askpass-mac

Description

This ticket comes out of an attempt to upgrade the ssh-askpass-mac port from v1.2 to v3.0, but it looks like this problem has even been affecting the currently published ssh-askpass-mac v1.2 port.

The GitHub PR for updating the port is at https://github.com/macports/macports-ports/pull/23181 and is failing the GitHub Actions build due to error: failed to deserialize Info.plist task context: Deserialization failed: SDK lookup failed for canonical name: macosx13.3 (in target 'ssh-askpass' from project 'ssh-askpass') which is similar to the build failure for graphviz-gui in ticket:68417, as pointed out by @ryandseign.

Full log of run is at https://github.com/macports/macports-ports/actions/runs/8404522873/job/23016874695 with relevant snippet as follows:

ProcessInfoPlistFile /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/build/Release/ssh-askpass.app/Contents/Info.plist /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/ssh-askpass/Info.plist (in target 'ssh-askpass' from project 'ssh-askpass')
    cd /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0
    builtin-infoPlistUtility /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/ssh-askpass/Info.plist -producttype com.apple.product-type.application -genpkginfo /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/build/Release/ssh-askpass.app/Contents/PkgInfo -expandbuildsettings -platform macosx -additionalcontentfile /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/build/ssh-askpass.build/Release/ssh-askpass.build/assetcatalog_generated_info.plist -additionalcontentfile /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/build/ssh-askpass.build/Release/ssh-askpass.build/Base.lproj/Main-SBPartialInfo.plist -o /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/build/Release/ssh-askpass.app/Contents/Info.plist
error: failed to deserialize Info.plist task context: Deserialization failed: SDK lookup failed for canonical name: macosx13.3 (in target 'ssh-askpass' from project 'ssh-askpass')

LinkStoryboards (in target 'ssh-askpass' from project 'ssh-askpass')
    cd /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0
    /Applications/Xcode_15.0.1.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module ssh_askpass --target-device mac --minimum-deployment-target 13.0 --output-format human-readable-text --link /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/build/Release/ssh-askpass.app/Contents/Resources /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/build/ssh-askpass.build/Release/ssh-askpass.build/Base.lproj/Main.storyboardc


Error: Failed to build ssh-askpass-mac: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: command execution failed
    while executing
"$procedure $targetname"
Error: See /opt/local/var/macports/logs/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port ssh-askpass-mac failed
** BUILD FAILED **


The following build commands failed:
	ProcessInfoPlistFile /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/build/Release/ssh-askpass.app/Contents/Info.plist /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/ssh-askpass/Info.plist (in target 'ssh-askpass' from project 'ssh-askpass')
(1 failure)
Command failed: cd "/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0" && /usr/bin/xcodebuild  -alltargets -configuration Deployment build INSTALL_PATH=/Applications/MacPorts  OBJROOT="/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/build/" SYMROOT="/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_aqua_ssh-askpass-mac/ssh-askpass-mac/work/v3.0/build/" MACOSX_DEPLOYMENT_TARGET=13.0 ARCHS=x86_64 SDKROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++" 
Exit code: 65

Historical BuildBot records show that v1.2 was already failing on macOS 13 for Intel but not ARM and not other recent macOS versions. Presumably, this is the same error that's preventing the build of v3.0 on macOS 13 by GitHub Actions and preventing the build of graphviz-gui on macOS 13.

Change History (0)

Note: See TracTickets for help on using tickets.