help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Help debugging a backtrace


From: Kaushal Modi
Subject: Re: Help debugging a backtrace
Date: Fri, 29 Apr 2016 21:36:51 +0000

>
> Looking for some code that `require's finder-inf would be a start.
>

There's no occurrence of (require 'finder-inf) in my ~/.emacs.d/ (so that
includes the installed packages too). I had one package help-fns+ that had
that. So I uninstalled that, and I still get this error.

Then the only occurrences of that form are in the emacs elisp source code:

lisp/emacs-lisp/package.el
629:        (require 'finder-inf nil t) ; For `package--builtins'.
1295:  (require 'finder-inf nil t)
2167:     (require 'finder-inf nil t)
3356:  (require 'finder-inf nil t)
3394:  (require 'finder-inf nil t)

lisp/finder.el
36:(require 'finder-inf nil t)

test/automated/package-test.el
404:  (require 'finder-inf)

That makes sense because that error shows up after I (require 'package).
But that does not explain why the same is fine on my linux machine but not
on my phone. What dependencies could be missing on my phone's build that's
causing this.

Here is the build info for emacs built for Termux:

Emacs version: GNU Emacs 25.0.93 (aarch64-unknown-linux-android)
of 2016-04-29, built using commit .

./configure options:
--disable-dependency-tracking --prefix=/data/data/com.termux/files/usr
--disable-rpath --disable-rpath-hack --host=aarch64-linux-android
--without-x --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no
--with-tiff=no --without-gconf --without-gsettings --with-gnutls
--with-xml2 emacs_cv_sanitize_address=yes emacs_cv_prog_cc_nopie=no
--disable-nls --enable-shared --disable-static
--libexecdir=/data/data/com.termux/files/usr/libexec
'CFLAGS=-specs=/home/fornwall/dc/termux.spec -Os'
CPPFLAGS=-I/data/data/com.termux/files/usr/include
'LDFLAGS=-specs=/home/fornwall/dc/termux.spec
-L/data/data/com.termux/files/usr/lib
-Wl,-rpath-link,/data/data/com.termux/files/usr/lib
-Wl,-rpath-link,/home/fornwall/lib/android-standalone-toolchain-aarch64-api21-gcc4.9/sysroot/usr/lib'

Features:
NOTIFY GNUTLS LIBXML2 ZLIB

Does that ./configure have any red flags?


> BTW, `load-history' is in chronological order, the position of the
> faulty entry in the list might give some hints as well.
>

I know that the problem occurs as soon as I require package, even before I do
package-initialize or require any of my installed packages (I commented out
everything in my config after requiring package). If I comment out even the
(require 'package), which means that my config is as good as emacs -Q, this
problem goes away.

So debugging this seems to be out of reach of my basic elisp debugging fu.
-- 

-- 
Kaushal Modi


reply via email to

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