unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Faiure building Emacs on Termux [Android]
@ 2021-08-06  8:39 Angelo Graziosi
  0 siblings, 0 replies; only message in thread
From: Angelo Graziosi @ 2021-08-06  8:39 UTC (permalink / raw)
  To: emacs-devel@gnu.org; +Cc: henrik@grimler.se

Just for completeness (*) I want to flag this issue found on Termux (https://termux.com) with Android 11.

Last month I have built Emacs master successfully but now it fails with current master with:

[...]
Dumping under the name bootstrap-emacs.pdmp
Dumping fingerprint: 70b3a076b1a661ed4685908aa7877719d47b84852de10d10a5d512b682759d45
Dump complete
Byte counts: header=100 hot=7588292 discardable=117216 cold=4540520
Reloc counts: hot=422701 discardable=4490
make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
make[2]: Entering directory '/data/data/com.termux/files/usr/tmp/emacs-master/lisp'
  ELC      emacs-lisp/macroexp.elc
emacs: Cannot open load file: No such file or directory, debug
make[2]: *** [Makefile:301: emacs-lisp/macroexp.elc] Error 1
make[2]: Leaving directory '/data/data/com.termux/files/usr/tmp/emacs-master/lisp'
make[1]: *** [Makefile:800: bootstrap-emacs.pdmp] Error 2
make[1]: Leaving directory '/data/data/com.termux/files/usr/tmp/emacs-master/src'
make: *** [Makefile:443: src] Error 2
Error: Failure running MAKE


The last revision which builds is with this source:

https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-e56ad2cb0f0cff2b7c2359bc3fa0b432dfd571f5.tar.gz

(commit: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e56ad2cb0f0cff2b7c2359bc3fa0b432dfd571f5)

while the first that fails in that way is:

https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-e3b8ddd5005903465ec86823559a2e884c7b13f2.tar.gz

(commit: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e3b8ddd5005903465ec86823559a2e884c7b13f2)

To build I have applied the patches that Termux people uses for Emacs 27 (https://github.com/termux/termux-packages/tree/master/packages/emacs) and configured with:

[...]
In GNU Emacs 28.0.50 (build 1, aarch64-unknown-linux-android)
 of 2021-07-08 built on localhost
Configured using:
 'configure --prefix=/data/data/com.termux/files/usr/LocalApps/emacs-nox
 --build=aarch64-linux-android --without-pop --without-selinux
 --with-modules --with-x=no CACHE=-C CFLAGS=-O2'

Configured features:
ACL GMP GNUTLS LCMS2 LIBXML2 MODULES NOTIFY INOTIFY PDUMPER SECCOMP
THREADS ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
[...]


The compiler is:

$ clang -v
clang version 12.0.1
Target: aarch64-unknown-linux-android24
Thread model: posix
InstalledDir: /data/data/com.termux/files/usr/bin
Found candidate GCC installation: /data/data/com.termux/files/usr/bin/../lib/gcc/aarch64-linux-android/10.3.0
Found candidate GCC installation: /data/data/com.termux/files/usr/bin/../lib/gcc/aarch64-linux-android/11.1.0
Found candidate GCC installation: /data/data/com.termux/files/usr/lib/gcc/aarch64-linux-android/10.3.0
Found candidate GCC installation: /data/data/com.termux/files/usr/lib/gcc/aarch64-linux-android/11.1.0
Selected GCC installation: /data/data/com.termux/files/usr/lib/gcc/aarch64-linux-android/10.3.0
Candidate multilib: .;@m64
Selected multilib: .;@m64


Any idea about the build failure?

-----
(*) I know that you do not support this "platform" so this report is _just_ for the case someone is interested....



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-06  8:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06  8:39 Faiure building Emacs on Termux [Android] Angelo Graziosi

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).