Opened 5 years ago
Closed 5 years ago
#59348 closed defect (duplicate)
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
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.
Attachments (1)
Change History (6)
Changed 5 years ago by bnilsson11
Attachment: | qt5-qtcreator_main.log added |
---|
comment:1 Changed 5 years ago by kencu (Ken)
Cc: | MarcusCalhoun-Lopez added; {{{port info --maintainers qt5-qtcreator}}} removed |
---|---|
Summary: | qt5-qtcreator will not build → 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 |
comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | MarcusCalhoun-Lopez removed |
---|---|
Description: | modified (diff) |
Owner: | set to MarcusCalhoun-Lopez |
Status: | new → assigned |
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.
comment:3 Changed 5 years ago by bnilsson11
Sorry, but I would need EXACT instructions on how to do that.
comment:4 Changed 5 years ago by bnilsson11
After some effort, I found the location of the Portfile. After some effort, I tested putting "use_xcode yes" somewhere (pure guess) in the Portfile. After this, it worked.
Thanks.
comment:5 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Duplicate of #59280.
main.log