unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20259: make fails to produce c-by, etc.: Invalid slot type...
@ 2015-04-04 19:45 Ivan Shmakov
  2015-04-04 22:37 ` Paul Eggert
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Shmakov @ 2015-04-04 19:45 UTC (permalink / raw)
  To: 20259

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]

Package: emacs

	For a couple of weeks or so now, building Emacs fails for me
	when byte-compiling cedet/semantic/bovine/c.el, apparently
	because the earlier stages have failed to produce a number of
	files under lisp/cedet/semantic/bovine/ (*.by) and …/wisent/
	(*.wy).

	Removing ‘cedet’ (which I do not use anyway) from compilation
	along with setting BOVINE and WISENT to empty strings seem to
	help the issue.

	The relevant section of the build log is MIMEd.

	(Tested on 0115aceb584b, 2015-04-04 14:10:06 UTC.)

-- 
FSF associate member #7257  np. Following My Father’s Song — Jami Sieber

[-- Attachment #2: Type: text/plain, Size: 5785 bytes --]

make -C ../admin/grammars all EMACS="../../src/emacs"
make[2]: Entering directory '/.../emacs-2015-04-04-build/admin/grammars'
[ ! -f "../../lisp/cedet/semantic/bovine/c-by.el" ] || chmod +w "../../lisp/cedet/semantic/bovine/c-by.el"
EMACSLOADPATH= "../../src/emacs" -batch --no-site-file --no-site-lisp -l semantic/bovine/grammar -f bovine-batch-make-parser -o "../../lisp/cedet/semantic/bovine/c-by.el" c.by
../../lisp/emacs-lisp/eieio.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
../../lisp/emacs-lisp/eieio-base.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil
[ ! -f "../../lisp/cedet/semantic/bovine/make-by.el" ] || chmod +w "../../lisp/cedet/semantic/bovine/make-by.el"
EMACSLOADPATH= "../../src/emacs" -batch --no-site-file --no-site-lisp -l semantic/bovine/grammar -f bovine-batch-make-parser -o "../../lisp/cedet/semantic/bovine/make-by.el" make.by
../../lisp/emacs-lisp/eieio.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
../../lisp/emacs-lisp/eieio-base.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil
[ ! -f "../../lisp/cedet/semantic/bovine/scm-by.el" ] || chmod +w "../../lisp/cedet/semantic/bovine/scm-by.el"
EMACSLOADPATH= "../../src/emacs" -batch --no-site-file --no-site-lisp -l semantic/bovine/grammar -f bovine-batch-make-parser -o "../../lisp/cedet/semantic/bovine/scm-by.el" scheme.by
../../lisp/emacs-lisp/eieio.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
../../lisp/emacs-lisp/eieio-base.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil
[ ! -f "../../lisp/cedet/semantic/wisent/javat-wy.el" ] || chmod +w "../../lisp/cedet/semantic/wisent/javat-wy.el"
EMACSLOADPATH= "../../src/emacs" -batch --no-site-file --no-site-lisp -l semantic/wisent/grammar -f wisent-batch-make-parser -o "../../lisp/cedet/semantic/wisent/javat-wy.el" java-tags.wy
../../lisp/emacs-lisp/eieio.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
../../lisp/emacs-lisp/eieio-base.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil
[ ! -f "../../lisp/cedet/semantic/wisent/js-wy.el" ] || chmod +w "../../lisp/cedet/semantic/wisent/js-wy.el"
EMACSLOADPATH= "../../src/emacs" -batch --no-site-file --no-site-lisp -l semantic/wisent/grammar -f wisent-batch-make-parser -o "../../lisp/cedet/semantic/wisent/js-wy.el" js.wy
../../lisp/emacs-lisp/eieio.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
../../lisp/emacs-lisp/eieio-base.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil
[ ! -f "../../lisp/cedet/semantic/wisent/python-wy.el" ] || chmod +w "../../lisp/cedet/semantic/wisent/python-wy.el"
EMACSLOADPATH= "../../src/emacs" -batch --no-site-file --no-site-lisp -l semantic/wisent/grammar -f wisent-batch-make-parser -o "../../lisp/cedet/semantic/wisent/python-wy.el" python.wy
../../lisp/emacs-lisp/eieio.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
../../lisp/emacs-lisp/eieio-base.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil
[ ! -f "../../lisp/cedet/srecode/srt-wy.el" ] || chmod +w "../../lisp/cedet/srecode/srt-wy.el"
EMACSLOADPATH= "../../src/emacs" -batch --no-site-file --no-site-lisp -l semantic/wisent/grammar -f wisent-batch-make-parser -o "../../lisp/cedet/srecode/srt-wy.el" srecode-template.wy
../../lisp/emacs-lisp/eieio.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
../../lisp/emacs-lisp/eieio-base.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil
make[2]: Leaving directory '/.../emacs-2015-04-04-build/admin/grammars'
make[2]: Entering directory '/.../emacs-2015-04-04-build/lisp'
EMACSLOADPATH= '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq max-lisp-eval-depth 2200)" --eval '(setq load-prefer-newer t)'  -f batch-byte-compile cedet/semantic/bovine/c.el
../../../emacs-lisp/eieio.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.
../../../emacs-lisp/eieio-base.el: `eieio-object-name-string' is an obsolete generic function (as of 25.1); use `eieio-named' instead.

