From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Bremner Newsgroups: gmane.emacs.devel Subject: Re: Suppressing native compilation (short and long term) Date: Fri, 30 Sep 2022 14:32:51 -0300 Message-ID: <87mtagu5rw.fsf@tethera.net> References: <87bkqxf1ij.fsf@tethera.net> <877d1kx072.fsf@tethera.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13122"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, emacs-devel@gnu.org, akrl@sdf.org, rlb@defaultvalue.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 30 19:42:59 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oeK2M-0003Ci-S4 for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Sep 2022 19:42:58 +0200 Original-Received: from localhost ([::1]:56594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeK2L-0007u1-Pe for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Sep 2022 13:42:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeJsd-0003et-EC for emacs-devel@gnu.org; Fri, 30 Sep 2022 13:32:55 -0400 Original-Received: from fethera.tethera.net ([198.245.60.197]:46512) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeJsb-0004ZW-Vn; Fri, 30 Sep 2022 13:32:55 -0400 Original-Received: by fethera.tethera.net (Postfix, from userid 1001) id 6533C5FBC0; Fri, 30 Sep 2022 13:32:52 -0400 (EDT) Original-Received: (nullmailer pid 15959 invoked by uid 1000); Fri, 30 Sep 2022 17:32:51 -0000 In-Reply-To: <877d1kx072.fsf@tethera.net> Received-SPF: pass client-ip=198.245.60.197; envelope-from=david@tethera.net; helo=fethera.tethera.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 30 Sep 2022 13:39:00 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296530 Archived-At: David Bremner writes: > Stefan Monnier writes: > >> David Bremner [2022-09-30 10:13:56] wrote: >>> I think just turning off native compilation when HOME is not writeable >>> would be sensible from a Debian point of view. Emacs did not previously >> >> That's not the problem: the problem is when $HOME is writable but doesn't >> belong to the user (e.g. because the user is root): then Emacs ends up >> writing files (and creating directories) which then end up being >> "unwritable" by the owner of $HOME. > > That is _also_ a problem, but not the one causing many Debian packages > to fail to build from source. Sorry, that came off snappier than intended. You are of course correct that the issue you report is a real problem for users, I've just been up to my elbows for the last week or so dealing with the fallout of the problem I described. d