From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.help Subject: Re: strange build problem with missing -by.el and -wy.el files Date: Tue, 01 Nov 2022 16:38:53 +0100 Message-ID: <87r0ymhegi.fsf@no.workgroup> References: <87bkprbq6u.fsf@no.workgroup> <83v8nzcg0v.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21397"; mail-complaints-to="usenet@ciao.gmane.io" To: Eli Zaretskii , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 01 18:22:28 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1opuy2-0005HI-E6 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Nov 2022 18:22:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1optM3-0006Mm-6g; Tue, 01 Nov 2022 11:39:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1optM1-0006MH-WC for help-gnu-emacs@gnu.org; Tue, 01 Nov 2022 11:39:06 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1optLx-0004LK-Dz; Tue, 01 Nov 2022 11:39:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1667317139; bh=qXj95CuSafD9YnrWr5JaEn207QPQr1vgVyZF5RcfJr8=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date; b=axoZ0sWu1goyyBVu+dMx29hyh2dqmLqiWZh3ydR0w4rfIMSoNFJwJWlGuDUk3AAtW Dl/RR+4A4Ksz1152hxBqOd0TVSms13hScNuDvDBKiZPf12qFmmh5dOrQaZR9d3QHIM HjAsIAkqQs5r2N3uFAS9PzHozzravYHbrIbrKa8mjtG6p8uvXvG+OVFlW9ttG1TZPh C7+5n3jg7fLOhK1uaQuuo8qCqCPjfGhKlTLchVbUYddXRZbemvrbDu8FEL1yytgoeK bG9FZnR3aQMBrTlhrGrXBQ9DXECQ2Y0ZJU5eA9GqaqiWmVK95CF7RDiVLdqMcTKgxv aP9wiCF+6Kylg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from localhost ([95.90.239.135]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MtOGU-1pBXH23FZm-00uu2v; Tue, 01 Nov 2022 16:38:58 +0100 In-Reply-To: <83v8nzcg0v.fsf@gnu.org> Mail-Followup-To: Eli Zaretskii , help-gnu-emacs@gnu.org X-Provags-ID: V03:K1:StOeZiDb8OiME/rlv4uNeD+If2YxuQuAHjZZfoPx828VWqhQdQT w5yHJUPwGFX8L0c0BXChpD9dDoZITUQIBMq/K4InrCJUl/wJpScc1PSRxQxCttNCPlgvNkO w2M9LcTIjJwUzFWBG/snFaW8//qLxIFs4SAK2cSX0SuF8L3zRhf4fgSyluqbGJArU275t1B xY7oHfL/0JEZHF/QUDnHA== UI-OutboundReport: notjunk:1;M01:P0:NLgqBbggTlE=;3qHsmlQbbFWEXjCosjNZvAXEIKc caEO25NLYW5LGZB3c0XE3PGn7OzGvZ0OjwSVmgG7iUseZ0sMZ93kyHmShQkgKGKlNlt1rQJcN jKJEMKOBzawO2UoBh06DqGHIjXNtbjxBWm1PsNDb7nRV5cDHyvre+8rrXIj0B/8vqfe4pD6I6 Ab+1e3z7oOm+ZxkULT/4a8wHjN7TzzehQtdnPY01kqlMcwqiSz2TaDGze5tnqmurxZZyKlM9x KvhgYkO8Rvxnq0NFoa4YuWJxryOOpGea7oUgbeT03BgevBo2ykkz3TBNPCXjSPN36qplEDYVY Af6VkmwGwIN2E+pBnjapxu1XtWRWdEPGMHYWMEceNo7ajS+xPw8w+qG1Oi91AIuSK6cJWZT95 hK82iGMGhNkf4C8o9iSa1HoPTsrSf3U7pT4fXRWoHGPwrQNm/8d33owpoDSGLTYa3VW6ViSeh /DOpqbUm1oRdwCJlBD36bYezOmJwNXKUEunYHLUztz8iHZ+sjcdMjpquKP1NK/oxcMPdVXAfY ivrMwTC3EwhxkhPSkaR6I6a/PHIy4YTIhI7JDRa00mNjueos/BhrFPpLvcimSUqXzxG9I3NpH LqpjTSL3Y/Lau/9IW0aZzamD0PnAHm31PbTCX0CjONowQwz1WtEBwDOFMH61oSdVUny2WCBlp odSo5Mk4JHuYPC4ZQyhiOBxxRjyCfDHOi437+e6j0gBzfZvpKuW/EB0fdH1qJpHoxfp2FJ+e+ f/Ro7X8WFuR91iRybVInA03Vb9EPpQjDdUtcucnP4EcI4BQCLrsn2/uw2uejKm7e8RufAI5l Received-SPF: pass client-ip=212.227.17.22; envelope-from=telegraph@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "help-gnu-emacs" Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140560 Archived-At: Hi Eli, * Eli Zaretskii [2022-11-01; 09:04 +02]: >> From: Gregor Zattler >> 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=3D1 seman= tic make -C ../admin/grammars all EMACS=3D"../../src/emacs" make[1]: Entering directory '/home/grfz/src/emacs-master-next/admin/gramma= rs' [ ! -f "../../lisp/cedet/semantic/bovine/c-by.el" ] || chmod +w "../../lis= p/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 "../../l= isp/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 "../../li= sp/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/cede= t/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/grammar= s' 0 ((e39537ea1e...)) grfz@no:~/src/emacs-master-next/lisp$ But I have no clue why this happens. Ciao; Gregor =2D- -... --- .-. . -.. ..--.. ...-.-