Bug 1087940 - cscope reports "File does not have expected format" when searching for symbol usage
Summary: cscope reports "File does not have expected format" when searching for symbol...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cscope
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neil Horman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1124568 1124571
TreeView+ depends on / blocked
 
Reported: 2014-04-15 16:09 UTC by Vlad Yasevich
Modified: 2014-07-29 20:22 UTC (History)
1 user (show)

Fixed In Version: cscope-15.8-8.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1124568 1124571 (view as bug list)
Environment:
Last Closed: 2014-04-24 07:33:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vlad Yasevich 2014-04-15 16:09:34 UTC
Description of problem:
Upstream bug http://sourceforge.net/p/cscope/bugs/200/

cscope reports "File does not have expected format" when performing
a lookup for a C symbol.

This happens for some of the symbols.  On is reported upstream.
I can consistently reproduce by looking for skb_mac_gso_segment
in the kernel source tree.

The index is built using 
 # cscope -q -b -R -k

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Build a symbol db using
   # cscope -q -b -R -k
2. Launch cscope
3. Search for skb_mac_gso_segment C symbol

Actual results:


Expected results:


Additional info:
Upstream bug includes a patch (http://sourceforge.net/p/cscope/bugs/200/#10cf).
I've built a test rpm and verified that the patch solves this problem for me.

Comment 1 Fedora Update System 2014-04-15 16:36:55 UTC
cscope-15.8-8.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/cscope-15.8-8.fc20

Comment 2 Fedora Update System 2014-04-16 09:26:43 UTC
Package cscope-15.8-8.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cscope-15.8-8.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-5245/cscope-15.8-8.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-04-24 07:33:26 UTC
cscope-15.8-8.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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