Couldn't find obvious defaults for: data-directory lisp-directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacsen-common (Debian) |
Fix Released
|
Unknown
|
|||
xemacs21 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cscope
I was installing the cscope package with Synaptic when it complained about an error. From Synaptic's log (below), it appears that the error is related to Emacs, possibly installing an Emacs front-end to cscope, but that's just a guess.
I currently have these Emacs-related packages installed: emacs22-bin-common, emacs22-common, emacs22-gtk, emacs23, emacsen-common, gnuserv, xemacs21, xemacs21-
Synaptic log:
Selecting previously deselected package cscope.
(Reading database ... 269443 files and directories currently installed.)
Unpacking cscope (from .../cscope_
Processing triggers for man-db ...
Setting up cscope (15.7a-3) ...
emacsen-common: Handling install of emacsen flavor emacs
emacsen-common: Handling install of emacsen flavor emacs22
emacsen-common: byte-compiling for emacs22
Wrote /etc/emacs22/
Wrote /usr/share/
emacsen-common: Handling install of emacsen flavor xemacs21
emacsen-common: byte-compiling for xemacs21
WARNING:
Couldn't find obvious defaults for:
data-directory
lisp-directory
Perhaps some directories don't exist, or the XEmacs executable,
/usr/bin/xemacs21
is in a strange place?Loading /usr/share/
Loading 00debian...
Error while loading 00debian: Symbol's function definition is void: loop
Loading 00debian-vars...
No /etc/mailname. Reverting to default...
Loading 50a2ps...
Error while loading 50a2ps: Symbol's value as variable is void: a2ps-region
Loading 50autoconf...
Error while loading 50autoconf: No /usr/local/ prefixed paths in load-path
Loading 50ccrypt...
Loading 50dictionaries-
Error while loading 50dictionaries-
Loading 50git-core...
Symbol's function definition is void: batch-byte-compile
xemacs exiting
.
emacs-package-
dpkg: error processing cscope (--configure):
subprocess installed post-installation script returned error exit status 255
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up cscope (15.7a-3) ...
emacsen-common: Handling install of emacsen flavor emacs
emacsen-common: Handling install of emacsen flavor emacs22
emacsen-common: byte-compiling for emacs22
Wrote /etc/emacs22/
Wrote /usr/share/
emacsen-common: Handling install of emacsen flavor xemacs21
emacsen-common: byte-compiling for xemacs21
WARNING:
Couldn't find obvious defaults for:
data-directory
lisp-directory
Perhaps some directories don't exist, or the XEmacs executable,
/usr/bin/xemacs21
is in a strange place?Loading /usr/share/
Loading 00debian...
Error while loading 00debian: Symbol's function definition is void: loop
Loading 00debian-vars...
No /etc/mailname. Reverting to default...
Loading 50a2ps...
Error while loading 50a2ps: Symbol's value as variable is void: a2ps-region
Loading 50autoconf...
Error while loading 50autoconf: No /usr/local/ prefixed paths in load-path
Loading 50ccrypt...
Loading 50dictionaries-
Error while loading 50dictionaries-
Loading 50git-core...
Symbol's function definition is void: batch-byte-compile
xemacs exiting
.
emacs-package-
dpkg: error processing cscope (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
cscope
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: cscope 15.7a-3
ProcVersionSign
Uname: Linux 2.6.32-31-generic i686
NonfreeKernelMo
AptOrdering:
cscope: Install
cscope: Configure
Architecture: i386
Date: Sat May 28 15:48:33 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 255
SourcePackage: cscope
Title: package cscope 15.7a-3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 255
Changed in xemacs21 (Debian): | |
status: | Unknown → Fix Released |
Changed in emacsen-common (Debian): | |
status: | Unknown → New |
Changed in emacsen-common (Debian): | |
status: | New → Fix Released |
Changed in emacsen-common (Debian): | |
status: | Fix Released → New |
Changed in emacsen-common (Debian): | |
status: | New → Fix Released |
Changed in xemacs21 (Ubuntu): | |
status: | Confirmed → Fix Released |
The error left cscope in a failed-config state (although it worked fine for my purposes), and a subsequent update to an unrelated package produced the same error message. I didn't want to get in the habit of ignoring errors from the Update Manager, so I looked for a way to get cscope fully installed. Since I don't normally use the bundled XEmacs, I removed the xemacs21 packages (and gnuserv). dpkg now lists cscope as fully installed, and a subsequent update with the Update Manager completed without errors.