#65309 closed defect (worksforme)

cctools @949.0.1_2 +llvm10 does not compile

Reported by: massonseb Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: cctools

Description

I cannot compile cctools @949.0.1_2.
I keep having an error related to the variant +llvm37 even if I try to remove it:

$ sudo port -f uninstall cctools
$ sudo port clean cctools
--->  Cleaning cctools
$ sudo port install cctools +llvm10
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Error: Requested variants "+llvm37" do not match those the build was started with: "+llvm10".
Error: Please use the same variants again, or run 'port clean cctools' first to remove the existing partially completed build.
Error: Problem while installing cctools
Error: Unable to execute port: upgrade clang-14 failed
$ sudo port -f uninstall cctools
$ sudo port install cctools +llvm10 -llvm37
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Error: Requested variants "+llvm37" do not match those the build was started with: "+llvm10".
Error: Please use the same variants again, or run 'port clean cctools' first to remove the existing partially completed build.
Error: Problem while installing cctools
Error: Unable to execute port: upgrade clang-14 failed

In addition, I do not understand the error message related to clang-14. It is properly installed with the latest release.

$ port installed clang-14
The following ports are currently installed:
  clang-14 @14.0.4_0+analyzer+libstdcxx (active)
$ port outdated clang-14
No installed ports are outdated.

Change History (3)

comment:1 Changed 23 months ago by jmroot (Joshua Root)

Cc: jeremyhu added

You'll need to provide some information about your system: OS version, CPU architecture, Xcode version, Command Line Tools version.

The "All compilers are either blacklisted or unavailable" message indicates that something is missing. What variants is cctools offering and defaulting to? (port variants cctools)

comment:2 Changed 23 months ago by massonseb

I had a problem with xcode. I reinstalled it and it worked perfectly!

You can close the ticket.

comment:3 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.