From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Naofumi Yasufuku Newsgroups: gmane.emacs.bugs Subject: bug#49507: 28.0.50; macOS: =?UTF-8?Q?Symbol=E2=80=99s?= value as variable is void: lock-file-name-transforms Date: Sun, 11 Jul 2021 04:17:24 +0900 Message-ID: References: <87r1g6m6ln.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22829"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.15; emacs 27.2 Cc: 49507@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 10 21:18:23 2021 Return-path: Envelope-to: geb-bug-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 1m2IUW-0005lR-Vl for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Jul 2021 21:18:21 +0200 Original-Received: from localhost ([::1]:34110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2IUV-00055L-Ew for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Jul 2021 15:18:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2IUE-00055A-1i for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 15:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2IUD-00019s-QN for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 15:18:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2IUD-0003T3-Iq for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 15:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Naofumi Yasufuku Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Jul 2021 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 49507-submit@debbugs.gnu.org id=B49507.162594466213303 (code B ref 49507); Sat, 10 Jul 2021 19:18:01 +0000 Original-Received: (at 49507) by debbugs.gnu.org; 10 Jul 2021 19:17:42 +0000 Original-Received: from localhost ([127.0.0.1]:33474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2ITt-0003SV-Me for submit@debbugs.gnu.org; Sat, 10 Jul 2021 15:17:42 -0400 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:35247) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2ITq-0003SG-Ka for 49507@debbugs.gnu.org; Sat, 10 Jul 2021 15:17:40 -0400 Original-Received: (Authenticated sender: naofumi@yasufuku.dev) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 0318D100006; Sat, 10 Jul 2021 19:17:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1625944652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X0jGGBstf5Rf5MnwoOAqEXVjziMQF7l3KAcAlFdkusI=; b=PtuyzaKdxNvKTQHzXYgEvQ8ECAUO7lxwKSlHkXwkbuyPtF57clTKIRQd6Kl7DNTFVGLDnP smv+oN4CrV8euCgmdtC/WSNap6fX0k/yyNdi0xccsXT41jy0Kd9KNwlVroCDusSIbTUaL6 P/DQSpRbAObUrnq9wK6KIXmaivjZ2wkF7M1+WNW8L5kt6T5xblv52K+f64rIBlqF+GeWNA ZLb+TSN4Pk9d94rwwHDFTbD9aePeQYMfWfgd4i2D+IUI00+4m2mXjqwgL9UCkYDs7uFV0D tl7Vaq732p15nsoOaABjjpRUoUiDWev+kUNOIimk+40a2UdYkMMT8BWFtF9m2w== In-reply-to: <87r1g6m6ln.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209767 Archived-At: Lars Ingebrigtsen writes: > Naofumi Yasufuku writes: > >> Precondition: >> - Repository revision: 9ce6541ac9710933beca7f9944087fe4849d5ae9 >> - macOS >> - $ mv ~/.emacs.d/eln-cache ~/.emacs.d/eln-cache.old >> >> Emacs doesn't start due to the following error: >> $ ./src/emacs -Q >> Symbol’s value as variable is void: lock-file-name-transforms >> $ > > Try saying "make bootstrap" and see whether the problem goes away. I've tried "make bootstrap", but it doesn't solve. I found out that this issue is language environment specific and not macOS specific. The same issue can be reproduced under linux with LANG=ja_JP.UTF-8: $ LANG=C ./src/emacs -Q $ LANG=en_US.UTF-8 ./src/emacs -Q # LANG=ja_JP.UTF-8 ./src/emacs -Q Symbol’s value as variable is void: lock-file-name-transforms $ ------------------------------------------------------------------------ [naofumi@hyperion src ((9ce6541ac9...))]% gdb emacs GNU gdb (GDB) 10.2 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-apple-darwin20.3.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from emacs... SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = /private/tmp/com.apple.launchd.LJFJOAZgMb/org.xquartz:0 TERM = xterm-256color Breakpoint 1 at 0x1000d3a00: terminate_due_to_signal. (2 locations) (gdb) b make_lock_file_name Breakpoint 2 at 0x100100aa8: make_lock_file_name. (3 locations) (gdb) r -Q Starting program: /Users/naofumi/src/git.sv.gnu.org/emacs/src/emacs -Q [New Thread 0x2303 of process 36192] [New Thread 0x2203 of process 36192] warning: unhandled dyld version (17) [New Thread 0x1907 of process 36192] [New Thread 0x2003 of process 36192] [New Thread 0x2103 of process 36192] Thread 2 hit Breakpoint 2, make_lock_file_name (fn=XIL(0x14562c9a4)) at filelock.c:625 625 return call1 (Qmake_lock_file_name, Fexpand_file_name (fn, Qnil)); (gdb) bt #0 make_lock_file_name (fn=XIL(0x14562c9a4)) at filelock.c:625 #1 lock_file (fn=XIL(0x14562c9a4)) at filelock.c:666 #2 Flock_file (file=XIL(0x14562c9a4)) at filelock.c:755 #3 0x000000010010c9b5 in write_region (start=, end=, filename=, append=, visit=make_fixnum(0), lockname=, mustbenew=XIL(0), desc=10) at fileio.c:5230 #4 0x0000000000000008 in ?? () #5 0x00000001460b7400 in ?? () #6 0x00007ffeefbfd7e0 in ?? () #7 0x00007fff20324131 in ?? () #8 0x000000014545e380 in ?? () #9 0x000000014545e380 in ?? () #10 0x0000000000000008 in ?? () #11 0x0000000145466a00 in ?? () #12 0x0000000145467e00 in ?? () #13 0x0000000000000008 in ?? () #14 0x00007ffeefbfd890 in ?? () #15 0x00007fff20323937 in ?? () #16 0x00007ffeefbfd820 in ?? () #17 0xf6b78000c0001002 in ?? () #18 0x00007ffeefbfffff in ?? () #19 0x00000001001488ef in swap_in_symval_forwarding (symbol=0x14562c9a4, blv=0x481b79e8) at data.c:1385 #20 0x00000001481c9980 in ?? () #21 0x0000000000001400 in ?? () #22 0x00007ffeefbfd840 in ?? () #23 0x000000014562c9a4 in ?? () #24 0x00000001460be5e0 in ?? () #25 0x0000000000000488 in ?? () #26 0x0000000000000000 in ?? () Lisp Backtrace: "write-region" (0xefbfdd58) "comp-run-async-workers" (0xefbfdf10) "native--compile-async" (0xefbfe180) "defalias" (0xefbfe250) "set-language-environment" (0xefbfeac8) "set-locale-environment" (0xefbfee88) "normal-top-level" (0xefbfef30) (gdb) s Symbol’s value as variable is void: lock-file-name-transforms [Inferior 1 (process 36192) exited with code 0377] (gdb) q [naofumi@hyperion src ((9ce6541ac9...))]% ------------------------------------------------------------------------ Regards, --Naofumi