From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bhavin Gandhi Newsgroups: gmane.emacs.bugs Subject: bug#52376: 28.0.90; libdir is missing from native-comp-eln-load-path with GTK3 build Date: Fri, 10 Dec 2021 21:17:38 +0530 Message-ID: References: <83a6hbvw5d.fsf@gnu.org> <838rwvvtqs.fsf@gnu.org> <83zgpavoui.fsf@gnu.org> <83sfv0sncm.fsf@gnu.org> <83pmq4slb6.fsf@gnu.org> <83k0gcsee9.fsf@gnu.org> <83h7bgsdk0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24761"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52376@debbugs.gnu.org, akrl@sdf.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 10 16:49:17 2021 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 1mvi96-0006GC-Vc for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Dec 2021 16:49:16 +0100 Original-Received: from localhost ([::1]:60410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvi95-0000Ma-P4 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Dec 2021 10:49:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvi8w-0000MC-1L for bug-gnu-emacs@gnu.org; Fri, 10 Dec 2021 10:49:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvi8s-0000BN-5m for bug-gnu-emacs@gnu.org; Fri, 10 Dec 2021 10:49:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvi8r-0003ik-TD for bug-gnu-emacs@gnu.org; Fri, 10 Dec 2021 10:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bhavin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Dec 2021 15:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52376 X-GNU-PR-Package: emacs Original-Received: via spool by 52376-submit@debbugs.gnu.org id=B52376.163915130414248 (code B ref 52376); Fri, 10 Dec 2021 15:49:01 +0000 Original-Received: (at 52376) by debbugs.gnu.org; 10 Dec 2021 15:48:24 +0000 Original-Received: from localhost ([127.0.0.1]:47751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvi8G-0003hk-8o for submit@debbugs.gnu.org; Fri, 10 Dec 2021 10:48:24 -0500 Original-Received: from mail-yb1-f170.google.com ([209.85.219.170]:34350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvi8C-0003hP-52 for 52376@debbugs.gnu.org; Fri, 10 Dec 2021 10:48:23 -0500 Original-Received: by mail-yb1-f170.google.com with SMTP id y68so22351575ybe.1 for <52376@debbugs.gnu.org>; Fri, 10 Dec 2021 07:48:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XJHA2Ky9ZgKSTi2ollxvEdvx+QvPHm8qeYxQxr1t3zU=; b=Naq0gl03qtx/URPAPPXtU7id2cEtKgohAcQZsMTAGZ3PrOtIBRncu2sOr3YT9C5DLD bz7pMXQB4z4kwxjdqC+IpEZsURVTMYbSvPx4T9/HUQqQH+EQH0UErOZJoi6xAv93OVvf tokpE/hYDa7QHuqVrmwXRGN98LWpAhqy6m4aSZvOU/1LX+0+lJfUmnY2w5iC++1+C3yB Jp53quCBWPhywBCrgqFSYc58pdOmSwhI+uQi1nMLNFYP2uuDBqlaz0jxKFEVrJNhx4X8 7IoyPGbTACWZ+wxdm7yvo2FGp98mBQLggbBppcfPsP+VkPN8uqHQmVCM4gS7WFk7t6m7 B1hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XJHA2Ky9ZgKSTi2ollxvEdvx+QvPHm8qeYxQxr1t3zU=; b=IU+bk3773gUXvuxUgcLyz0zuszXBjbxaO9dZ2dQBnqIR4uv1U/E5gWmXwpxGCUozIz kaUoY46ZgjamPsLpEURhDEk9brq2spyGsLyRqThDqMHh0v5anza3zGspAeuJcSmlUnYY Ks5xgDWc+lOI4OEOqWomlgAQj05J2FI1SfC0SQOez+wEsSRQDb3qS66Qc6OgmHugF+/W wBlTzdorDrGYWn7Z2KPePpKGOyBqxfSD3AeouGVN15uIodPaFqtX4F5iHKmf8cdwKWT4 +SAE41EQ2+lylxToAl3HiO/HlCwEnBobsx550uCMdNHF0z9L+AB/nr4Zdh4A9wHuQTIz 9yCQ== X-Gm-Message-State: AOAM532lea6A8xyGTpxfGzzw9262CYj2UnqvRmHW7Zdg73e977qAt9I6 vxl+vw7yFsuOQvuTFG2gJh/lkYkZTCbTZm2ZS+4= X-Google-Smtp-Source: ABdhPJyVVoZJcDFcdVxeoNxx7ajoecPhfN6KbBTJDdSk5M7hSVP9fcRnWE61jFetPZyVulnD8NRaAy4DncqlnaG7SxA= X-Received: by 2002:a25:bfca:: with SMTP id q10mr14064290ybm.68.1639151294536; Fri, 10 Dec 2021 07:48:14 -0800 (PST) In-Reply-To: <83h7bgsdk0.fsf@gnu.org> 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:222073 Archived-At: On Fri, 10 Dec 2021 at 20:38, Eli Zaretskii wrote: > > Which probably means the .pdmp file is somehow devoid of > > natively-compiled code, i.e. it was produced by dumping the *.elc > > files, not the *.eln files? > > Does the command below show anything at all? > > $ strings /usr/bin/emacs-28.0.90.pdmp | fgrep .eln Only one string. $ strings /usr/bin/emacs-28.0.90.pdmp | fgrep .eln \.eln\' > Actually, thinking about it now: why is the emacs.pdmp file in > /usr/bin? It should be under /usr/libexec/emacs/28.0.90/. Yeah, I had to do it to support installation of different binaries like emacs, emacs-lucid, emacs-nox on the same system. The hardcoded case from emacs.c:917, which uses path_exec, looks only for the emacs.pdmp file and not the executable name i.e. emacs-28.0.90.pdmp in my case. /* Look for "emacs.pdmp" in PATH_EXEC. We hardcode "emacs" in "emacs.pdmp" so that the Emacs binary still works if the user copies and renames it. */