Bug 961709 - cscope doesn't include xcscope-el for emacs
Summary: cscope doesn't include xcscope-el for emacs
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: cscope
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neil Horman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1412326
TreeView+ depends on / blocked
 
Reported: 2013-05-10 10:52 UTC by javiermon
Modified: 2017-01-11 18:42 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
: 1412326 (view as bug list)
Environment:
Last Closed: 2015-02-18 11:11:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to fix the issue (1.31 KB, patch)
2014-09-30 06:30 UTC, Sergio Durigan Junior
no flags Details | Diff

Description javiermon 2013-05-10 10:52:34 UTC
Description of problem:
cscope should include the .el support file for emacs.

Version-Release number of selected component (if applicable):
yum info cscope
Complementos cargados:langpacks, refresh-packagekit, remove-with-leaves
Paquetes instalados
Nombre        : cscope
Arquitectura        : x86_64
Versión     : 15.8
Lanzamiento     : 4.fc19
Tamaño        : 913 k
Repositorio        : installed
Desde el repositorio   : fedora
Resumen     : C source code tree search and browse tool
URL         : http://cscope.sourceforge.net
Licencia     : BSD and GPLv2+
Descripción :cscope is a mature, ncurses based, C source code tree browsing tool.  It
           : allows users to search large source code bases for variables, functions,
           : macros, etc, as well as perform general regex and plain text searches.
           : Results are returned in lists, from which the user can select individual
           : matches for use in file editing.




What's weird is that rpm -ql cscope shows:
rpm -ql cscope
/usr/bin/cscope
/usr/bin/cscope-indexer
/usr/bin/ocs
/usr/share/cscope
/usr/share/cscope/cctree.vim
/usr/share/cscope/xcscope.el
/usr/share/doc/cscope-15.8
/usr/share/doc/cscope-15.8/AUTHORS
/usr/share/doc/cscope-15.8/COPYING
/usr/share/doc/cscope-15.8/ChangeLog
/usr/share/doc/cscope-15.8/README
/usr/share/doc/cscope-15.8/TODO
/usr/share/doc/cscope-15.8/cctree.txt
/usr/share/emacs/site-lisp/xcscope.el
/usr/share/emacs/site-lisp/xcscope.elc
/usr/share/man/man1/cscope.1.gz
/usr/share/xemacs/site-packages/lisp/xcscope.el
/usr/share/xemacs/site-packages/lisp/xcscope.elc
/var/lib/cs

but:
$ file /usr/share/emacs/site-lisp/xcscope.el
/usr/share/emacs/site-lisp/xcscope.el: ERROR: cannot open `/usr/share/emacs/site-lisp/xcscope.el' (No such file or directory)
$ file /usr/share/xemacs/site-packages/lisp/xcscope.el
/usr/share/xemacs/site-packages/lisp/xcscope.el: ERROR: cannot open `/usr/share/xemacs/site-packages/lisp/xcscope.el' (No such file or directory)

are missing

Comment 1 Neil Horman 2013-05-10 13:13:11 UTC
Those are ghosted files, they exists for ownership purposes in the cscope manifest, but aren't actually carried.  They are created (as symlinks to the /usr/share/cscope/xcscope.el file) when the xemacs and emacs packages are installed automatically. The error you see above, just means that emacs and xemacs aren't installed on your system.

Comment 2 javiermon 2013-05-10 13:40:50 UTC
Hi

I do have emacs-nox installed.

yum info emacs-nox
Complementos cargados:langpacks, refresh-packagekit, remove-with-leaves
Paquetes instalados
Nombre        : emacs-nox
Arquitectura        : x86_64
Período       : 1
Versión     : 24.2
Lanzamiento     : 18.fc19
Tamaño        : 12 M
Repositorio        : installed
Desde el repositorio   : fedora
Resumen     : GNU Emacs text editor without X support
URL         : http://www.gnu.org/software/emacs/
Licencia     : GPLv3+
Descripción :Emacs is a powerful, customizable, self-documenting, modeless text
           : editor. Emacs contains special code editing features, a scripting
           : language (elisp), and the capability to read mail, news, and more
           : without leaving the editor.
           : 
           : This package provides an emacs binary with no X windows support for running
           : on a terminal.

Comment 3 Sergio Durigan Junior 2014-09-30 06:28:15 UTC
Reopening this bug as it affects emacs-nox indeed.  I am attaching a patch that fixes the issue.  It should be fairly trivial to back/forwardport it to other Fedora releases (it applies against F20).

Comment 4 Sergio Durigan Junior 2014-09-30 06:30:47 UTC
Created attachment 942596 [details]
Patch to fix the issue

This patch fixes the issue by correctly installing the xcscope.el link when using emacs-nox as well.

Comment 5 Fedora End Of Life 2015-01-09 22:33:35 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Sergio Durigan Junior 2015-01-09 22:47:13 UTC
This bug is fixed already, but I think the maintainer forgot to create the Bodhi updates?

Comment 7 Fedora End Of Life 2015-02-18 11:11:23 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.