From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Difficulties with elpa repository. Date: Thu, 26 Nov 2015 10:32:54 -0500 Message-ID: References: <20151125132923.GE2007@acm.fritz.box> <20151126142307.GC1738@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448552014 32736 80.91.229.3 (26 Nov 2015 15:33:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2015 15:33:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 26 16:33:26 2015 Return-path: Envelope-to: ged-emacs-devel@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 1a1yY0-0007Mc-MS for ged-emacs-devel@m.gmane.org; Thu, 26 Nov 2015 16:33:25 +0100 Original-Received: from localhost ([::1]:51777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1yY3-00047D-0C for ged-emacs-devel@m.gmane.org; Thu, 26 Nov 2015 10:33:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1yXk-00044w-JR for emacs-devel@gnu.org; Thu, 26 Nov 2015 10:33:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1yXg-0004Xl-PO for emacs-devel@gnu.org; Thu, 26 Nov 2015 10:33:08 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1yXg-0004Xh-Im for emacs-devel@gnu.org; Thu, 26 Nov 2015 10:33:04 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id tAQFX1Y2004627; Thu, 26 Nov 2015 10:33:02 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id CB73960084; Thu, 26 Nov 2015 10:32:54 -0500 (EST) In-Reply-To: <20151126142307.GC1738@acm.fritz.box> (Alan Mackenzie's message of "Thu, 26 Nov 2015 14:23:07 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5502=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5502> : inlines <4037> : streams <1544457> : uri <2090023> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195286 Archived-At: > OK. I call make with > PATH=~/path/to/emacs-25/src:$PATH make -k > , and I've inserted a "-Q" into the definition of EMACS in GNUMakefile. Welcome to "make"! Instead of the above, you could just do make -k EMACS="~/path/to/emacs-25/src/emacs -Q" > But I get a near infinite number of errors like: > Error loading autoloads: (file-error Cannot open load file No such > file or directory tex-site) Hmm... the way things normally work is as follows: - GNUmakefile ensures that all packages have a "-autoloads.el" file. - The "%.elc: %.el" rule of GNUmakefile runs Emacs, setting up package-user-dir as being the "../elpa/packages" directory, then calls package-initialize which should "activate" all package in there. - activation of auctex is done by loading packages/auctex/auctex-autoloads.el. - packages/auctex/auctex-autoloads.el begins by adding .../packages/auctex to `load-path'. - a bit later, packages/auctex/auctex-autoloads.el does "(require 'tex-site)". - this require succeeds because of the previous addition to load-path. So my best guess is that for some reason .../packages/auctex was not added to load-path by .../packages/auctex/auctex-autoloads.el. Can you check the contents of .../packages/auctex/auctex-autoloads.el? It should start with ;;; auctex-autoloads.el --- automatically extracted autoloads ;; ;;; Code: (add-to-list 'load-path (or (file-name-directory #$) (car load-path))) > , always complaining about the one file tex-site. tex-site.el is in the > auctex package. Have you any notion as to why so many files are trying > to load tex-site.el/c, and why they're not finding it? Every file is compiled by a separate Emacs process, which always starts by doing package-initialize, which will load tex-site. Stefan