From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#51308: bug#52138: 29.0.50; Some tests fail on emba when run with native compilation Date: Sat, 12 Mar 2022 22:32:57 +0100 Message-ID: <87pmmqyhyu.fsf_-_@gnus.org> References: <87o87jlfr7.fsf@gnus.org> <87o87jgga3.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28783"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 52138@debbugs.gnu.org, Andrea Corallo To: 51308@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 12 22:34:09 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 1nT9NJ-0007Hz-59 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Mar 2022 22:34:09 +0100 Original-Received: from localhost ([::1]:33298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nT9NH-0000R3-PW for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Mar 2022 16:34:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT9NC-0000Qm-AY for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 16:34:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nT9NC-000715-1w for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 16:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nT9NB-0003Vj-VQ for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 16:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Mar 2022 21:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51308 X-GNU-PR-Package: emacs Original-Received: via spool by 51308-submit@debbugs.gnu.org id=B51308.164712079113432 (code B ref 51308); Sat, 12 Mar 2022 21:34:01 +0000 Original-Received: (at 51308) by debbugs.gnu.org; 12 Mar 2022 21:33:11 +0000 Original-Received: from localhost ([127.0.0.1]:40950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT9MN-0003UU-C9 for submit@debbugs.gnu.org; Sat, 12 Mar 2022 16:33:11 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:53134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT9MK-0003UD-Ug; Sat, 12 Mar 2022 16:33:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Mqmkw3Nb2NHvTHJlsA26YUc+ebO+qGTYa0L14TH559k=; b=JLoQzoFuDP/TnT7MwRPpGINvfZ +r+OLxS0HrOHUw/5bBCJtcEwTq4WwO9xb3DxuAHPas3OUpYxnnBrA8xviDTgs1wEmo4f9nhoJu32X kMxTzrWGkuLTfQVpOpudSzcQlIRAsOEwArHtyjhuYKRPA6mUBe6oXrtHQk6KCmvKS+Vc=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nT9MC-0003lK-6L; Sat, 12 Mar 2022 22:33:02 +0100 In-Reply-To: <87o87jgga3.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 21 Oct 2021 06:20:36 +0200") 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:228262 Archived-At: Lars Ingebrigtsen writes: > This is a bug-ish. If dired isn't natively-compiled: > > (locate-file "dired" load-path (get-load-suffixes)) > => "/home/larsi/src/emacs/trunk/lisp/dired.elc" > > But if it is, then we return the .el file instead: > > (locate-file "dired" load-path (get-load-suffixes)) > => "/home/larsi/src/emacs/trunk/lisp/dired.el" > > But load-history has: > > ("/home/larsi/src/emacs/emacs-28/lisp/dired.elc" > > Which means that we can't find the .elc file by looking into > load-history based on locate-file. > > Returning the .elc file would fix this, but I don't know what other > repercussions there might be. I've now done this change (which fixes this test failure), and I don't see any other regressions, so I've pushed it to Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no