unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: Eli Zaretskii <eliz@gnu.org>, help-gnu-emacs@gnu.org
Subject: Re: strange build problem with missing -by.el and -wy.el files
Date: Tue, 01 Nov 2022 16:38:53 +0100	[thread overview]
Message-ID: <87r0ymhegi.fsf@no.workgroup> (raw)
In-Reply-To: <83v8nzcg0v.fsf@gnu.org>

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
--
 -... --- .-. . -.. ..--.. ...-.-



  reply	other threads:[~2022-11-01 15:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31 22:09 strange build problem with missing -by.el and -wy.el files Gregor Zattler
2022-11-01  7:04 ` Eli Zaretskii
2022-11-01 15:38   ` Gregor Zattler [this message]
2022-11-01 16:48     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0ymhegi.fsf@no.workgroup \
    --to=telegraph@gmx.net \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).