Donate Share

CEDET

Tracker: Bugs

5 build uses files from installed ede version - ID: 1790014
Last Update: Comment added ( zappo )

In https://bugs.gentoo.org/show_bug.cgi?id=183205#c10 I observed that the
build process of cedet-1.0pre4 references files from a previousely
installed version, which could lead to incosistent behaviour. I just
verified this using an straced manual make from the unmodified tarball
sources:

$ strace -f -e trace=open -s 10240 -o make.trace \
make PREFIX=/usr EMACS=/usr/bin/emacs 2>&1 | \
tee make.log

$ grep /usr/.*/site-lisp/cedet make.trace | \
grep -v O_DIRECTORY | cut -d\" -f2 | sort -u

/usr/share/emacs/site-lisp/cedet/ede/ede.elc
/usr/share/emacs/site-lisp/cedet/ede/ede-loaddefs.el
/usr/share/emacs/site-lisp/cedet/ede/ede-load.elc
/usr/share/emacs/site-lisp/cedet/ede/ede-source.elc
/usr/share/emacs/site-lisp/cedet/ede/ede-speedbar.elc

$ grep /usr/.*/site-lisp/cedet/ede/ make.log | sort -u

Source file `/usr/share/emacs/site-lisp/cedet/ede/ede.el' newer than
byte-compiled file
Source file `/usr/share/emacs/site-lisp/cedet/ede/ede-speedbar.el' newer
than byte-compiled file

These make messages are in the scope of wisent and bovine. Adding
../../ede/ to the LOADPATH in the corresponding Makefiles solves the whole
issue.


Martin von Gagern ( gagern ) - 2007-09-07 10:38

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2008-03-02 02:15
Sender: zappoSourceForge.net SubscriberProject Admin


Added EDE as a default dependency for any semantic-ede-grammar build,
which then added it to the makefiles for
bovine and wisent directories.

I also Applied the patch found at the gmane site.


Date: 2007-09-07 11:15
Sender: gagern


The patch from http://thread.gmane.org/gmane.emacs.semantic/1378 solves
this issue here as well, by not requiring ede in the first place. As this
patch solves another issue not solved by my suggested additions to
LOADPATH, that seems to be the better solution on the whole.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2008-03-02 02:15 zappo
resolution_id None 2008-03-02 02:15 zappo
close_date - 2008-03-02 02:15 zappo