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: build problem with git worktree linked to main worktree (repo) (was: strange build problem with missing -by.el and -wy.el files) Date: Sun, 06 Nov 2022 00:46:18 +0100 Message-ID: <87iljt2cdx.fsf@no.workgroup> 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="38157"; 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 Sun Nov 06 00:47:21 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 1orSsi-0009nY-Da for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 06 Nov 2022 00:47:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orSrv-0001hm-QY; Sat, 05 Nov 2022 19:46:31 -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 1orSrt-0001he-Si for help-gnu-emacs@gnu.org; Sat, 05 Nov 2022 19:46:30 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orSrs-00017v-3c; Sat, 05 Nov 2022 19:46:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1667691985; bh=TZin3wVPSdLcj6OGaI9XdYIS/lWC8sH2PN0kIXpupWs=; h=X-UI-Sender-Class:From:To:Subject:Date; b=aU2zvY9+Ey9AQdpH1S4g5z0uQzWUt2l1z6bRhtXYPsQSCwpIe6RHy6g1DiZK+yQXz yZIuJUZ0lmtL+jNG+0rbw4AbTnBchUE3AQxNgox9s6Js6I/uLwC/q8at1EQtcuNAYH qW/FzzZ65EF0OfGS7+oXWEgyESpI6qkBR0TWt7ZuBisNPr7KbAMcr4WhfOR4H4emh+ ALdr2lYpHntlEMSAdZHrsn7UMjAKTkwsw7yQ1349vDiyt+yKUFPGysO7sHGmy7KPai A7TsiOL2vKTWvHGeBCLe63L/ooJKJ4yGaWybCUq7xwwLgUSLbNl/FFD3jBnbFIp249 Wy8rhRUYI/nHQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from localhost ([95.90.239.135]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MKbkC-1oatvJ19wa-00KxQ7; Sun, 06 Nov 2022 00:46:25 +0100 Mail-Followup-To: Eli Zaretskii , help-gnu-emacs@gnu.org X-Provags-ID: V03:K1:803/L+er1FAAO/AnVicLjbcTj0JpASJVKyb/05fzNEPLr2HIzLT ZlqnqZpzhH0V+wdN484XnrHQlKwmJaGzP5YJbRKA2L3v+3vd7lJLYgTHaorjAe4HD54A2DK J2Awpbi+3tNxoRxLQM9ZdbZ3+cSceq93n+8ahBvwNyMVajIFy35x8nrGby61JAKZaIj55oF wDfHKsiBTl8IeUPaF1hig== UI-OutboundReport: notjunk:1;M01:P0:9Vn9zkG2lFI=;QikgCZ5V8y1KyOXfq5ZBpVp1PG+ BADaGEQKW2se/KpaI+4Yvx5zc3boCpu6HDCqyUEgDRCjbT/HgbWPGV9ZQfVYxrxbv9xgNcJWx jaJeFyo9seA3s+0YdRonj7gEa2c0yqRH/6ht1z+TBxJGNDpyAF3HqmUlP4AL9HwXPiaWkJb29 drS2MqhykL3Ly2JrFDVmttk9fujTQmruPIPNjNP4YkjBHcxua+1+nYPp3bZ/eKm5W45md8Pqv DXg0+Uc9GzTw7X2eRfCYQCNHZ2jUR234kUrMR6n5VfyOvFXuQdBFz6fMGWH0l9spevdDormqI 0+gnp335L7WErOaavn215gyu092MQ9oCKKIDmjzHcSurQMpPlrvjXnL7wxUr3Nd8UpsfTQ32g P+59e9Sw2HUJOhITNqK1Xsqb2BWD81AkjtIcmL5Bfg5KGzvVTnesDE+OEusUkWZe0845S8B5p otDeNQqFw7TrV+jp+yWIfEuoMQWgg2oGhlYxP+YjOf2zuKaQzslrRG55NwpIra7paYE4rcX6f En03a/KicESy1FEqvoNQsXcbFDW13iFoyIbYvLFuoLIQbEJsJB6/Z0pF+ACYlw1m/G0zZssk9 WkUSVHQjMcPAwAtc0xwQIGfXaB/M+DCPWhgnZ9dDPdv0eoxszy3Ng5tPFfLbDGEMSco568UgW hgcl5BwWN39xxT3FoxsaQO8HAj/48xpxYwwDLvy63axaHMzPpBvHNMNAfThUaZINdnNcZgj4s SZyIeWto0F8SraDEImFYbu58m79h9Xw7od7BCoc8MKl8RYBh0yviVjOtSE3K5E5CO+BHBk4l Received-SPF: pass client-ip=212.227.17.20; 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, 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:140696 Archived-At: Hi Eli, emacs users, * Eli Zaretskii [2022-11-01; 18:48 +02]: >> From: Gregor Zattler >> Date: Tue, 01 Nov 2022 16:38:53 +0100 >> >> > 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: > > So you need to understand why this happens. I do not understand why this happens. > Perhaps some stale files from previous builds, or some > other problem? This is from pristine sources. But I found how to avoid it: Not using a git worktree linked to a main worktree with .git directory: The problem arises when the tree from which to build Emacs is actually a linked git worktree as opposed to a fully fletched git repo (main worktree in git parlance). Building in a linked worktree linked to a bare repo works without problems, though. I described my findings in bug#59064. I now will use git worktrees linked to a bare repo. Thanks to Eli fro the hints, Gregor