From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Re: Help debugging a backtrace Date: Fri, 29 Apr 2016 21:36:51 +0000 Message-ID: References: <87wpniyiy6.fsf@gmail.com> <87mvoccdht.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1461965884 5250 80.91.229.3 (29 Apr 2016 21:38:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 21:38:04 +0000 (UTC) To: Michael Heerdegen , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 29 23:38:01 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awG6q-0004a6-14 for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 23:38:00 +0200 Original-Received: from localhost ([::1]:56447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awG6l-00009x-TV for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 17:37:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awG6P-0008Hz-IK for help-gnu-emacs@gnu.org; Fri, 29 Apr 2016 17:37:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awG6D-0008Eu-Cm for help-gnu-emacs@gnu.org; Fri, 29 Apr 2016 17:37:28 -0400 Original-Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]:33785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awG6C-00082h-3q for help-gnu-emacs@gnu.org; Fri, 29 Apr 2016 17:37:21 -0400 Original-Received: by mail-oi0-x232.google.com with SMTP id v145so100006472oie.0 for ; Fri, 29 Apr 2016 14:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=xx61Pe2sDm3zKcrLG1bdPKY8l/KZl7WrXDL3s5joqvE=; b=f1GkInj0HdskAG+ZhyXn6mo0KBWdYHzavB3Fy0DU6W996A/EVfQClxkHgHzxQHHw2i vs43OsSAF9MwA9+1u9eGhX0IK0WGitImApBLN6fp6VkHaVfEv05FRYaa0GvEiYnMHPmz 42gOKbpH2udy4zCfie2RLmm8X5a6v63q3oy+iMCWrbb2f16scN5twEgsvbylk8b8ZzSW QCjcY7/wRQy3zDqLSAZasOAN5VoKJFKslCXkx719QfymL7mV9Hqm+IiC2Gs06mFQQjnY jvOPGEcbvm+K0EqFAkWe4O0V9qtO95DbzsWaNJWf7retT0RLl/OAw7H2f3Un9/e6adww 2udg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=xx61Pe2sDm3zKcrLG1bdPKY8l/KZl7WrXDL3s5joqvE=; b=eyQBTbPd0b9jZU8gGlgOEdD7YkVs9Xtzqf35hj7JLymBUNmxXwOPx5qrzKyA+MfQ62 Qy5U7Cfr0KUjjKp3TkIdYWL7ao+RHhGdQfXbQCGnrLZCaObC0uka1xRp/yd/hjnRzhKx IJOySHH25yB7sUSc0dGVUQv0L9JbxWm23vLFLeG7w202GGjHuPu8B5fajIGsVTSmbz5t doTmMfRveuIESC7rQMeSRha31xqZ5O4cDalqjxtvXkT1/kWv5ClIPCjyFhlt6G0eulHu Kzr82Acxddaafkbm2uJ44mRHhzanHgKwd27McmY77Mped7VlmO2xqzncKkMAbpfXlk8z VBSQ== X-Gm-Message-State: AOPr4FVT9k9ygYsGnc0x3H8skNZ0D5QsuoNUmhEYr30gn4sBQl669oncocOyOb0rdvaH7QXvxqWDmHmkN8uQ7w== X-Received: by 10.157.6.80 with SMTP id 74mr10472023otn.164.1461965821956; Fri, 29 Apr 2016 14:37:01 -0700 (PDT) In-Reply-To: <87mvoccdht.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::232 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109840 Archived-At: > > 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