Opened 4 years ago

Closed 4 years ago

#62334 closed defect (fixed)

sfml @2.5.1 fails to configure on Apple Silicon

Reported by: programmingkidx Owned by: rkitover (Rafael Kitover)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: arm64 Cc: programmingkidx
Port: sfml

Description

SFML 2.5.1 does not build on Mac OS 11.1. This is what I saw:

:info:configure Exit code: 1
:error:configure Failed to configure sfml: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"

Attachments (1)

main.log (69.2 KB) - added by programmingkidx 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by programmingkidx

Attachment: main.log added

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

Keywords: arm64 added; SFML removed
Owner: set to rkitover
Port: sfml added; SFML removed
Status: newassigned
Summary: SFML 2.5.1 fails to build on Mac OS 11.1 - command execution failedsfml @2.5.1 fails to configure on Apple Silicon

It actually builds fine on Big Sur x86_64. The error here is:

:info:configure CMake Error at CMakeLists.txt:257 (message):
:info:configure   Only 64-bit architecture is supported

comment:2 Changed 4 years ago by rkitover (Rafael Kitover)

comment:3 Changed 4 years ago by rkitover (Rafael Kitover)

Resolution: fixed
Status: assignedclosed

In 4df1fc235a708ff28200ffc0a39120974ed4b6e1/macports-ports (master):

SFML: Support Apple Silicon.

Add a patch to remove the check for x86_64 architecture in
CMakeLists.txt allowing the package to build for arm64.

Closes: #62334

Signed-off-by: Rafael Kitover <rkitover@…>

Note: See TracTickets for help on using tickets.