From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8ItCMpqwe2Ka+QAAbAwnHQ (envelope-from ) for ; Wed, 11 May 2022 14:48:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yLY1Mpqwe2KHIAEA9RJhRA (envelope-from ) for ; Wed, 11 May 2022 14:48:26 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 66F0127EC2 for ; Wed, 11 May 2022 14:48:26 +0200 (CEST) Received: from localhost ([::1]:42040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nollR-0000Vq-9j for larch@yhetil.org; Wed, 11 May 2022 08:48:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noleM-0007ba-Ga for emacs-orgmode@gnu.org; Wed, 11 May 2022 08:41:06 -0400 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:51167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noleK-0003kj-Qq for emacs-orgmode@gnu.org; Wed, 11 May 2022 08:41:06 -0400 Received: by mail-pj1-x102b.google.com with SMTP id iq10so2158682pjb.0 for ; Wed, 11 May 2022 05:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=pxHQq/maiALa+9oGH7X5rWVnxcgzZZpW+4EPQLKLyvg=; b=UZB7LfX0L8kYPG4tXPc0NS3zMUyqy5TQE0zQdX27XLPsMGnB0XhcFgckbsJnPbuwxC FxN3zsDMMvZ9hL8GLpQkH8LNoSrVgYqLBMSI2246hxadaJHdTXbjlQQB/7WIFV80bp1K N6kEK1jGN+slnn0rGUGqkBIlGdHQFGfanA6k0HNNIP12M4Mk+MVXWmFdYrzXD5eskMlK 2IwWokPO3HMLtLRaKr7tqv5QtsvIGcTBE1w7obGW2O10q0r35Z+1+/Afe2Fr1wwaRE/t EaEeBUXWwzLyuaO3/VoZcWPT2sqeM69Dixq3e19b5yO1qQJh3hIMVdwEgZg+TpSV1Q1T nWiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=pxHQq/maiALa+9oGH7X5rWVnxcgzZZpW+4EPQLKLyvg=; b=kYfgyPFgKK6Cn2otuzlXodSz0P1TOFR7Ca2aO6Qqs0CRwAyUpXVTbP3X7NogdemDg6 wm5TtJvaneMPgnnyV9pBDBSZblEDlHyAdilt9fxPsQwL4ro2sDm7hhJEsnpVTtIwMahd fVikTDkY3GJ5i2m2t52kkt6jiuMNxd9MRaDJ3J9Fy76mP/HbpWAhEHIzElgG3CE2p+Oo undz3qg9Z/4JvpysFtx+IYDOVC2pfiVFTZeI9z6QouFktoPQyNSnqCtKKeumkwEjjr+j A8hOtwpBxm2D3slPmQiF350BBwoJ10F2pgY0vMXYp/LsjWCEfeU3RieSaoQPtyzngkg9 0C7w== X-Gm-Message-State: AOAM533pHq117x0ni4Ds1xye3mMF000owUC+8mp0H0fX1Jgs97adzUf7 P10l+65lMQXb9vs6TW+d62U= X-Google-Smtp-Source: ABdhPJwVx1D8toip2EExvqVFjtW+jFjrpYC6+1rQZQGbedCcYlfI1fDWWFa9lSU2b0i+DI4oDefxfQ== X-Received: by 2002:a17:902:b412:b0:15e:dc07:4c14 with SMTP id x18-20020a170902b41200b0015edc074c14mr25323089plr.99.1652272863334; Wed, 11 May 2022 05:41:03 -0700 (PDT) Received: from localhost ([66.154.104.4]) by smtp.gmail.com with ESMTPSA id q6-20020a17090a430600b001dbe7ccdd4dsm3963134pjg.10.2022.05.11.05.41.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 05:41:02 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: orgmode , Stefan Kangas , Kyle Meyer Subject: Re: [BUG] org-babel-load-file can not compile file In-Reply-To: <4f9aaa16-65f3-574e-3245-a271ba4cf7cc@gmail.com> References: <4f9aaa16-65f3-574e-3245-a271ba4cf7cc@gmail.com> Date: Wed, 11 May 2022 20:41:47 +0800 Message-ID: <877d6sjl6c.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102b.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652273306; h=from:from:sender:sender: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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pxHQq/maiALa+9oGH7X5rWVnxcgzZZpW+4EPQLKLyvg=; b=nw7UKXKFvBK5NJpiOvUzLxLt1UQC9L+5fXTLout6db8dj3IyNG5awuq1aWA1z0jBFNrQp3 41gRacqoCGlLydadRnH13hNTou9acv8ku05fKQH28rV61s4/dcd7FXNwwinzwO1TB/g1yK R+cc8cTFaangR2kdqPZFTu6NB+yAdkP+5Ur49iumbP+zdj0vJld9sFtgQrzjJSXYOHiHL3 qY19U6GyNf8RMEjx1a63FbN5Z9xxcKhsulO1vqGxQz/TRA5wnUZQfN5MFDnh/guldhqAwg WDuWz7loKDNpXAOZBm87kvFxSlxX2xBV4X2dEza/IKgccj3KvjpzogcJA5AZRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652273306; a=rsa-sha256; cv=none; b=FpZKLdIG8zuPGYG6TMKJ8kULhneYihxx4XcoYTA60C2O1Fmu2itXXmVphaXVfkXbbLWwR8 i6iZDyYedOdAq7qUBOP2APy4n4b0B1cebrPFcx9ycnFGTUaRUUM6PEvLZzpa9pbekkZ/tX wIPG/L+euwdTGMJBHe9i9o+/abeJ/wvxenaXN4OF2rE+rKw7NGpz/kQ2KF5zJkyjnSHW3q pkcZOkqt75bzRICwSR2x0OC/qA8/Dufc+ZZjrlg705uPTI5rzPZRBcikfQXFMlPqUH1iY7 DkghG0nQUeuirPI8gA4A++1JxS4fRyIDI2wmHR1gAREeQ8OY5rcP6jHizP4qLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UZB7LfX0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UZB7LfX0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 66F0127EC2 X-Spam-Score: -4.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: /qNQju7pWiqI Max Nikulin writes: > Actual result: >> Compiling /home/ubuntu/examples/org/ex-ob-load-file.el...done >> Wrote /home/ubuntu/examples/org/ex-ob-load-file.elc >> progn: Cannot open load file: No such file or directory, ex-ob-load-file.el > > It seems, it is a regression caused by the Org commit > 0193b543e9ef84bfefe76d55e330d5b1cb842cef > >> - (byte-compile-file tangled-file 'load) >> + (byte-compile-file tangled-file) >> + (load tangled-file) What if you substitute the load call with (load (byte-compile-dest-file tangled-file))? Best, Ihor