[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange build problem with missing -by.el and -wy.el files
From: |
Gregor Zattler |
Subject: |
Re: strange build problem with missing -by.el and -wy.el files |
Date: |
Tue, 01 Nov 2022 16:38:53 +0100 |
Hi Eli,
* Eli Zaretskii <eliz@gnu.org> [2022-11-01; 09:04 +02]:
>> From: Gregor Zattler <telegraph@gmx.net>
>> Date: Mon, 31 Oct 2022 23:09:45 +0100
[...]
>> Line 35 in lisp/cedet/semantic/bovine/c.el reads:
>>
>> (require 'semantic/bovine/c-by)
>>
>> There is no semantic/bovine/c-by.el in the tree, but
>> cedet/Changelog.1 says it was removed in 2013-11-30 together
>> with other generated files.
>
> It was removed from Git, but it gets regenerated as part of the
> build.
>
>> c-by.el starts this way:
>
> So you do have c-by.el in the tree? Now I'm confused.
This is a quote from a bug report email by Paul
Eggert I quoted. It was another problem but also abut
the [bw]y.el files being produced earlier in the build
and some race condition.
[...]
>> So I copied several .el files which were not generated from
>> a not so old installation of emacs, like so:
>
> That's the wrong way of handling the problem.
>
> You need to understand why c-by.el is not generated as part of the
> build. It's supposed to be generated by the rules in
> admin/grammars/Makefile.in, which run early on during the build. It
> is run via the rule in lisp/Makefile.in for the target "semantic",
> look around line 415 in that file. Why doesn't that happen in your
> case?
Because I get "Args out of range: "master", 0, 7"
errors when building these files:
0 ((e39537ea1e...)) grfz@no:~/src/emacs-master-next/lisp$ make V=1 semantic
make -C ../admin/grammars all EMACS="../../src/emacs"
make[1]: Entering directory '/home/grfz/src/emacs-master-next/admin/grammars'
[ ! -f "../../lisp/cedet/semantic/bovine/c-by.el" ] || chmod +w
"../../lisp/cedet/semantic/bovine/c-by.el"
"../../src/emacs" -batch --no-site-file --no-site-lisp --eval '(setq
load-prefer-newer t)' -l semantic/bovine/grammar -f bovine-batch-make-parser -o
"../../lisp/cedet/semantic/bovine/c-by.el" c.by
Loading semantic/grm-wy-boot...
Args out of range: "master", 0, 7
[ ! -f "../../lisp/cedet/semantic/bovine/make-by.el" ] || chmod +w
"../../lisp/cedet/semantic/bovine/make-by.el"
"../../src/emacs" -batch --no-site-file --no-site-lisp --eval '(setq
load-prefer-newer t)' -l semantic/bovine/grammar -f bovine-batch-make-parser -o
"../../lisp/cedet/semantic/bovine/make-by.el" make.by
Loading semantic/grm-wy-boot...
Args out of range: "master", 0, 7
[ ! -f "../../lisp/cedet/semantic/bovine/scm-by.el" ] || chmod +w
"../../lisp/cedet/semantic/bovine/scm-by.el"
"../../src/emacs" -batch --no-site-file --no-site-lisp --eval '(setq
load-prefer-newer t)' -l semantic/bovine/grammar -f bovine-batch-make-parser -o
"../../lisp/cedet/semantic/bovine/scm-by.el" scheme.by
Loading semantic/grm-wy-boot...
Args out of range: "master", 0, 7
[ ! -f "../../lisp/cedet/semantic/grammar-wy.el" ] || chmod +w
"../../lisp/cedet/semantic/grammar-wy.el"
"../../src/emacs" -batch --no-site-file --no-site-lisp --eval '(setq
load-prefer-newer t)' -l semantic/wisent/grammar -f wisent-batch-make-parser -o
"../../lisp/cedet/semantic/grammar-wy.el" grammar.wy
Loading semantic/grm-wy-boot...
Args out of range: "master", 0, 7
[ ! -f "../../lisp/cedet/semantic/wisent/javat-wy.el" ] || chmod +w
"../../lisp/cedet/semantic/wisent/javat-wy.el"
"../../src/emacs" -batch --no-site-file --no-site-lisp --eval '(setq
load-prefer-newer t)' -l semantic/wisent/grammar -f wisent-batch-make-parser -o
"../../lisp/cedet/semantic/wisent/javat-wy.el" java-tags.wy
Loading semantic/grm-wy-boot...
Args out of range: "master", 0, 7
[ ! -f "../../lisp/cedet/semantic/wisent/js-wy.el" ] || chmod +w
"../../lisp/cedet/semantic/wisent/js-wy.el"
"../../src/emacs" -batch --no-site-file --no-site-lisp --eval '(setq
load-prefer-newer t)' -l semantic/wisent/grammar -f wisent-batch-make-parser -o
"../../lisp/cedet/semantic/wisent/js-wy.el" js.wy
Loading semantic/grm-wy-boot...
Args out of range: "master", 0, 7
[ ! -f "../../lisp/cedet/semantic/wisent/python-wy.el" ] || chmod +w
"../../lisp/cedet/semantic/wisent/python-wy.el"
"../../src/emacs" -batch --no-site-file --no-site-lisp --eval '(setq
load-prefer-newer t)' -l semantic/wisent/grammar -f wisent-batch-make-parser -o
"../../lisp/cedet/semantic/wisent/python-wy.el" python.wy
Loading semantic/grm-wy-boot...
Args out of range: "master", 0, 7
[ ! -f "../../lisp/cedet/srecode/srt-wy.el" ] || chmod +w
"../../lisp/cedet/srecode/srt-wy.el"
"../../src/emacs" -batch --no-site-file --no-site-lisp --eval '(setq
load-prefer-newer t)' -l semantic/wisent/grammar -f wisent-batch-make-parser -o
"../../lisp/cedet/srecode/srt-wy.el" srecode-template.wy
Loading semantic/grm-wy-boot...
Args out of range: "master", 0, 7
make[1]: Leaving directory '/home/grfz/src/emacs-master-next/admin/grammars'
0 ((e39537ea1e...)) grfz@no:~/src/emacs-master-next/lisp$
But I have no clue why this happens.
Ciao; Gregor
--
-... --- .-. . -.. ..--.. ...-.-