Re: Cedet doesn't build on Emacs 25.1

Edward John Steere <[email protected]> Tue, 04 Oct 2016 19:40:30 +0200
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
Vincent Semeria <[email protected]> writes:

> Hello,
>
> On Sept 20 I sent you the previous mail about cedet not building on Windows. I managed to get the call stack leading to the error, if it can help you :
>
> error("Attempt to add non-object to master project list")
> ede-add-project-to-global-list([eieio-class-tag--ede-proj-project "~/.emacs.d/cedet-git/lisp/Project.ede" nil "cedet-topdir" "1.1beta" "~/.emacs.d/cedet-git/lisp/" unbound nil (
> #[(this dir) "\303 \304\"\204 
> #[385 " \301\302\303\304\305 !\306\"\307$\310K\311K\301\302\312\304\305 \"\313\"\307$\216\310 M\210\311 M
> apply(#[385 " \301\302\303\304\305 !\306\"\307$\310K\311K\301\302\312\304\305 \"\313\"\307$\216\310 M\210\311
> #[128 "\302\300\303\304\305\306\307\301 \"\310\"\311\312% #\207" [#[385 " \301\302\303\304\305 !\306\"\307
> apply(#[128 "\302\300\303\304\305\306\307\301 \"\310\"\311\312% #\207" [#[385 " \301\302\303\304\305 !\306\"\307$\310K
> ede-auto-load-project([eieio-class-tag--ede-project-autoload "Make" ede/proj "Project.ede" nil nil unbound nil ede-proj-load ede-proj-project nil t nil] "~/.emacs.d/cedet
> ede-load-project-file("c:/users/inconnu/.emacs.d/cedet-git/lisp/")
> (let* ((ede-project-directories t) (Tproj (ede-load-project-file (file-name-as-directory (expand-file-name d cedet-build-location))))) (cedet-build-project Tproj))
> (while --dolist-tail-- (setq d (car --dolist-tail--)) (cedet-build-msg "Building directory %s\n" d) (let* ((ede-project
> (let ((--dolist-tail-- subdirs) d) (while --dolist-tail-- (setq d (car --dolist-tail--)) (cedet-build-msg "Building directory
> (let ((buf (get-buffer-create "CEDET MAKE")) (pkgs nil) (subdirs (quote ("lisp")))) (cedet-build
> cedet-build()
>
> Thanks,
> Vincent
>
> On Tue, Sep 20, 2016 at 11:18 AM, Vincent Semeria <[email protected]> wrote:
>
>  Hello,
>
>  emacs -Q -l cedet-build.el -f cedet-build 
>  fails after step 5 with the error
>  "Attempt to add non-object to master project list"
>
>  Mind in on Windows 10, I don't know if it builds on other OS'es.
>
>  Thanks,
>  Vincent
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
> _______________________________________________
> Cedet-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cedet-devel

Hi Vincent,

I mean to be taking a look at this fairly soon because I plan on
contributing some work which will see (an up-to-date) CEDET packaged and
distributed with the latest versions of Emacs.  Until then I've found
that a clean install gets rid of the error.  You can do a clean build
with gnuwin32 (make, makeinfo etc.).

If you're not keen on installing gnuwin32, then perhaps try doing a git
clean (which ought to remove all of the compiled elisp files since they
aren't tracked) and then build.  /I haven't tested this/.  Otherwise you
can try installing those gnuwin32 binaries somewhere in your path.  To
be clear I'm also using Windows 10 on one of my machines and with the
clean build it seems to be fine for now.

The problem lies in the fact that EIEIO is now (and has been for a
while) developed in Emacs core.  So changes to the API there need to be
integrated with the CEDET project in order to avoid problems like this.

Kind regards,

Edward Steere


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot