[MacPorts] #63167: gh @1.12.1 conflicts with fish @3.3.0

MacPorts noreply at macports.org
Sat Jul 3 10:21:10 UTC 2021


#63167: gh @1.12.1 conflicts with fish @3.3.0
-------------------------+---------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.1
 Keywords:               |       Port:  gh fish
-------------------------+---------------------
 The gh port tries to install a fish completions file already provided by
 fish itself:
 {{{
 x ./opt/local/bin/gh
 DEBUG: Image error: /opt/local/share/fish/completions/gh.fish is being
 used by the active fish port.  Please deactivate this port first, or use
 'port -f activate gh' to force the activation.
     invoked from within
 "throw registry::image-error "Image error: $file is being used by the
 active [$owner name] port.  Please deactivate this port first, or use
 'port -f ac..."
     ("foreach" body line 45)
     invoked from within
 "foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to install links, we test if we can lst..."
     invoked from within
 "registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to instal..."
     invoked from within
 "try {
         registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be ..."
     (procedure "_activate_contents" line 21)
     invoked from within
 "_activate_contents $requested $rename_list"
     (procedure "activate" line 63)
     invoked from within
 "activate $name "" "" 0 $optionslist"
     (procedure "portimage::activate_composite" line 3)
     invoked from within
 "portimage::activate_composite $portname $composite_version [array get
 options]"
 Error: port activate failed: Image error:
 /opt/local/share/fish/completions/gh.fish is being used by the active fish
 port.  Please deactivate this port first, or use 'port -f activate gh' to
 force the activation.
 }}}
 This conflict should either be marked, or fixed.

-- 
Ticket URL: <https://trac.macports.org/ticket/63167>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list