[MacPorts] #71339: sudo port upgrade outdated fails: Error: Unable to open port: can't read "configure.compiler" ...

MacPorts noreply at macports.org
Mon Nov 18 02:38:34 UTC 2024


#71339: sudo port upgrade outdated fails: Error: Unable to open port: can't read
"configure.compiler" ...
-----------------------+--------------------
  Reporter:  infostud  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.10.4
Resolution:            |   Keywords:
      Port:            |
-----------------------+--------------------

Comment (by infostud):

 {{{
 % sudo port -d upgrade outdated
 Password:
 DEBUG: Copying /Users/geoff/Library/Preferences/com.apple.dt.Xcode.plist
 to /opt/local/var/macports/home/Library/Preferences
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: expat 2.6.4_0 exists in the ports tree
 DEBUG: expat 2.6.3_0  is the latest installed
 DEBUG: expat 2.6.3_0  is active
 DEBUG: Merging existing requested variants '' into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Opening port in directory:
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/expat
 DEBUG: OS darwin/24.1.0 (macOS 15.1) arch arm
 DEBUG: Sourcing PortGroup muniversal 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: muniversal: adding universal variant
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
 DEBUG: could not read
 "/Library/Apple/System/Library/Receipts/com.apple.pkg.CLTools_Executables.plist":
 no such file or directory
     while executing
 "file mtime [dict get $cache clt checkfile]"
     (procedure "set_xcodecltversion" line 18)
     invoked from within
 "set_xcodecltversion xcodeinfo_cache"
     (procedure "macports::setxcodeinfo" line 27)
     invoked from within
 "macports::setxcodeinfo xcodeversion {} read"
     (read trace on "xcodeversion")
     invoked from within
 "set $name"
     (procedure "macports::getoption" line 3)
     invoked from within
 "getoption xcodeversion"
     (procedure "trace_xcodeversion" line 4)
     invoked from within
 "trace_xcodeversion xcodeversion {} read"
     (read trace on "xcodeversion")
     invoked from within
 "if {$xcodeversion in {none {}}} {
             set available_apple_compilers
 [portconfigure::get_apple_compilers_os_version]
         } else {
          ..."
     (procedure "portconfigure::get_compiler_fallback" line 11)
     invoked from within
 "portconfigure::get_compiler_fallback"
     invoked from within
 "subst {[portconfigure::get_compiler_fallback]}"
     ("uplevel" body line 1)
     invoked from within
 "uplevel #0 [list subst [dict get $option_defaults $optionName]]"
     (procedure "default_check" line 6)
     invoked from within
 "default_check compiler.fallback {} read"
     (read trace on "compiler.fallback")
     invoked from within
 "set search_list ${compiler.fallback}"
     (procedure "portconfigure::configure_get_default_compiler" line 13)
     invoked from within
 "portconfigure::configure_get_default_compiler"
     invoked from within
 "subst {[portconfigure::configure_get_default_compiler]}"
     ("uplevel" body line 1)
     invoked from within
 "uplevel #0 [list subst [dict get $option_defaults $optionName]]"
     (procedure "default_check" line 6)
     invoked from within
 "default_check configure.compiler {} read"
     (read trace on "configure.compiler")
     invoked from within
 "compiler_is_port ${configure.compiler}"
     (procedure "portconfigure::add_automatic_compiler_dependencies" line
 8)
     invoked from within
 "${callback}"
     (procedure "port::run_callbacks" line 5)
     invoked from within
 "port::run_callbacks"
     invoked from within
 "$workername eval [list port::run_callbacks]"
     (procedure "mportopen" line 67)
     invoked from within
 "mportopen $porturl $interp_options $variations"
 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71339#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list