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

MacPorts noreply at macports.org
Wed Sep 25 14:38:59 UTC 2024


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

Comment (by ShadSterling):

 1100 ports in the migrate snapshot

 38 ports failing before #70886 (gss) was fixed

 17 could be installed individually (after #70886 was fixed)

 14 could be installed with the same variants

 9 installed with the same variants do not appear in `port rdependents gss`

 8 installed with the same variants do not appear in `port rdependents gss`
 and were Skipped because its dependency gss failed

 aria2, gnuplot, graphviz-gui, gstreamer1-gst-plugins-base, mercurial, py-
 jupyter_console, ruby33, youtube-dl


 `port rdependents gss`:
 {{{
 The following ports are dependent on gss:
   libgsasl
     curl
       cargo
       cmake
       freeciv
       git
       jp2a
       libgit2
         rust
       lnav
       mupdf
       tesseract
       wxWidgets-3.2
 }}}

 Excerpts from the output of the last run of `port -v -d restore --last`
 (before #70886 was fixed):
 {{{
     Migration finished with errors.
     The following ports could not be restored:
 }}}
 {{{
      - aria2
        Skipped because its dependency gss failed
 }}}
 {{{
      - gnuplot
        Skipped because its dependency gss failed
      - graphviz-gui
        Skipped because its dependency gss failed
      - gstreamer1-gst-plugins-base
        Skipped because its dependency gss failed
 }}}
 {{{
      - mercurial
        Skipped because its dependency gss failed
 }}}
 {{{
      - ruby33
        Skipped because its dependency gss failed
 }}}
 {{{
     The following ports could not be fully restored:
 }}}
 {{{
      - py-jupyter_console
        Skipped because its dependency gss failed
        state changed from 'installed' to 'inactive'
 }}}
 {{{
      - youtube-dl
        Skipped because its dependency gss failed
        state changed from 'installed' to 'inactive'
 }}}

 Excerpts from the output of `port snapshot --all --diff 1` after
 individually reinstalling with the same variants (after #70886 was fixed):
 {{{
 The following ports are in the snapshot and installed, but with changes:
 }}}
 {{{
  - aria2
    requested variants changed from '+cares+sqlite3-docs-gnutls-openssl-
 universal' to '+cares+sqlite3-docs-universal'
 }}}
 {{{
  - gstreamer1-gst-plugins-base
    requested variants changed from '+ogg-universal-x11' to
 '-universal-x11'
 }}}
 gnuplot, graphviz-gui, mercurial, py-jupyter_console, ruby33, and youtube-
 dl were not included in this diff, despite being included in earlier diffs
 and the restore.

 I'm not going to re-break my system before I even get it back to normal to
 try to reproduce this

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


More information about the macports-tickets mailing list