Opened 3 years ago

Closed 3 years ago

#62888 closed defect (duplicate)

php56 @5.6.40 cannot currently be compiled with Xcode 12 or later

Reported by: mivancic (Mario Ivancic) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: php52 php53 php54 php55 php56

Description

unable to compile php5.6 on Big Sur

Error: php56 @5.6.40 cannot currently be compiled with Xcode 12 or later
Error: Failed to fetch php56: incompatible Xcode version
Error: Processing of port php56 failed

As far as I can see the problem is that port php56 requires older version( < 12 )of xcode. I have tried with 11.7 but that version cannot be used on Big sur. This is the error when I try to install phph56:

Error: The installed version of Xcode (11.7) is too old to use on the 
installed OS version. Version 12.2 or later is recommended on macOS 11.3.

main.log

version:1
:debug:sysinfo macOS 11.3 (darwin/20.4.0) arch i386
:debug:sysinfo MacPorts 2.6.4
:debug:sysinfo Xcode 12.5
:debug:sysinfo SDK 11.3
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.3

Change History (2)

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

Owner: set to ryandesign
Port: php52 php53 php54 php55 php56 added
Status: newaccepted

Correct. I have not yet backported the fixes to php5.x that would allow them to be compiled with Xcode 12 or later. Either use Xcode 11 or earlier (using macOS Catalina or earlier) or use php70 or later. Duplicate of #60988.

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

Resolution: duplicate
Status: acceptedclosed
Note: See TracTickets for help on using tickets.