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