Opened 2 years ago

Closed 2 years ago

#65690 closed defect (fixed)

HermesApp 1.3.1_0 won't build on M1 Mac due to Sparkle.framework and Growl.framework not having arm64 architecture

Reported by: wdormann Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: arm64 Cc:
Port: HermesApp

Description

When attempting to build HermesApp on an M1 mac, it fails. Presumably due to Sparkle.framework and Growl.framework not being updated to support arm64.

--->  Fetching archive for HermesApp
--->  Attempting to fetch HermesApp-1.3.1_0.darwin_21.arm64.tbz2 from https://packages.macports.org/HermesApp
--->  Attempting to fetch HermesApp-1.3.1_0.darwin_21.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/HermesApp
--->  Attempting to fetch HermesApp-1.3.1_0.darwin_21.arm64.tbz2 from https://mse.uk.packages.macports.org/HermesApp
--->  Fetching distfiles for HermesApp
--->  Attempting to fetch Hermes-1.3.1.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/HermesApp
--->  Verifying checksums for HermesApp
--->  Extracting HermesApp
--->  Applying patches to HermesApp
--->  Configuring HermesApp
--->  Building HermesApp
Error: Failed to build HermesApp: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_HermesApp/HermesApp/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port HermesApp failed

...

:info:build Build description path: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_HermesApp/HermesApp/work/Hermes-1.3.1/build/XCBuildData/60d3eb2b6738900d1f5cc7f7d41d9c98-desc.xcbuild
:info:build note: Build preparation complete
:info:build warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_HermesApp/HermesApp/work/HermesApp-Hermes-2d96f97/Hermes.xcodeproj: error: The linked and embedded framework 'Growl.framework' is missing one or more architectures required by this target: arm64. (in target 'Hermes' from project 'Hermes')
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_HermesApp/HermesApp/work/HermesApp-Hermes-2d96f97/Hermes.xcodeproj: error: The linked and embedded framework 'Sparkle.framework' is missing one or more architectures required by this target: arm64. (in target 'Hermes' from project 'Hermes')
:info:build ** BUILD FAILED **

Change History (3)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Keywords: arm64 added
Owner: set to ryandesign
Port: HermesApp added
Status: newassigned

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Status: assignedaccepted

I reported it to the developers of HermesApp here: https://github.com/HermesApp/Hermes/issues/372

However, HermesApp is not currently being developed so I don't expect a solution from them.

Instead, we can mark the port as not supporting arm64. Then on Apple Silicon systems MacPorts will install the port for x86_64.

comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In d6752d1fa9070ace5536cc7f1ad61cf580c3d8e1/macports-ports (master):

HermesApp: Supports x86_64 only

Closes: #65690

Note: See TracTickets for help on using tickets.