From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: Re: Weird directories after compiling emacs native mode and creating .deb package Date: Sat, 1 May 2021 10:40:23 +0200 Message-ID: References: <83y2czc1og.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000090a1ad05c140afdc" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29992"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 01 10:42:26 2021 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 1lclCj-0007fc-AY for ged-emacs-devel@m.gmane-mx.org; Sat, 01 May 2021 10:42:25 +0200 Original-Received: from localhost ([::1]:55236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lclCi-0003Y6-Cy for ged-emacs-devel@m.gmane-mx.org; Sat, 01 May 2021 04:42:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lclBK-0002Gt-He for emacs-devel@gnu.org; Sat, 01 May 2021 04:40:58 -0400 Original-Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:45750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lclBG-00013Y-HW; Sat, 01 May 2021 04:40:58 -0400 Original-Received: by mail-lj1-x230.google.com with SMTP id d15so925605ljo.12; Sat, 01 May 2021 01:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uqgC/f5TU8i3qETKmnxMGCP5DhGxsplu6quYQl3LuZs=; b=X6+Kor05fSoa5JeH0eOURXjfFgubSk9SGNoeVLSlj2RsV3OS7s04ZkvHfntSSmJFn9 C/u9kFpCE1Z68O7jFqbaI6gGLKP3vBbJ+7Ew0GE93fNzbQXtXcdxU0RKZcF+OLRzO1r4 QjDylC9K+tmP9BUhiwd+edMeACVa7Qkqr7UVs0XdQQpmKQSXL21onqZw+8UCdw3u8Txp JixIBSXJrtCykppGfpuF1y1mkVWb80nn7YPZ/JrnGjWzUCAAWBoatGz/gqtw+oeM/5n3 CA4H8VleYQv2Ei0m8DHn6OTJaEGneUejzZ5uP0j4/ykVcooVj7J8usFJzQkyD5216bQS 4KQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uqgC/f5TU8i3qETKmnxMGCP5DhGxsplu6quYQl3LuZs=; b=PcvSWO8ziLnhmSkzJoyeCBjJLc6YABl63neFCJfN88J/qwjre9Pqo3bgdODB7aXvJ/ RxDHh11nhfBdLFNisMZq0aJHmHpPgJeXi+ysAB3x3Hn00OYC8HR3Xc19b2LnwSaVuhhh cod9WD/g0myag/N/gU0pNxOdB6PUmOTb5RhB+XM5PSOReSqbZ+6V2dKZmiVghCc5I87l waEe90yZzBDQQtQYQgO6zG9OChNp4FP+DkeZA+9AwApgFqG2BqXPnvE/dd84Sbmtpasf /lC7GTDSAx893LGpx6Nt81ZvRotA5na/a8gB3aOcI3aJvW/AYnvvzzMiu0XG4nwY0D3R y47Q== X-Gm-Message-State: AOAM533x1yeHww7w238ol+qjtxiPLxRCIO5CH3NopURcEsRdxCJOUh9n 3Ljt9c1Vg2d5w8Fvm3zdHkL5y4KvYzyhgPUH/LhhLl1FwuE= X-Google-Smtp-Source: ABdhPJxayYuSg4n4o54xY+jVLhf5WIGewxnM5325Oa7rFzpMFflMkbP9HbCAzSPrfFppsa0v3z8ySr54x+SJd/zNb+U= X-Received: by 2002:a05:651c:2042:: with SMTP id t2mr4718174ljo.435.1619858451111; Sat, 01 May 2021 01:40:51 -0700 (PDT) In-Reply-To: <83y2czc1og.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=paaguti@gmail.com; helo=mail-lj1-x230.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:268703 Archived-At: --00000000000090a1ad05c140afdc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Eli,all in an effort to answer you last email, I started cleaning up by debina/rules (aka Makefile) and have come up with a simpler setup that compiles and creates an installable emacs package (for the GUI version only) So it certainly was a problem of not setting sensible directories in the original Makefile. Currently, I'm stumbling with the next stone in my path. I can't get emacs to start: emacs =E2=9E=A4 emacs Symbol=E2=80=99s value as variable is void: auto-save-list-file-prefix If I start it in terminal mode, I get it to build the frames, but I get the same message on the mini-buffer and it doesn't load any file. Now compiling without native-comp gets me a perfectly working emacs in GUI and terminal mode Best,/PA PS: Make process kernel. confflags +=3D --prefix=3D/usr confflags +=3D --sharedstatedir=3D/var/lib confflags +=3D --program-suffix=3D28 # confflags +=3D --with-modules=3Dyes # Not yet # confflags +=3D --with-native-compilation # Gtk config options confflags_gtk +=3D $(confflags) confflags_gtk +=3D --with-x confflags_gtk +=3D --with-x-toolkit=3Dgtk3 confflags_gtk +=3D --with-cairo make maintainer-clean ./autogen.sh all ./configure $(confflags_gtk) make # NATIVE_FULL_AOT=3D1 make DESTDIR=3D$(shell pwd)/debian/emacs28 install This creates an installation which is then transfered to the .deb package On Fri, 30 Apr 2021 at 16:00, Eli Zaretskii wrote: > > From: Pedro Andres Aranda Gutierrez > > Date: Fri, 30 Apr 2021 13:52:58 +0200 > > > > can someone enlighten me why the following is happening: > > > > emacs =E2=9E=A4 emacs > > > Error using execdir > /usr/lib/x86_64-linux-gnu/emacs/28.0.50/x86_64-linux-gnu/../../../../bin/= : > > emacs: > > > /usr/lib/x86_64-linux-gnu/emacs/28.0.50/x86_64-linux-gnu/../../../../bin/= ../native-lisp/28.0.50-b0a588b0/preloaded/window-98dcc46c-8d15fa51.eln: > > cannot open shared object file: No such file or directory > > emacs =E2=9E=A4 find /usr/lib -name native-lisp > > > /usr/lib/x86_64-linux-gnu/emacs/28.0.50/native-lisp > > emacs =E2=9E=A4 which emacs > > > /usr/bin/emacs > > emacs =E2=9E=A4 ls -l $(which emacs) > > > lrwxrwxrwx 1 root root 23 abr 30 13:43 /usr/bin/emacs -> > /etc/alternatives/emacs > > emacs =E2=9E=A4 realpath $(which emacs) > > > /usr/bin/emacs-28.0.5028 > > Please describe how you configured the build and how you installed the > built Emacs. That is, what were your full 'configure' command line > and the fill "make install" command line? Also, where is the > emacs.pdmp file that corresponds to the installed Emacs binary? > --=20 Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler --00000000000090a1ad05c140afdc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Eli,all

in an effort to a= nswer you last email, I started cleaning up by debina/rules (aka Makefile) = and have come up with a simpler setup that compiles and creates an installa= ble emacs package (for the GUI version only) So it certainly was a problem = of not setting sensible directories in the original Makefile.
Currently, I'm stumbling with the next stone in my path. I = can't get emacs to start:

emacs =E2=9E=A4 emacs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Symbol=E2=80=99s value = as variable is void: auto-save-list-file-prefix

If I start it in terminal mode, I get it to build the frames, but = I get the same message on the mini-buffer and it doesn't load any file.=

Now compiling without native-comp gets me a perfe= ctly working emacs in GUI and terminal mode

Best,/= PA

PS: Make process kernel.

=
confflags +=3D --prefix=3D= /usr
confflags +=3D --sharedstatedir=3D/var/lib
confflags +=3D --prog= ram-suffix=3D28
# confflags +=3D --with-modules=3Dyes
# Not yet
# = confflags +=3D --with-native-compilation
# Gtk config options
conffla= gs_gtk +=3D $(confflags)
confflags_gtk +=3D --with-x
confflags_gtk += =3D --with-x-toolkit=3Dgtk3
confflags_gtk +=3D --with-cairo

make maintainer-clean
./autogen.sh all
./configure $(conffl= ags_gtk)
make # NAT= IVE_FULL_AOT=3D1
ma= ke DESTDIR=3D$(shell pwd)/debian/emacs28 install

This creates an installation which is then transfered to the .deb pac= kage

On Fri, 30 Apr 2021 at 16:00, Eli Zaretskii <eliz@gnu.org> wrote:
> From: Pedro Andres Aranda Gutierrez &= lt;paaguti@gmail.com= >
> Date: Fri, 30 Apr 2021 13:52:58 +0200
>
> can someone enlighten me why the following is happening:
>
> emacs =E2=9E=A4 emacs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
> Error using execdir /usr/lib/x86_64-linux-gnu/emacs/28.0.50/x86_64-lin= ux-gnu/../../../../bin/:
> emacs:
> /usr/lib/x86_64-linux-gnu/emacs/28.0.50/x86_64-linux-gnu/../../../../b= in/../native-lisp/28.0.50-b0a588b0/preloaded/window-98dcc46c-8d15fa51.eln:<= br> > cannot open shared object file: No such file or directory
> emacs =E2=9E=A4 find /usr/lib -name native-lisp=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
> /usr/lib/x86_64-linux-gnu/emacs/28.0.50/native-lisp
> emacs =E2=9E=A4 which emacs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0
> /usr/bin/emacs
> emacs =E2=9E=A4 ls -l $(which emacs)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > lrwxrwxrwx 1 root root 23 abr 30 13:43 /usr/bin/emacs -> /etc/alter= natives/emacs
> emacs =E2=9E=A4 realpath $(which emacs)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
> /usr/bin/emacs-28.0.5028

Please describe how you configured the build and how you installed the
built Emacs.=C2=A0 That is, what were your full 'configure' command= line
and the fill "make install" command line?=C2=A0 Also, where is th= e
emacs.pdmp file that corresponds to the installed Emacs binary?


--
Fragen sin= d nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu= werden
Georg Kreisler
--00000000000090a1ad05c140afdc--