Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61900 closed defect (duplicate)

Unable to build php72 on Mac OS Big Sur

Reported by: ndebarnot (Nero) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: php

Description

Hello,

It is not possible to build php72 on Big Sur with Xcode 12.3 and Command Line Tools for Xcode 12.3 installed.

Macports has been reinstalled as required by the OS migration upgrade.

% sudo port install php72 +apache2 +mysql57 +pear
--->  Computing dependencies for php72
--->  Fetching archive for php72
--->  Attempting to fetch php72-7.2.34_2+libedit.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/php72
--->  Attempting to fetch php72-7.2.34_2+libedit.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/php72
--->  Attempting to fetch php72-7.2.34_2+libedit.darwin_20.x86_64.tbz2 from https://packages.macports.org/php72
--->  Fetching distfiles for php72
Error: php72 @7.2.34 cannot currently be compiled with Xcode 12 or later
Error: Failed to fetch php72: incompatible Xcode version
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php72/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port php72 failed

Change History (5)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

In the future, please add the port maintainer(s) to Cc (port info --maintainers php72), if any.

comment:2 Changed 4 years ago by mf2k (Frank Schima)

Keywords: php removed
Owner: set to ryandesign
Port: php added; php72 removed
Status: newassigned

comment:3 in reply to:  1 Changed 4 years ago by ndebarnot (Nero)

Replying to mf2k:

In the future, please add the port maintainer(s) to Cc (port info --maintainers php72), if any.

Didn't know that. Sorry. Will do next time.

Cheers.

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

Resolution: duplicate
Status: assignedclosed

Duplicate of #60988.

% sudo port install php72 +apache2 +mysql57 +pear

Note that php72 does not have variants called apache2, mysql57, or pear. You can see what variants it does have by running port variants php72.

comment:5 Changed 4 years ago by ndebarnot (Nero)

Thanks for letting me know about the variants and thanks for the fix!

Note: See TracTickets for help on using tickets.