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#55743: 28.1.50; No directory error in comp-run-async-workers Date: Wed, 01 Jun 2022 05:33:16 +0300 Message-ID: <83leuhgljn.fsf@gnu.org> References: <86y1yhsxin.fsf@mail.linkov.net> <83wne1h66x.fsf@gnu.org> <86wne1trce.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29216"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55743@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 01 04:34:14 2022 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 1nwEBZ-0007PN-Dj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Jun 2022 04:34:13 +0200 Original-Received: from localhost ([::1]:45310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwEBY-00043u-4c for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 May 2022 22:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwEBO-00043i-8t for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 22:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwEBN-0005o8-Va for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 22:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwEBN-0002iG-M2 for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 22:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Jun 2022 02:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55743 X-GNU-PR-Package: emacs Original-Received: via spool by 55743-submit@debbugs.gnu.org id=B55743.165405079810374 (code B ref 55743); Wed, 01 Jun 2022 02:34:01 +0000 Original-Received: (at 55743) by debbugs.gnu.org; 1 Jun 2022 02:33:18 +0000 Original-Received: from localhost ([127.0.0.1]:49309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwEAg-0002hG-Du for submit@debbugs.gnu.org; Tue, 31 May 2022 22:33:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwEAd-0002h3-VP for 55743@debbugs.gnu.org; Tue, 31 May 2022 22:33:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwEAY-0005jK-DG; Tue, 31 May 2022 22:33:10 -0400 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=sRiF2TEgVtsyc+9pRnjH5zk0liCfF8uXPxI34fUtwuY=; b=ZdB2jYDxOLkd S8Bc2VZoH4zi41mMJRCsrF6GmQmOYwV7SajB8vUAt/5ngPBIHj5AEEOcphu/7+h/Aq6M+LM4eTnZ+ aalzAOhbqf1QoKwsWCtt4fVFLqMwU2SfMNaU5ETHvUlGz+mThvuhPmK7pevZviKmLtWkbsALW7McL SHBhcFei6jnJ/5GnybWtoWFQvgqDG9jtOY6Ls2N/bmFZRfbQAbesSbMKmprqwplXfyQZX1Oh1VNlN ZphzbtW1Wx6zj6jW9MIbXlF2cdxqZp/m/L/0JGeT0Jub6ikiZcsgTaDVi+hFNuBE+sTFLKn6/iNZt MzPmGPVAsYtxiGpGBFxzAg==; Original-Received: from [87.69.77.57] (port=2801 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 1nwEAX-00070F-TA; Tue, 31 May 2022 22:33:10 -0400 In-Reply-To: <86wne1trce.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 31 May 2022 22:49:37 +0300) 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:233473 Archived-At: > From: Juri Linkov > Cc: 55743@debbugs.gnu.org > Date: Tue, 31 May 2022 22:49:37 +0300 > > >> and why comp-run-async-workers tries to run a process in such arbitrary invalid dirs. > > > > It is not comp-run-async-workers that does it, it's the low-level > > infrastructure in subroutines of make-process: it makes sure the > > directory in which the process will run is valid, and if it isn't > > signals an error. > > Shouldn't native compilation run in the directory where the emacs > source files are located instead of running in the default directory > of an arbitrary buffer that might be invalid? No, because native compilation could be invoked to compile a file that has nothing to do with the Emacs source tree, e.g., some file of the user or some 3rd-party package installed in some arbitrary place.