Opened 14 years ago

Closed 6 years ago

#26834 closed defect (fixed)

xemacs and ctags conflict

Reported by: ilevy@… Owned by: dstrubbe (David Strubbe)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: haspatch Cc: petrrr, vallon (Justin)
Port: xemacs ctags

Description (last modified by jmroot (Joshua Root))

Hi all,

newbie to macports / mac. I'm trying to install xemacs and macvim (overkill, I know, since I should just choose one). Anyway, if I have one activated and try to install/activate the other, I get:

--->  Activating xemacs @21.4.22_2
Error: Target org.macports.activate returned: Image error: /opt/local/bin/ctags is being used by the active ctags port.  Please deactivate this port first, or use 'port -f activate xemacs' to force the activation.
Log for xemacs is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_xemacs_21.4.22_2/main.log
Warning: Failed to execute portfile from registry for xemacs @21.4.22_2
--->  Activating xemacs
Error: port activate failed: Image error: /opt/local/bin/ctags is being used by the active ctags port.  Please deactivate this port first, or use 'port -f activate xemacs' to force the activation.

The log file doesn't have any more information. I did have a weird python install, if that makes a difference. I installed python2.7 from their website as a normal installer, and it put it's own path in my .profile. So python actually linked to 2.7 instead of what macports thought.

But besides that everything is fairly standard.

Attachments (4)

installed.2.txt (3.3 KB) - added by ilevy@… 14 years ago.
installed.txt (3.3 KB) - added by ilevy@… 14 years ago.
installed.3.txt (3.3 KB) - added by ilevy@… 14 years ago.
xemacs.portfile.patch (449 bytes) - added by vallon (Justin) 10 years ago.
Patch to not install ctags & man1/ctags.1

Download all attachments as: .zip

Change History (15)

Changed 14 years ago by ilevy@…

Attachment: installed.txt added

Changed 14 years ago by ilevy@…

Attachment: installed.3.txt added

comment:1 Changed 14 years ago by ilevy@…

all three files the same, accidental duplicates..

comment:2 Changed 14 years ago by ilevy@…

sorry for omitting: Hardware is MacBook 4.1 (intel core 2 duo) / snow leopard

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…
Port: xemacs ctags added; MacVim removed
Summary: xemacs and macvim ctags conflictxemacs and ctags conflict

Please remember to preview and use WikiFormatting, and to cc the maintainer.

comment:4 Changed 13 years ago by deric@…

FreeBSD and others I know solves this by installing Exuberant Ctags as exctags

comment:5 Changed 10 years ago by petrrr

Hi, any chance that this ticket gets addressed? The conflict is still present.

comment:6 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

Changed 10 years ago by vallon (Justin)

Attachment: xemacs.portfile.patch added

Patch to not install ctags & man1/ctags.1

comment:7 Changed 10 years ago by vallon (Justin)

Port:emacs does not install ctags. Attached a patch for xemacs/Portfile that will remove ctags and man1/ctags.1 from destroot.

Alternative approaches: add a no_ctags variant; or, rename it to ctags.${tag} (ctags.xemacs)

comment:8 Changed 10 years ago by vallon (Justin)

Cc: JustinVallon@… added

Cc Me!

comment:9 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from mww@… to dstrubbe
Status: newassigned

comment:10 Changed 8 years ago by mf2k (Frank Schima)

Keywords: haspatch added

comment:11 Changed 8 years ago by dstrubbe (David Strubbe)

As far as I know, this problem was fixed years ago. I was not aware of the existence of this ticket. If anyone thinks it is a problem, please provide updated evidence that something is going wrong.

comment:12 Changed 6 years ago by dstrubbe (David Strubbe)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.