On January 31, 2014 at 11:33AM +0100, anbe (at debian.org) wrote:
>   Install emacsen-common for emacs23
[...]
>   install/devscripts-el: Handling emacs23, logged in /tmp/elc_tCbg9i.log
>   ERROR: install script from devscripts-el package failed
[...]
> devscripts.el:19:1:Error: Cannot open load file: mcharset

It seems apel's mcharset.elc is not found when byte-compiling.

The devscripts-el package depends on apel, so install/devscripts-el
called from devscripts-el.postinst succeed, but install/devscripts-el
called from emacsen-common or emacsen could fail as above.

To fix this bug, please skip byte-compilation in install/devscripts-el
if the depending file is not yet prepared.

e.g.
    if [ ! -e "/usr/share/$FLAVOR/site-lisp/apel/mcharset.elc" ]; then exit 0; 
fi

Thanks,
--
Tatsuya Kinoshita

Attachment: pgpHJuTdVRjKb.pgp
Description: PGP signature

Reply via email to