[MacPorts] #63286: developer_cmds @63 conflicts with pywhat @3.2.0

MacPorts noreply at macports.org
Fri Jul 23 20:51:19 UTC 2021


#63286: developer_cmds @63 conflicts with pywhat @3.2.0
-------------------------+-----------------------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.1
 Keywords:               |       Port:  developer_cmds pywhat
-------------------------+-----------------------------------
 They both try to install an executable named `what`:
 {{{
 x ./opt/local/bin/what
 x ./opt/local/bin/asa
 x ./opt/local/bin/unifdefall
 x ./opt/local/bin/lorder
 Error: Failed to activate developer_cmds: Image error: /opt/local/bin/what
 is being used by the active pywhat port.  Please deactivate this port
 first, or use 'port -f activate developer_cmds' to force the activation.
 DEBUG: Error code: registry::image-error
 DEBUG: Backtrace: Image error: /opt/local/bin/what is being used by the
 active pywhat port.  Please deactivate this port first, or use 'port -f
 activate developer_cmds' 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 "portimage::activate" line 63)
     invoked from within
 "registry_activate $subport $_inregistry_version $_inregistry_revision
 $_inregistry_variants $optionlist"
     (procedure "portactivate::activate_main" line 20)
     invoked from within
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_developer_cmds/developer_cmds/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port developer_cmds failed
 }}}
 This conflict should either be marked, or fixed (for example, by renaming
 `pywhat`'s executable from `what` to `pywhat`)

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


More information about the macports-tickets mailing list