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: Mon, 3 May 2021 17:08:25 +0200 Message-ID: References: <83y2czc1og.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f9a20505c16e56be" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30146"; 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 Mon May 03 17:09:39 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 1ldaCY-0007es-TO for ged-emacs-devel@m.gmane-mx.org; Mon, 03 May 2021 17:09:39 +0200 Original-Received: from localhost ([::1]:53324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldaCY-0004R1-0C for ged-emacs-devel@m.gmane-mx.org; Mon, 03 May 2021 11:09:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldaBu-0003yf-W6 for emacs-devel@gnu.org; Mon, 03 May 2021 11:08:59 -0400 Original-Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:34607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldaBs-0004Rb-6f; Mon, 03 May 2021 11:08:58 -0400 Original-Received: by mail-lj1-x230.google.com with SMTP id p12so7196960ljg.1; Mon, 03 May 2021 08:08:54 -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=QymhIPIZDeo8ExXs8Wf/8wk62ncvW7qEM4q6Ici5Fig=; b=WnR4VZ8qZAKaKhXx74MXlfxxfIRPy79I9qYoWUXcWSxClOSp6aL50ffvdc4u04wOLj 3J6TsMdz0po3FsOkFN0A5t37mB7uxGyoS+809hSqQjXL5Fh70G9p1lRhkj/jsNzT4mOz YpQ1rnSJLiuC40DKFT7i25ISVm9TJ2V+rspTxf6JRumUMZavNc9ywF3viz0WwN5/uNFR zQw9OialzFjmzn7BRnvsLGAtwwWtHM0hwhml7fx6GvwHUmv5GD7H1L9wOwF8JqrcbkNm wbOePsC9OIAHuaoL7d3/o9E7bcPhU/z2UEpf398KRyz5LdTFpv5eiWAmbclyguD8Ef/+ 0gfA== 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=QymhIPIZDeo8ExXs8Wf/8wk62ncvW7qEM4q6Ici5Fig=; b=FVK72RNWZfd03fzVj7EHemiOIZBA2eJPJzgghtUrf/irgEbD/Ql5hiObqgJkurdJXO m6ayIm85UQIt6n9VH4CTgUxnGRh6f8h+Fux/x4CcKZ1wOBh6V2OZ42OS6+7D4R00MZov DlU3/FxM0ab+461xzveXzkwfLnDBY1zrhBb4+v4KyFFGj124/IvwTE1nfE9ZYdNHMOQf DW+Q0kLBMQtRnAK3Ota3Dq2jhzBeKX9zXyV1ACrHaDnsM3ESvMMT4QCekyRSmrQJ9+/F 6G9Ed8I4YlrwLxXyJU33uQP+baeSdelKacCP6N6PgY8PFfP6VhqUQBBM8wGJvPf+z136 0tHw== X-Gm-Message-State: AOAM531m16CXcWYtPbIdRQ/Ac2LxohqeweFMmsHo7TIFe16JNL0XP2p5 Egamo0CPFm5x+cREtVVVeMwW8tvIkUT6NijnerEJL/c5 X-Google-Smtp-Source: ABdhPJxVtrVkxQIxEekUlkFXqZ7mQnjI87XZxfzfx/ABe/9qbmieDW4udSjT6Cju5j1b2xGMCTjq48lz7EuEEnF284Q= X-Received: by 2002:a05:651c:212a:: with SMTP id a42mr13653165ljq.505.1620054533315; Mon, 03 May 2021 08:08:53 -0700 (PDT) In-Reply-To: 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:268817 Archived-At: --000000000000f9a20505c16e56be Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable More on this, I tried today with the same configuration and make NATIVE_FULL_AOT=3D1 The problem persists, whoever if I execute emacs from the source directory (.../emacs/src) it starts correctly. Just my .2 cents... /PA On Sat, 1 May 2021 at 10:40, Pedro Andres Aranda Gutierrez < paaguti@gmail.com> wrote: > 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 i= n > the original Makefile. > > Currently, I'm stumbling with the next stone in my path. I can't get emac= s > 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 GU= I > 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? >> > > > -- > Fragen sind nicht da um beantwortet zu werden, > Fragen sind da um gestellt zu werden > Georg Kreisler > --=20 Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler --000000000000f9a20505c16e56be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
More on this,
I tried today with the same c= onfiguration and
make = NATIVE_FULL_AOT=3D1
The problem persists, whoever if I exe= cute emacs from the source directory (.../emacs/src) it starts correctly.

Just my .2 cents...
/PA
On Sat, = 1 May 2021 at 10:40, Pedro Andres Aranda Gutierrez <paaguti@gmail.com> wrote:
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 tha= t compiles and creates an installable emacs package (for the GUI version on= ly) So it certainly was a problem of not setting sensible directories in th= e original Makefile.

Currently, I'm stumbling = with the next stone in my path. I can't get emacs to start:
<= br>
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-fi= le-prefix

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

Now compilin= g without native-comp gets me a perfectly working emacs in GUI and terminal= mode

Best,/PA

PS: Ma= ke process kernel.

confflags +=3D --prefix=3D/usr
confflags +=3D --sharedstatedi= r=3D/var/lib
confflags +=3D --program-suffix=3D28
# confflags +=3D --= with-modules=3Dyes
# Not yet
# confflags +=3D --with-native-compilati= on
# Gtk config options
confflags_gtk +=3D $(confflags)
confflags_= gtk +=3D --with-x
confflags_gtk +=3D --with-x-toolkit=3Dgtk3
confflag= s_gtk +=3D --with-cairo

make m= aintainer-clean
./au= togen.sh all
./configure $(confflags_gtk)
make # NATIVE_FULL_AOT=3D1
make DESTDIR=3D$(shell pwd)/debian/emac= s28 install

This creates an installation wh= ich is then transfered to the .deb package

On Fri, 30 Apr 2021 at = 16:00, Eli Zaretskii <= eliz@gnu.org> wrote:
> From: Pedro Andres Aranda Gutierrez <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 sind nicht da um beantworte= t zu werden,
Fragen sind da um gestellt zu werden
Georg K= reisler


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