unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Trying to build a .deb on Ubuntu 20.04 wiht native-comp
@ 2021-04-28  5:41 Pedro Andres Aranda Gutierrez
  2021-04-28  7:42 ` Andrea Corallo via Emacs development discussions.
  0 siblings, 1 reply; 4+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2021-04-28  5:41 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]

Hi

I'm trying to build Debian packages for Ubuntu20.04 with native-comp on and
I regularly end up:

gcc: error: fringe.o: No such file or directory
gcc: error: image.o: No such file or directory
gcc: error: xgselect.o: No such file or directory
gcc: error: terminfo.o: No such file or directory
gcc: error: lastfile.o: No such file or directory
make[3]: *** [Makefile:632: temacs] Error 1
make[3]: Leaving directory '/home/paag/Devel/emacs/emacs/build/gtk/src'
make[2]: *** [Makefile:425: src] Error 2
make[2]: Leaving directory '/home/paag/Devel/emacs/emacs/build/gtk'
dh_auto_build: error: cd build/gtk && make -j4 NATIVE_FULL_AOT=1 returned
exit code 2
make[1]: *** [debian/rules:114: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/paag/Devel/emacs/emacs'
make: *** [debian/rules:172: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2

The only flag I have enabled is for native compilation. If I disable native
compilation, I can build emacs28 flawlessly. Is anyone else trying
something similar? I'd like to exchange experiences. having the Debian
packages is more cumbersome than just compiling, but it allows me to switch
between versions easier

Best, /PA
-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

[-- Attachment #2: Type: text/html, Size: 1785 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trying to build a .deb on Ubuntu 20.04 wiht native-comp
  2021-04-28  5:41 Trying to build a .deb on Ubuntu 20.04 wiht native-comp Pedro Andres Aranda Gutierrez
@ 2021-04-28  7:42 ` Andrea Corallo via Emacs development discussions.
  2021-04-28  9:59   ` Pedro Andres Aranda Gutierrez
  0 siblings, 1 reply; 4+ messages in thread
From: Andrea Corallo via Emacs development discussions. @ 2021-04-28  7:42 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: emacs-devel

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> Hi
>
> I'm trying to build Debian packages for Ubuntu20.04 with native-comp on and I regularly end up:
>
> gcc: error: fringe.o: No such file or directory
> gcc: error: image.o: No such file or directory
> gcc: error: xgselect.o: No such file or directory
> gcc: error: terminfo.o: No such file or directory
> gcc: error: lastfile.o: No such file or directory
> make[3]: *** [Makefile:632: temacs] Error 1
> make[3]: Leaving directory '/home/paag/Devel/emacs/emacs/build/gtk/src'
> make[2]: *** [Makefile:425: src] Error 2
> make[2]: Leaving directory '/home/paag/Devel/emacs/emacs/build/gtk'
> dh_auto_build: error: cd build/gtk && make -j4 NATIVE_FULL_AOT=1 returned exit code 2
> make[1]: *** [debian/rules:114: override_dh_auto_build] Error 2
> make[1]: Leaving directory '/home/paag/Devel/emacs/emacs'
> make: *** [debian/rules:172: build] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
>
> The only flag I have enabled is for native compilation. If I disable native compilation, I can build emacs28 flawlessly.
> Is anyone else trying something similar? I'd like to exchange experiences. having the Debian packages is more cumbersome
> than just compiling, but it allows me to switch between versions easier 

Hi Pedro,

mmhh that's odd, the error doens't look realted to native compilation.

But could you clarify what "trying to build a .deb" translates too?
Please share the commands you used for this so it can be reproduced
and/or better analyzed.

Thanks

  Andrea



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trying to build a .deb on Ubuntu 20.04 wiht native-comp
  2021-04-28  7:42 ` Andrea Corallo via Emacs development discussions.
@ 2021-04-28  9:59   ` Pedro Andres Aranda Gutierrez
  2021-04-28 19:07     ` Andrea Corallo via Emacs development discussions.
  0 siblings, 1 reply; 4+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2021-04-28  9:59 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 2656 bytes --]

