php72 and earlier fail to compile with Xcode 12
After upgrading to macOS 11 (x64 MacBook) and following the steps in the migration guide, I got errors regarding php70 and php72. php74 works well.
However, some people have to install older versions, even if they are already EOL. Could you please repair those ports?
sudo port install php70
---> Computing dependencies for php70
---> Fetching archive for php70
---> Attempting to fetch php70-7.0.33_3+libedit.darwin_20.x86_64.tbz2 from https://packages.macports.org/php70
---> Attempting to fetch php70-7.0.33_3+libedit.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/php70
---> Attempting to fetch php70-7.0.33_3+libedit.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/php70
---> Fetching distfiles for php70
Error: php70 @7.0.33 cannot currently be compiled with Xcode 12 or later
Error: Failed to fetch php70: incompatible Xcode version
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php70/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port php70 failed
Change History (4)
Owner: |
set to ryandesign
|
Status: |
new →
assigned
|
Port: |
php70,php72 →
php70 php72
|
Keywords: |
bigsur catalina added
|
Port: |
php added; php70 php72 removed
|
Resolution: |
→ duplicate
|
Status: |
assigned →
closed
|
Summary: |
PHP 7.0 and PHP 7.2 fail compiling on macOS 11.1 "Big Sur" →
php72 and earlier fail to compile with Xcode 12
|
Indeed that is why I keep earlier versions of php available in MacPorts. Unfortunately, php 7.2 and earlier as shipped by php's developers are incompatible with Xcode 12 and later. php 7.3.24 and later and 7.4.12 and later are compatible. I would like to backport the fixes to php 7.2 and earlier but have not done so yet. Duplicate of #60988.