[MacPorts] #59837: port incorrectly thinks Xcode command line tools are not installed (was: Error building some port with inconsistent message)

MacPorts noreply at macports.org
Thu Dec 12 16:06:35 UTC 2019


#59837: port incorrectly thinks Xcode command line tools are not installed
------------------------+--------------------
  Reporter:  manulcaux  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------
Changes (by mf2k):

 * keywords:  build fail =>
 * component:  ports => base
 * port:  some =>


Old description:

> When trying to upgrade my ports, some of them fail with the following
> message :
>
> Warning: The macOS 10.14 SDK does not appear to be installed. Ports may
> not build correctly.
> Warning: You can install it as part of the Xcode Command Line Tools
> package by running `xcode-select --install'.
>
> For example, ds9 won't build :
>
> Error: Failed to build ds9: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ds9/ds9/main.log
> for details.
>
> If I try to install the Xcode-tools, they are installed :
>
> [Emmanuels:/Applications/cassis5.1last] caux% xcode-select --install
> xcode-select: error: command line tools are already installed, use
> "Software Update" to install updates
> [Emmanuels:/Applications/cassis5.1last] caux%
>
> How should I proceed ?
>
> I am running MacOs 10.14.6 and Xcode 11.3

New description:

 When trying to upgrade my ports, some of them fail with the following
 message :
 {{{
 Warning: The macOS 10.14 SDK does not appear to be installed. Ports may
 not build correctly.
 Warning: You can install it as part of the Xcode Command Line Tools
 package by running `xcode-select --install'.
 }}}
 For example, ds9 won't build :
 {{{
 Error: Failed to build ds9: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ds9/ds9/main.log
 for details.
 }}}
 If I try to install the Xcode-tools, they are installed :
 {{{
 [Emmanuels:/Applications/cassis5.1last] caux% xcode-select --install
 xcode-select: error: command line tools are already installed, use
 "Software Update" to install updates
 [Emmanuels:/Applications/cassis5.1last] caux%
 }}}
 How should I proceed ?

 I am running MacOs 10.14.6 and Xcode 11.3

--

-- 
Ticket URL: <https://trac.macports.org/ticket/59837#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list