From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pierre Lorenzon Newsgroups: gmane.emacs.help Subject: ede cedet does not compile .elc Date: Sat, 08 Feb 2014 14:47:53 +0100 (CET) Message-ID: <20140208.144753.539174290553625910.devel@pollock-nageoire.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391867588 20683 80.91.229.3 (8 Feb 2014 13:53:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2014 13:53:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 08 14:53:16 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WC8LL-0001RM-Hk for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 14:53:15 +0100 Original-Received: from localhost ([::1]:46663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC8LL-0004Ky-7d for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 08:53:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC8L0-0004FD-8e for help-gnu-emacs@gnu.org; Sat, 08 Feb 2014 08:53:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WC8Ks-0008NO-Ri for help-gnu-emacs@gnu.org; Sat, 08 Feb 2014 08:52:54 -0500 Original-Received: from smtp04.smtpout.orange.fr ([80.12.242.126]:40086 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC8Ks-0008N8-Ic for help-gnu-emacs@gnu.org; Sat, 08 Feb 2014 08:52:46 -0500 Original-Received: from localhost ([82.123.220.92]) by mwinf5d39 with ME id Ppsj1n00Q20CkpN03psjjA; Sat, 08 Feb 2014 14:52:44 +0100 X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.12.242.126 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95975 Archived-At: Hi all, I migrated from emacs 24.0 to 24.3.1 and now used the cedet embedded in emacs. I must say that bugs that I encountered in 24.2 version have been fixed and that I am really happy of that ! Even if one can always use the last cedet version from cvs or git or whatever I prefer use that embedded in emacs. But now I encounter following problem : A verry simple project like that : ;; Object Ede Test ;; EDE Project Files are auto generated: Do Not Edit (ede-proj-project "Ede Test" :file "Project.ede" :name "Ede Test" :targets (list (ede-proj-target-elisp "hello.elc" :name "hello.elc" :path "" :source '("hello.el") ) ) :automatic-dependencies 'nil ) Where hello.el is the simplest lisp code that you can imagine : (message "Hello world") Produce following Makefile (that looks strange to me since there actually seems to be something circular :) # Automatically Generated Makefile by EDE. # For use with: make # # DO NOT MODIFY THIS FILE OR YOUR CHANGES MAY BE LOST. # EDE is the Emacs Development Environment. # http://cedet.sourceforge.net/ede.shtml # top="$(CURDIR)"/ ede_FILES=Project.ede Makefile hello_elc_LISP=hello.el EMACS=emacs EMACSFLAGS=-batch --no-site-file --eval '(setq debug-on-error t)' require=$(foreach r,$(1),(require (quote $(r)))) VERSION=1.0 DISTDIR=$(top)Ede Test-$(VERSION) all: hello.elc %.elc: %.el $(EMACS) $(EMACSFLAGS) $(addprefix -L ,$(LOADPATH)) --eval '(progn $(call require, $(PRELOADS)))' -f batch-byte-compile $^ .PHONY: hello.elc hello.elc: $(addsuffix c, $(hello_elc_LISP)) tags: clean: rm -f *.elc .PHONY: dist dist: rm -rf $(DISTDIR) mkdir $(DISTDIR) cp $(hello_elc_LISP) $(ede_FILES) $(DISTDIR) tar -cvzf $(DISTDIR).tar.gz $(DISTDIR) rm -rf $(DISTDIR) Makefile: Project.ede @echo Makefile is out of date! It needs to be regenerated by EDE. @echo If you have not modified Project.ede, you can use 'touch' to update the Makefile time stamp. @false # End of Makefile But the output of the compilation confirms that there's something wrong : -*- mode: compilation; default-directory: "~/codes/elisp/ede/" -*- Compilation started at Sat Feb 8 11:49:49 make -f /home/devel/codes/elisp/ede/Makefile all make: Circular hello.elc <- hello.elc dependency dropped. make: Nothing to be done for `all'. Compilation finished at Sat Feb 8 11:49:49 Did I something wrong in my use of ede ? In fact all my old projects that compiled do not longer ! Regards Pierre