emacs semantic-gcc is not available

Bug #477001 reported by bernhard on 2009-11-06
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
cedet (Ubuntu)
Undecided
Unassigned
emacs23 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: semantic

semantic-gcc is important to allow emacs to search .h files.

But the semantic-gcc.elc file is missing in the default package (semantic) in karmic

Following workaround possible:
download lates files
http://sourceforge.net/projects/cedet/files/

untar and execute make

These files are the missing ones:
cedet-1.0pre6/semantic/bovine/semantic-gcc.el
cedet-1.0pre6/semantic/bovine/semantic-gcc.elc

copy them into the folder:
/usr/share/emacs/site-lisp/semantic/

then you have to create symlinks (ln -s ) to the files in the following
directory
/usr/share/emacs23/site-lisp/semantic/
(or emacs22)

JP (vectorpoem) wrote :

The workaround only led to more missing file errors for me (in Maverick), so it's not just these two files that are missing from the package.

sergioroa (s-roa) wrote :

Confirmed in Maverick and Natty

era (era) wrote :

Please indicate which emacs version you are seeing this in. In emacs 23.2, cedet is included with the emacs23 package. Maverick still had Emacs 23.1. There are unlikely to be any updates to the Ubuntu version of the cedet standalone package, to my understanding. Are you referring to the situation with emacs22 + cedet, emacs23 alone, emacs23 + cedet, or emacs-snapshot?

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/natty/emacs23/natty/view/head:/lisp/cedet/semantic/bovine/gcc.el seems to contain something like what you are asking for but without repro instructions, it's hard to tell whether it is sufficient.

Marking as Incomplete until these details are clarified. Please feel free to change the Status back to New (or even Confirmed, if warranted) once the requested information is available.

Changed in cedet (Ubuntu):
status: New → Incomplete
sergioroa (s-roa) wrote :

I am using emacs23 and cedet. I have only found /usr/share/emacs/site-lisp/semantic/bovine/semantic-c.el but it does not seem to work as expected. This is found in the package semantic.

era (era) wrote :

sergioroa: as mentioned, there is a difference between emacs23 version 23.1 and emacs23 version 23.2 as the latter includes a built-in, adopted version of Semantic as part of the Emacs package. So which one are you using? In other words, could you please post the output of apt-cache policy emacs23 semantic? Thanks!

sergioroa (s-roa) wrote :

emacs23:
  Installed: 23.1+1-4ubuntu7
  Candidate: 23.1+1-4ubuntu7.2+maverick1

era (era) wrote :

And so presumably the output of apt-cache policy semantic would reveal that you have the Maverick version of semantic, i.e. 1:1.0pre4-3.1? What about on Natty, can you reproduce on a newer version of Emacs23, standalone?

I'm changing the bug status to Confirmed, based on the multiple "me too" reports. Regrettably, I don't think we are going to see a fixed semantic package, and I'm still not clear on whether there should be a bug task opened against emacs23 >= 23.2 and/or emacs-snapshot.

Changed in cedet (Ubuntu):
status: Incomplete → Confirmed
era (era) wrote :

Creating an Incomplete bug task for emacs23 based on the previous comments. If this is reproducible in emacs23 on Natty out of the box, we can confirm and proceed to suggest a fix upstream.

Changed in emacs23 (Ubuntu):
status: New → Incomplete
summary: - emacs semantic-gcc is not available in karmic
+ emacs semantic-gcc is not available
era (era) wrote :

Also, the repro steps would still be good to have. We can trivially see that the file you reported as missing is not there, but this could be due to e.g. a refactoring of the upstream code just as well. What we need is a simple recipe which should work (ideally, out of the newbie documentation for the package) but which doesn't. If you could supply a simple example .h file and say what Emacs commands to run and what result to expect, more people can work on this. Thanks in advance!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers