Talk About Network

Google





Software > Linux Debian Maint Emacsen > Trouble with by...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 11 Topic 730 of 742
Post > Topic >>

Trouble with byte-compiling .el files on Emacs update

by Hilko Bengen <bengen@[EMAIL PROTECTED] > Jul 27, 2008 at 12:00 AM

An emacs22 upgrade that was recently installed broke when it tried to
byte-compile a part of sepia (for which I maintain the Debian
package). This is the output I got when I tried to reinstall the
emacs22-gtk package:

$ sudo apt-get --reinstall install emacs22-gtk
[...]
emacs-install emacs22
install/a2ps: Handling install for emacsen flavor emacs22
Wrote /usr/share/emacs22/site-lisp/a2ps/a2ps.elc
Wrote /usr/share/emacs22/site-lisp/a2ps/a2ps-print.elc
[...]
Wrote /usr/share/emacs22/site-lisp/sepia/sepia-cpan.elc
Wrote /usr/share/emacs22/site-lisp/sepia/sepia.elc
Wrote /usr/share/emacs22/site-lisp/sepia/sepia-ido.elc
Source file `/usr/share/emacs22/site-lisp/sepia/snippet.el' newer than
byte-compiled file
Wrote /usr/share/emacs22/site-lisp/sepia/sepia-snippet.elc
Wrote /usr/share/emacs22/site-lisp/sepia/sepia-tree.elc

In toplevel form:
sepia-w3m.el:37:13:Error: Cannot open load file: w3m-perldoc
Wrote /usr/share/emacs22/site-lisp/sepia/snippet.elc
emacs-install: /usr/lib/emacsen-common/packages/install/sepia emacs22
failed at /usr/lib/emacsen-common/emacs-install line 28, <TSORT> line 56.
dpkg: error processing emacs22-gtk (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 emacs22-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)


w3m-perldoc is part of the w3m-el package, but that hasn't been
through the byte-compilation process at this point.

I first suspected that

	(eval-when-compile
	  (require 'w3m-perldoc))

was causing the error, so I changed that to

	(require 'w3m-perldoc)

but this doesn't help because byte-compiling executes any `require'
calls at top level.

Is there any way to ensure that the files from w3m-el are handled
before the files from sepia? A dependency on w3m-el is declared in the
package of course, but that obviously doesn't help since the error
happens in the postinst of the emacs package.

Cheers,
-Hilko


-- 
To UNSUBSCRIBE, email to debian-emacsen-REQUEST@[EMAIL PROTECTED]
 a subject of "unsubscribe". Trouble? Contact
listmaster@[EMAIL PROTECTED]

 




 11 Posts in Topic:
Trouble with byte-compiling .el files on Emacs update
Hilko Bengen <bengen@[  2008-07-27 00:00:17 
Re: Trouble with byte-compiling .el files on Emacs update
Sven Joachim <svenjoac  2008-07-27 08:00:14 
Re: Trouble with byte-compiling .el files on Emacs update
Hilko Bengen <bengen@[  2008-07-27 22:00:21 
Re: Trouble with byte-compiling .el files on Emacs update
Michael Olson <mwolson  2008-07-28 19:10:19 
Re: Trouble with byte-compiling .el files on Emacs update
Hilko Bengen <bengen@[  2008-07-28 22:20:11 
Re: Trouble with byte-compiling .el files on Emacs update
Michael Olson <mwolson  2008-07-29 07:10:12 
Re: Trouble with byte-compiling .el files on Emacs update
Hilko Bengen <bengen@[  2008-07-29 13:40:12 
Re: Trouble with byte-compiling .el files on Emacs update
Michael Olson <mwolson  2008-07-29 18:10:22 
Re: Trouble with byte-compiling .el files on Emacs update
Hilko Bengen <bengen@[  2008-07-29 23:50:09 
Re: Trouble with byte-compiling .el files on Emacs update
Michael Olson <mwolson  2008-08-06 18:10:22 
Re: Trouble with byte-compiling .el files on Emacs update
Agustin Martin <agusti  2008-08-06 21:20:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 12:07:33 PST 2009.