[MacPorts] #64578: gdu conflicts with coreutils

MacPorts noreply at macports.org
Mon Jan 31 14:39:50 UTC 2022


#64578: gdu conflicts with coreutils
------------------------+---------------------------
 Reporter:  neverpanic  |      Owner:  herbygillot
     Type:  defect      |     Status:  assigned
 Priority:  Low         |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  coreutils gdu
------------------------+---------------------------
 {{{
 $ sudo port activate gdu
 --->  Activating gdu @5.13.0_0
 Error: Failed to activate gdu: Image error: /opt/local/bin/gdu is being
 used by the active coreutils port.  Please deactivate this port first, or
 use 'port -f activate gdu' to force the activation.
     while executing
 "throw registry::image-error $msg"
     ("foreach" body line 47)
     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..."
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_gdu-5.13.0_0_dc05bfe7584af9d0740eb577b7b5bbd62737dab1be80a65be65278b61a57da21-8754/gdu/main.log
 for details.
 Warning: Failed to execute portfile from registry for gdu @5.13.0_0
 }}}

 corutils installs its tools with a 'g' prefix (for GNU), and the gdu port
 attempts to install the same binary.
 I'd like to have both installed. Can we find a way to make this happen?

 If not, gdu and coreutils should at least use the `conflicts` keyword.

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


More information about the macports-tickets mailing list