Opened 5 years ago

Last modified 5 years ago

#59348 closed defect

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 — at Version 2

Reported by: bnilsson11 Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc:
Port: qt5-qtcreator

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (3)

Changed 5 years ago by bnilsson11

Attachment: qt5-qtcreator_main.log added

main.log

comment:1 Changed 5 years ago by kencu (Ken)

Cc: MarcusCalhoun-Lopez added; {{{port info --maintainers qt5-qtcreator}}} removed
Summary: qt5-qtcreator will not buildqt5-qtcreator will not build: xcode-select: error: tool 'actool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

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

Cc: MarcusCalhoun-Lopez removed
Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Status: newassigned

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.

Note: See TracTickets for help on using tickets.