From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46790: 28.1; Bug#46790 reintroduced; Was make install with native-comp Date: Sun, 26 Jun 2022 17:52:59 +0300 Message-ID: <834k07a33o.fsf@gnu.org> References: <87h7lzgtyv.fsf@posteo.net> <87pmiwt1x1.fsf@posteo.net> <83k0949dk0.fsf@gnu.org> <83bkufai17.fsf@gnu.org> <875yknbj6a.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24007"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46790@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 26 16:54:21 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 1o5TeW-00065e-DT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jun 2022 16:54:20 +0200 Original-Received: from localhost ([::1]:33784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5TeV-0005tT-C3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jun 2022 10:54:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5TeE-0005si-Ks for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 10:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5TeE-0008CG-D0 for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 10:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5TeE-0008Ib-BU for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 10:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 14:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46790 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 46790-submit@debbugs.gnu.org id=B46790.165625519231809 (code B ref 46790); Sun, 26 Jun 2022 14:54:02 +0000 Original-Received: (at 46790) by debbugs.gnu.org; 26 Jun 2022 14:53:12 +0000 Original-Received: from localhost ([127.0.0.1]:48600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5TdP-0008Gy-Ln for submit@debbugs.gnu.org; Sun, 26 Jun 2022 10:53:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5TdJ-0008Fh-N6 for 46790@debbugs.gnu.org; Sun, 26 Jun 2022 10:53:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5TdE-00086i-8h; Sun, 26 Jun 2022 10:53:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=XobQzzR8yHGFDomtKMOslAnRE6YJ7wLQyMBi7rTuitg=; b=Rkw6/mYelDFk ngD9jPuz3FttsPjyL0DO6u0wJfVeaCVF4gZqi1ncwyx6KZD7s2c9t22W3Acfl2mkYGcB7hSjQRF6x BjFNDD+XfqMwkUKmEBiixOFZew+pxhnsVWQWaY/YCKZbOIN0DOgKQwTCqp3EOsCAcCNJVGCfNHKPx H7smLExWX4xH+Jy6B3iisTuCpb4Rmluv23kcraXJYpMFiYfBr4ohbVRvEWId/Ex1KngGh1fZNWNSn SOVoDlsMcif2K8BEnW6hA3Y5+v9a58JdLrm0mWJnjdhI+X8pdWX5a1oivwFjERMfjsTJH5+WqB7qj 2K+rbtpR90oKA714zAFM9A==; Original-Received: from [87.69.77.57] (port=4042 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5TdD-0001co-OA; Sun, 26 Jun 2022 10:53:00 -0400 In-Reply-To: <875yknbj6a.fsf@posteo.net> (message from Thierry Volpiatto on Sun, 26 Jun 2022 14:19:32 +0000) 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:235342 Archived-At: > From: Thierry Volpiatto > Cc: 46790@debbugs.gnu.org > Date: Sun, 26 Jun 2022 14:19:32 +0000 > > >> > Error using execdir /usr/local/sbin/emacs-29.0.50/: > >> > emacs: /usr/local/sbin/emacs-29.0.50/../native-lisp/29.0.50-ca991e8a/preloaded/window-0d1b8b93-0c17e2d3.eln: cannot open shared object file: No such file or directory > >> > >> Please tell: > >> > >> . what is the directory where you installed the Emacs binary, the one > >> invoked when you start Emacs "normally" > >> . if that binary is a symlink, how is the symlink defined (is the > >> file itself a symlink or is the directory a symlink?), and where > >> does that symlink point > >> . what is the directory where you have the pdumper file, and what is > >> its name > >> . if the pdumper file is itself a symlink, please provide the same > >> details as for the Emacs binary > >> . where is the native-lisp/ directory with the *.eln files produced > >> during the build > >> > >> In each case, please show the full absolute name of the files I'm > >> asking about. > > > > In addition, please tell how you configured Emacs, i.e. please show > > the full command line with which you invoked the configure script. > > ./configure CFLAGS='-O8' --with-mailutils --with-cairo --with-native-compilation I think that's the problem: installing the binary in a directory other than $execdir/bin needs to configure with --bindir accordingly set. Emacs built with native compilation records at build time the way to get to native-lisp/ directory starting from the directory where the Emacs binary is installed, so you must use --bindir at configure time to let the build process know where the binary will be installed. It is no longer enough to set bindir only at "make install" time. Emacs 28.1, as released, could work without --bindir, but that was at a price of effectively dropping the support for --bindir configure-time switch, something I don't want to do, since it's a regression. So please try re-configuring with ./configure CFLAGS='-O8' --bindir=/usr/local/sbin/emacs-29.0.50 --with-mailutils --with-cairo --with-native-compilation and tell if the problem is solved by that after you install the resulting binary. Thanks.