[MacPorts] #59348: qt5-qtcreator will not build: xcode-select: error: tool 'actool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
MacPorts
noreply at macports.org
Wed Oct 16 20:09:20 UTC 2019
#59348: qt5-qtcreator will not build: xcode-select: error: tool 'actool' requires
Xcode, but active developer directory '/Library/Developer/CommandLineTools'
is a command line tools instance
----------------------------+---------------------------------
Reporter: bnilsson11 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.1
Resolution: | Keywords:
Port: qt5-qtcreator |
----------------------------+---------------------------------
Changes (by ryandesign):
* status: new => assigned
* cc: MarcusCalhoun-Lopez (removed)
* owner: (none) => MarcusCalhoun-Lopez
Old description:
> It seems the port overrides Xcode-select path.
> sudo xcode-select -p
> /Applications/Xcode.app/Contents/Developer
>
> In the log file, there is an error:
> :info:build xcode-select: error: tool 'actool' requires Xcode, but active
> developer directory '/Library/Developer/CommandLineTools' is a command
> line tools instance
>
> or I misinterpret this error message.
New description:
It seems the port overrides Xcode-select path.
{{{
sudo xcode-select -p
/Applications/Xcode.app/Contents/Developer
}}}
In the log file, there is an error:
{{{
:info:build xcode-select: error: tool 'actool' requires Xcode, but active
developer directory '/Library/Developer/CommandLineTools' is a command
line tools instance
}}}
or I misinterpret this error message.
--
Comment:
New in MacPorts 2.6.0 is that we use the command line tools developer
directory, unless the port says it requires Xcode. Marcus has already
suggested that he is testing adding `use_xcode yes` to the qt5 Portfile to
fix similar problems reported with its subports. So try doing that to the
qt5-qtcreator Portfile and let us know if it works.
--
Ticket URL: <https://trac.macports.org/ticket/59348#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list