Opened 4 years ago

Closed 4 years ago

#62170 closed defect (fixed)

rtags @2.38_2 conflicts with rc @1.7.4_2

Reported by: cooljeanius (Eric Gallager) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: rtags, rc

Description

Both attempt to install a binary named "rc":

--->  Activating rtags @2.38_2+debug
DEBUG: Using bsdtar with HFS+ compression (if valid)
DEBUG: Using /opt/local/bin/lbzip2
DEBUG: system: /opt/local/bin/lbzip2 -d -c /opt/local/var/macports/software/rtags/rtags-2.38_2+debug.darwin_19.x86_64.tbz2 | ( bsdtar -xvp --hfsCompression -f - )
x ./
x ./+STATE
x ./+PORTFILE
x ./+CONTENTS
x ./+DESC
x ./Library/
x ./+COMMENT
x ./opt/
x ./opt/local/
x ./opt/local/bin/
x ./opt/local/etc/
x ./opt/local/share/
x ./opt/local/share/man/
x ./opt/local/share/emacs/
x ./opt/local/share/bash-completion/
x ./opt/local/share/bash-completion/completions/
x ./opt/local/share/bash-completion/completions/rtags
x ./opt/local/share/bash-completion/completions/rdm
x ./opt/local/share/bash-completion/completions/rc
x ./opt/local/share/emacs/site-lisp/
x ./opt/local/share/emacs/site-lisp/rtags/
x ./opt/local/share/emacs/site-lisp/rtags/helm-rtags.el
x ./opt/local/share/emacs/site-lisp/rtags/ac-rtags.elc
x ./opt/local/share/emacs/site-lisp/rtags/ivy-rtags.el
x ./opt/local/share/emacs/site-lisp/rtags/rtags.el
x ./opt/local/share/emacs/site-lisp/rtags/ac-rtags.el
x ./opt/local/share/emacs/site-lisp/rtags/rtags-xref.el
x ./opt/local/share/emacs/site-lisp/rtags/helm-rtags.elc
x ./opt/local/share/emacs/site-lisp/rtags/company-rtags.el
x ./opt/local/share/emacs/site-lisp/rtags/company-rtags.elc
x ./opt/local/share/emacs/site-lisp/rtags/rtags-xref.elc
x ./opt/local/share/emacs/site-lisp/rtags/ivy-rtags.elc
x ./opt/local/share/emacs/site-lisp/rtags/flycheck-rtags.elc
x ./opt/local/share/emacs/site-lisp/rtags/flycheck-rtags.el
x ./opt/local/share/emacs/site-lisp/rtags/rtags.elc
x ./opt/local/share/man/man7/
x ./opt/local/share/man/man7/rdm.7.gz
x ./opt/local/share/man/man7/rc.7.gz
x ./opt/local/etc/LaunchAgents/
x ./opt/local/etc/LaunchAgents/org.macports.rtags.rdm/
x ./opt/local/etc/LaunchAgents/org.macports.rtags.rdm/org.macports.rtags.rdm.plist
x ./opt/local/bin/gcc-rtags-wrapper.sh
x ./opt/local/bin/rdm
x ./opt/local/bin/rc
x ./opt/local/bin/rp
x ./Library/LaunchAgents/
x ./Library/LaunchAgents/org.macports.rtags.rdm.plist
Error: Failed to activate rtags: Image error: /opt/local/bin/rc is being used by the active rc port.  Please deactivate this port first, or use 'port -f activate rtags' to force the activation.
DEBUG: Error code: registry::image-error
DEBUG: Backtrace: Image error: /opt/local/bin/rc is being used by the active rc port.  Please deactivate this port first, or use 'port -f activate rtags' 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 61)
    invoked from within
"registry_activate $subport $version $revision $portvariants $optionlist"
    (procedure "portactivate::activate_main" line 15)
    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_rtags/rtags/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port rtags failed

This conflict should be marked.

Change History (1)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 44eee02398dfed6552fdc7625922ef95ddb55f4d/macports-ports (master):

rc, rtags: Indicate conflict

Closes: #62170

Note: See TracTickets for help on using tickets.