From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62004: 30.0.50; comp-run-async-workers failure when default-directory deleted Date: Tue, 07 Mar 2023 15:17:13 +0200 Message-ID: <831qm07lba.fsf@gnu.org> References: <874jqxyhfo.fsf@gmail.com> <83sfeh7rlm.fsf@gnu.org> <87zg8px01l.fsf@gmail.com> <83mt4p7mv4.fsf@gnu.org> <87v8jdww42.fsf@gmail.com> <83jzzt7iac.fsf@gnu.org> <87jzztwo9h.fsf@gmail.com> <83h6ux6xwl.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2460"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62004@debbugs.gnu.org, iarchivedmywholelife@gmail.com To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 07 14:18:17 2023 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 1pZXCq-0000SS-Dz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Mar 2023 14:18:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZXCe-0005q6-VU; Tue, 07 Mar 2023 08:18:04 -0500 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 1pZXCc-0005on-O4 for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 08:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZXCc-00012A-A8 for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 08:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZXCc-000377-6P for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 08:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Mar 2023 13:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62004 X-GNU-PR-Package: emacs Original-Received: via spool by 62004-submit@debbugs.gnu.org id=B62004.167819505611935 (code B ref 62004); Tue, 07 Mar 2023 13:18:02 +0000 Original-Received: (at 62004) by debbugs.gnu.org; 7 Mar 2023 13:17:36 +0000 Original-Received: from localhost ([127.0.0.1]:44797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZXC9-00036N-DX for submit@debbugs.gnu.org; Tue, 07 Mar 2023 08:17:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZXC7-00036B-FJ for 62004@debbugs.gnu.org; Tue, 07 Mar 2023 08:17:32 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZXC1-0000yF-N0; Tue, 07 Mar 2023 08:17:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MvsaMpyJhCFH07MljYIPlYWKHzez5SJCWrT7he8MOnI=; b=LF+TmgnYtPy1 WPfAyz47zcnCseZpFLOlPbP8L6xePDg+gxdCniWV/2nnvRN4nyKOteVx7CLVICFHlbGYcl3rYI8qz wUKitWHAOt6aMkDeyQph86ORcr6Cu2mL7Dn/K1L2OWKcw8qwhjsUYF7QmeDIjzSIcJIbCYjBKVRYi cP2Zmn8slXi8Mzz35fLldRByZW8Kq+v7BlWo1ft2VypIhEt3wzlVpFKvocQhMWxKEqfeu3EDIaqYw vszn7DUA11Z/rc7SnGaQLezymO1699uiCRz7T1awPzXk/vVVoaizcs5x5FDFcIsZ+ViayyQkNPRgW q++dzeynbmTIMXYtt5KUZQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZXBu-0003Zy-5m; Tue, 07 Mar 2023 08:17:24 -0500 In-Reply-To: (message from Andrea Corallo on Tue, 07 Mar 2023 11:16:40 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257448 Archived-At: > From: Andrea Corallo > Cc: No Wayman , 62004@debbugs.gnu.org > Date: Tue, 07 Mar 2023 11:16:40 +0000 > > Eli Zaretskii writes: > > > Andrea, any ideas? How come we never ran into this issue until now? > > I guess it's a very unlikely condition that was never > encountered/reported. > > > Is the default-directory value when native compilation is forked > > somehow derived from the directory of the file being compiled? > > If it is is not evident to me why. We spawan something of this kind > > /pathtoemacs/emacs -Q -batch -l /tmp/emacs-async-comp-something.el > > where emacs-async-comp-something.el contains the actual setup (where we > don't touch default-directory) and compilation command. > > I'm probably missing something ATM. Well, maybe we should bind the variable to be on the safe side? What if we bind it to the directory where we write that emacs-async-comp-something.el file?