GNU bug report logs - #6805
24.0.50; package--dir assumes that Emacs is installed

Previous Next

Package: emacs;

Reported by: Ævar Arnfjörð Bjarmason <avarab <at> gmail.com>

Date: Thu, 5 Aug 2010 20:09:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 6805 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Ævar Arnfjörð Bjarmason <avarab <at> gmail.com>
Cc: 6805 <at> debbugs.gnu.org
Subject: Re: bug#6805: 24.0.50; package--dir assumes that Emacs is installed
Date: Sun, 08 Aug 2010 16:33:57 -0400
Ævar Arnfjörð Bjarmason <avarab <at> gmail.com> writes:

> When I compile Emacs from Git and run it without doing "make install" I
> run into this in package.el:
>
>     (unless pkg-dir
>       (error "Internal error: could not find directory for %s-%s"
> 	     name version-str))

I can't reproduce this.  I run Emacs in place without `make install',
and have not encountered any such error.  Could you provide a precise
description of the error, such as the error message shown in echo area?

> It's failing that assertion because package--dir assumes that Emacs is
> already installed:
>
>     package-directory-list is a variable defined in `package.el'.
>     Its value is
>     ("/usr/local/share/emacs/24.0.50/site-lisp/elpa"
> "/usr/local/share/emacs/site-lisp/elpa")

It should not matter if these directories do not exist, but your bug
report does not provide enough information to tell for sure.




This bug report was last modified 14 years and 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.