unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.g0@libero.it>
To: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Cc: "henrik@grimler.se" <henrik@grimler.se>
Subject: Faiure building Emacs on Termux [Android]
Date: Fri, 6 Aug 2021 10:39:55 +0200 (CEST)	[thread overview]
Message-ID: <816707913.233540.1628239195717@mail1.libero.it> (raw)

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



                 reply	other threads:[~2021-08-06  8:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=816707913.233540.1628239195717@mail1.libero.it \
    --to=angelo.g0@libero.it \
    --cc=emacs-devel@gnu.org \
    --cc=henrik@grimler.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).