[MacPorts] #70886: `port migrate` gets dependencies wrong

MacPorts noreply at macports.org
Tue Sep 24 13:19:28 UTC 2024


#70886: `port migrate` gets dependencies wrong
---------------------------+---------------------
  Reporter:  ShadSterling  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.1
Resolution:                |   Keywords:  sequoia
      Port:                |
---------------------------+---------------------

Comment (by ShadSterling):

 Possibly; I tried to restore again with the fix to gss, and now it's
 failing to computer the dependency order at all.

 Output of `port selfupdate; port -v -d restore --last` ends with
 {{{
 DEBUG: Dependency calculation for port mpv
 DEBUG: Opening port in directory:
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/multimedia/mpv
 DEBUG: OS darwin/24.0.0 (macOS 15.0) arch i386
 DEBUG: Sourcing PortGroup github 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
 DEBUG: Re-registering default for configure.cmd
 DEBUG: Re-registering default for configure.pre_args
 DEBUG: Re-registering default for build.dir
 DEBUG: Re-registering default for build.cmd
 DEBUG: Re-registering default for build.target
 DEBUG: Re-registering default for destroot.cmd
 DEBUG: Re-registering default for destroot.post_args
 DEBUG: Sourcing PortGroup meson 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/meson-1.0.tcl
 DEBUG: Sourcing PortGroup compiler_blacklist_versions 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
 DEBUG: Sourcing PortGroup legacysupport 1.1 from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/legacysupport-1.1.tcl
 DEBUG: Sourcing PortGroup active_variants 1.1 from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/active_variants-1.1.tcl
 DEBUG: Re-registering default for extract.rename
 DEBUG: Re-registering default for livecheck.url
 DEBUG: Re-registering default for livecheck.regex
 DEBUG: Sourcing PortGroup xcodeversion 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
 DEBUG: compiler clang 1600.0.26.3 not blacklisted because it doesn't match
 {clang < 700}
 DEBUG: universal_variant is false, so not adding the default universal
 variant
 DEBUG: Executing variant python312 provides python312
 DEBUG: Executing variant screenshot provides screenshot
 DEBUG: Executing variant network provides network
 Error: mpv: Variant network conflicts with network_ytdlp
 DEBUG: process_cmd failed: can't read "variants": no such variable
     while executing
 "ui_error "Unable to open port '$portname' with variants '$variants':
 $result""
     (procedure "resolve_dependencies" line 96)
     invoked from within
 "resolve_dependencies $snapshot $include_unrequested"
     (procedure "restore_state" line 3)
     invoked from within
 "restore_state $snapshot $include_unrequested"
     (procedure "restore::main" line 66)
     invoked from within
 "restore::main $opts"
     (procedure "macports::restore_main" line 10)
     invoked from within
 "macports::restore_main $opts"
     (procedure "action_restore" line 5)
     invoked from within
 "$action_proc $action $portlist [array get global_options]"
     (procedure "process_cmd" line 126)
     invoked from within
 "process_cmd $remaining_args"
     ("try" body line 3)
 Error: process_cmd failed: can't read "variants": no such variable
 }}}

 How can I get `port snapshot` to show me each port & variants included in
 a snapshot?

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


More information about the macports-tickets mailing list