Opened 2 hours ago

Last modified 67 minutes ago

#71339 new defect

sudo port upgrade outdated fails: Error: Unable to open port: can't read "configure.compiler" ...

Reported by: infostud (Geoff Fellows) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: Cc:
Port:

Description

~ % uname -a 
Darwin *** 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:06:23 PDT 2024; root:xnu-11215.41.3~3/RELEASE_ARM64_T8132 arm64
~ % sudo xcode-select -p      
/Applications/Xcode.app/Contents/Developer
~ % sudo xcode-select --install
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates
~ % sudo port selfupdate
--->  Checking for newer releases of MacPorts
MacPorts base version 2.10.4 installed,
MacPorts base version 2.10.4 available.
--->  MacPorts base is already the latest version
--->  Updating the ports tree

The ports tree has been updated.

4 ports are outdated. Run 'port outdated' for details.
To upgrade your installed ports, you should run
  port upgrade outdated
~ % sudo port upgrade outdated                                            
Error: Unable to open port: can't read "configure.compiler": can't read "compiler.fallback": can't read "xcodeversion": can't read "xcodeversion": could not read "/Library/Apple/System/Library/Receipts/com.apple.pkg.CLTools_Executables.plist": no such file or directory

Change History (2)

comment:1 Changed 69 minutes ago by jmroot (Joshua Root)

The error message could be better, but looks like ProblemHotlist#reinstall-clt ?

comment:2 Changed 67 minutes ago by jmroot (Joshua Root)

Also could you please provide debug output (-d option) which includes a backtrace showing exactly where the error is being thrown?

Note: See TracTickets for help on using tickets.