From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: master 5a125fb5a97 1/2: Update to Org 9.7.3 Date: Fri, 14 Jun 2024 09:49:02 +0000 Message-ID: <87le37onw1.fsf@localhost> References: <171796793548.23337.12512115872160390161@vcs2.savannah.gnu.org> <20240609211858.A2C31C1F9FB@vcs2.savannah.gnu.org> <87a5jtd403.fsf@yahoo.com> <87h6e1lhtd.fsf@kyleam.com> <868qzd9hjg.fsf@gnu.org> <871q53u75e.fsf@localhost> <8634pj7jni.fsf@gnu.org> <878qzbbp75.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15476"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Stefan Monnier , kyle@kyleam.com, emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 14 11:48:14 2024 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 1sI3XY-0003it-E9 for ged-emacs-devel@m.gmane-mx.org; Fri, 14 Jun 2024 11:48:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sI3Wt-0003dX-2n; Fri, 14 Jun 2024 05:47: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 1sI3Wr-0003d2-Fo for emacs-devel@gnu.org; Fri, 14 Jun 2024 05:47:29 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sI3Wp-0001tq-BV for emacs-devel@gnu.org; Fri, 14 Jun 2024 05:47:29 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id F35AE240107 for ; Fri, 14 Jun 2024 11:47:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1718358445; bh=XWVKweVn/IIG7hf4r1Y7UmBgb80D9eU8qBXcumUNj1o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=MI3cDYL3ddaoZTREQt/3EylACG1unPviM5QYvzclJYSwPkLufw0ZgVgMvEXJDkc7z WBFT+uBHylBaVIAA3MoPiKPaKOFSE3S9js+c+BmUDEPTh7sITCqjE+FORH9b2AiELM lIq3O1tyq2AzmYfhy9u0X8xnw84YHj38PtgKXiB0gMLLiuaI9vs0p/skjBVVQ11YRJ kpUc0FeY8MobQviWzVUWB6TtK0e444fVKvnfXRAv0IRc/bhX72f7uuricdbTIaSuov lj99PBANRtDDlwUU/P9WKbat+2P7x7j3uxmZuA9TKp/B57DktF9EacM/Dndk47CMjb 7g0Hq4ZWiJylw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W0vZh0L5yz6txh; Fri, 14 Jun 2024 11:47:24 +0200 (CEST) In-Reply-To: <878qzbbp75.fsf@gmail.com> Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320058 Archived-At: --=-=-= Content-Type: text/plain Robert Pluim writes: >>>>>> On Tue, 11 Jun 2024 15:23:29 +0300, Eli Zaretskii said: > >> > Why does it want to read a file from my home directory as part of > >> > building Emacs? That shouldn't happen. > >> > >> Agree. But I am unable to reproduce. > >> Could you please provide more information? > > Removing "~/.emacs.d/.org-id-locations" is enough for me: > > org-id-locations-load() > (if org-id-locations nil (org-id-locations-load)) > org-id-find-id-file("org-manual-get-export-props-customizations") > org-babel-ref-goto-headline-id("org-manual-get-export-props-customizations") > org-babel-expand-noweb-references(...) This reveals a serious problem. Org indeed must not examine id db on the build machine. I installed the fix on Org side: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=13fdbf73f However, this fix will only affect builds in Org git repo. Please install the attached equivalent fix for Emacs makefiles. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Do-not-search-local-id-db-when-building-Org-mode-man.patch >From 5fefaad5b1c3ca4d10d3208e782596d79de8ca18 Mon Sep 17 00:00:00 2001 Message-ID: <5fefaad5b1c3ca4d10d3208e782596d79de8ca18.1718358372.git.yantar92@posteo.net> From: Ihor Radchenko Date: Fri, 14 Jun 2024 11:45:00 +0200 Subject: [PATCH] Do not search local id: db when building Org mode manual * doc/misc/Makefile.in ($(1:.org=.texi)): Disable global id: database when building Org manual. This prevents the build from reaching out to local ID db on the build machine. Reported-by: Eli Zaretskii Link: https://yhetil.org/emacs-devel/868qzd9hjg.fsf@gnu.org/ --- doc/misc/Makefile.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index b26d3525a22..f1d03ff4b39 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in @@ -246,11 +246,14 @@ emacs = # release tarfile along with the others. # Work in srcdir (and use abs_top_builddir) so that +setupfile and # things like org-setup's "version" macro work. Sigh. +# Also, disable `org-id-track-globally' to make sure that link/target +# resolution never ever tries to reach local user id: database. define org_template $(1:.org=.texi): $(1) ${top_srcdir}/lisp/org/ox-texinfo.el $${AM_V_GEN}cd "$${srcdir}" && $${emacs} -l ox-texinfo \ --eval '(setq gc-cons-threshold 50000000)' \ --eval '(setq org-confirm-babel-evaluate nil)' \ + --eval '(setq org-id-track-globally nil)' \ -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@) endef -- 2.45.1 --=-=-= Content-Type: text/plain -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at --=-=-=--