[MacPorts] #61435: CLT 12.2 RC on macOS 11.0.1 RC (20B28): unable to build packages

MacPorts noreply at macports.org
Thu Nov 12 03:41:35 UTC 2020


#61435: CLT 12.2 RC on macOS 11.0.1 RC (20B28): unable to build packages
---------------------+--------------------
 Reporter:  nicst35  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  base     |    Version:  2.6.99
 Keywords:           |       Port:
---------------------+--------------------
 After performing a clean install of 11.0.1 RC Beta (20B28), Command Line
 Tools 12.2 RC and building MacPorts from master branch, the resulting
 build is unable to build packages with the following message:

 `Error: Port [...] requires a full Xcode installation, which was not found
 on your system.`

 == Steps to reproduce
 1. Install Command Line Tools for Xcode 12.2 RC on a fresh OS
 installation.
 2. Clone macports-base master branch, then build and install on the
 default location and sync the ports tree.
 3. Try building a port not requiring Xcode (bash used in the example
 below)

 == Expected result
 With packages not requiring a full Xcode installation, the system should
 download the source package and build a running package.

 == Actual result
 `port` fails to build any package until Xcode is installed.

 == Debug output
 {{{
 $ sudo port -d build bash
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/shells/bash
 DEBUG: OS darwin/20.1.0 (macOS 11.0) arch i386
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
 DEBUG: Finished running callback
 portconfigure::add_automatic_compiler_dependencies
 DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
 DEBUG: Finished running callback
 portbuild::add_automatic_buildsystem_dependencies
 DEBUG: Running callback portstartupitem::add_notes
 DEBUG: Finished running callback portstartupitem::add_notes
 DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
 DEBUG: Starting logging for bash
 DEBUG: macOS 11.0 (darwin/20.1.0) arch i386
 DEBUG: MacPorts 2.6.99
 DEBUG: Xcode none
 DEBUG: SDK 11.0
 DEBUG: MACOSX_DEPLOYMENT_TARGET: 11.0
 Error: Port bash requires a full Xcode installation, which was not found
 on your system.
 Error: You can install Xcode from the Mac App Store or
 https://developer.apple.com/xcode/
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port bash failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61435>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list