Hi Andrea,

Thanks for answering

I have been using the debian/rules debian/... used to build the .deb
packages for emacs-26 changing and adapting them for emacs27 and now
emacs28 (without --native-comp) at the beginning and now I'm switching to
native-comp.

I could get rid of the last message by recloning the emacs/master repo. Now
I'm stuck at install-eln with

find: ‘native-lisp’: No such file or directory
find: ‘native-lisp’: No such file or directory
make[2]: *** [Makefile:756: install-eln] Error 1
make[2]: *** Waiting for unfinished jobs....

My next guess is hat I'm trying to build the gtk and the nox versions in
parallel. I'm trying to reduce the build to gtk only. More news to follow
(if you are interested) ;-)

Ciao, /PA


On Wed, 28 Apr 2021 at 09:42, Andrea Corallo <akrl@sdf.org> wrote:

> Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
>
> > Hi
> >
> > I'm trying to build Debian packages for Ubuntu20.04 with native-comp on
> and I regularly end up:
> >
> > gcc: error: fringe.o: No such file or directory
> > gcc: error: image.o: No such file or directory
> > gcc: error: xgselect.o: No such file or directory
> > gcc: error: terminfo.o: No such file or directory
> > gcc: error: lastfile.o: No such file or directory
> > make[3]: *** [Makefile:632: temacs] Error 1
> > make[3]: Leaving directory '/home/paag/Devel/emacs/emacs/build/gtk/src'
> > make[2]: *** [Makefile:425: src] Error 2
> > make[2]: Leaving directory '/home/paag/Devel/emacs/emacs/build/gtk'
> > dh_auto_build: error: cd build/gtk && make -j4 NATIVE_FULL_AOT=1
> returned exit code 2
> > make[1]: *** [debian/rules:114: override_dh_auto_build] Error 2
> > make[1]: Leaving directory '/home/paag/Devel/emacs/emacs'
> > make: *** [debian/rules:172: build] Error 2
> > dpkg-buildpackage: error: debian/rules build subprocess returned exit
> status 2
> >
> > The only flag I have enabled is for native compilation. If I disable
> native compilation, I can build emacs28 flawlessly.
> > Is anyone else trying something similar? I'd like to exchange
> experiences. having the Debian packages is more cumbersome
> > than just compiling, but it allows me to switch between versions easier
>
> Hi Pedro,
>
> mmhh that's odd, the error doens't look realted to native compilation.
>
> But could you clarify what "trying to build a .deb" translates too?
> Please share the commands you used for this so it can be reproduced
> and/or better analyzed.
>
> Thanks
>
>   Andrea
>


-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

[-- Attachment #2: Type: text/html, Size: 3491 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trying to build a .deb on Ubuntu 20.04 wiht native-comp
  2021-04-28  9:59   ` Pedro Andres Aranda Gutierrez
@ 2021-04-28 19:07     ` Andrea Corallo via Emacs development discussions.
  0 siblings, 0 replies; 4+ messages in thread
From: Andrea Corallo via Emacs development discussions. @ 2021-04-28 19:07 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: emacs-devel

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> Hi Andrea,
>
> Thanks for answering
>
> I have been using the debian/rules debian/... used to build the .deb packages for emacs-26 changing and adapting them for
> emacs27 and now emacs28 (without --native-comp) at the beginning and now I'm switching to native-comp.

Hi Pedro,

sorry I've no precise idea of what debian/rules debian/... are or what
they are doing exactly.  Could you use directly our plain git repository
and try with that?  Also if you are seeking for help make sure to share
all the commands used otherwise is really hard to help.

Thanks

  Andrea



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-28 19:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28  5:41 Trying to build a .deb on Ubuntu 20.04 wiht native-comp Pedro Andres Aranda Gutierrez
2021-04-28  7:42 ` Andrea Corallo via Emacs development discussions.
2021-04-28  9:59   ` Pedro Andres Aranda Gutierrez
2021-04-28 19:07     ` Andrea Corallo via Emacs development discussions.

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).