In toplevel form:
cedet/semantic/bovine/c.el:35:1:Error: Cannot open load file: No such file or directory, semantic/bovine/c-by
Makefile:287: recipe for target 'cedet/semantic/bovine/c.elc' failed
make[2]: *** [cedet/semantic/bovine/c.elc] Error 1
make[2]: Leaving directory '/.../emacs-2015-04-04-build/lisp'
Makefile:310: recipe for target 'compile-main' failed
make[1]: *** [compile-main] Error 2
make[1]: Leaving directory '/.../emacs-2015-04-04-build/lisp'
Makefile:385: recipe for target 'lisp' failed
make: *** [lisp] Error 2

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#20259: make fails to produce c-by, etc.: Invalid slot type...
  2015-04-04 19:45 bug#20259: make fails to produce c-by, etc.: Invalid slot type Ivan Shmakov
@ 2015-04-04 22:37 ` Paul Eggert
  2015-04-05  5:15   ` Ivan Shmakov
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggert @ 2015-04-04 22:37 UTC (permalink / raw)
  To: Ivan Shmakov; +Cc: 20259

What happens if you run "make bootstrap"?





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#20259: make fails to produce c-by, etc.: Invalid slot type...
  2015-04-04 22:37 ` Paul Eggert
@ 2015-04-05  5:15   ` Ivan Shmakov
  0 siblings, 0 replies; 3+ messages in thread
From: Ivan Shmakov @ 2015-04-05  5:15 UTC (permalink / raw)
  To: 20259

>>>>> Paul Eggert <eggert@cs.ucla.edu> writes:

 >> For a couple of weeks or so now, building Emacs fails for me when
 >> byte-compiling cedet/semantic/bovine/c.el, apparently because the
 >> earlier stages have failed to produce a number of files under
 >> lisp/cedet/semantic/bovine/ (*.by) and …/wisent/ (*.wy).

	To clarify: it fails to produce /.el/ files (from .by and .wy.)

 > What happens if you run "make bootstrap"?

	Just in case, the build procedure I use is (roughly) as follows.
	From what I know, it effectively makes ‘make bootstrap’ a no-op,
	or am I mistaken on that?

#!/bin/bash
set -e -x
mkdir -v -- emacs-$(date -uI)-build
cd emacs-$(date -uI)-build
lndir -- ../emacs-src
autoreconf -v -i -I m4

## Ensure there are no stray .elc files in the build directory.
! grep -q -- . < <(find -name \*.elc)

LC_ALL=C nohup /usr/bin/time make \
    -- lib lib-src src lisp

--
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-05  5:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-04 19:45 bug#20259: make fails to produce c-by, etc.: Invalid slot type Ivan Shmakov
2015-04-04 22:37 ` Paul Eggert
2015-04-05  5:15   ` Ivan Shmakov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).