emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to build a .deb on Ubuntu 20.04 wiht native-comp


From: Andrea Corallo
Subject: Re: Trying to build a .deb on Ubuntu 20.04 wiht native-comp
Date: Wed, 28 Apr 2021 07:42:38 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]