reassign 391778 xemacs21-mule
retitle 391778 xemacs21-mule: postinst fails if xemacs21-support is not yet 
configured
severity 391778 serious
thanks

I'm reassigning Bug#391778 from apel to xemacs21-mule.

On October 9, 2006 at 1:07PM +0200,
allomber (at math.u-bordeaux.fr) wrote:

> You can reproduce it with
> debootstrap, chroot, and
> apt-get update && apt-get install xemacs21 mell
>
> Please find the resulting log.
>
> My guess is that xemacs21 is configured after apel is unpacked but
> before it is configured, and install/apel does not cope with apel
> not being configured.

You are right.  I've tried skipping byte-compilation of apel if
xemacs21 seems not to be configured.  However a similar error is
appeared, as follows:

----
# apt-get install xemacs21 mell
[...]
Setting up xemacs21-mulesupport (2006.05.10-1) ...
Setting up perl-modules (5.8.8-6.1) ...
Setting up perl (5.8.8-6.1) ...

Setting up xemacs21-basesupport (2006.05.10-1) ...
Setting up xemacs21-mule (21.4.19-1) ...
emacs-install xemacs21
apel: Skipped: xemacs21 is not yet configured
emacsen-common: Handling install of emacsen flavor xemacs21
emacsen-common: byte-compiling for xemacs21

WARNING:
Couldn't find obvious defaults for:
data-directory
mule-lisp-directory
lisp-directory
Perhaps some directories don't exist, or the XEmacs executable,
/usr/bin/xemacs21
is in a strange place?Loading /usr/share/emacs/site-lisp/debian-startup...
Loading 00debian-vars...
No /etc/mailname. Reverting to default...
^GSymbol's function definition is void: batch-byte-compile
xemacs exiting
.
[...]
----

It seems that the error is occured in xemacs21-mule's postinst, and
byte-compilation fails even emacsen-common.

I've noticed that xemacs21, xemacs21-bin and xemacs21-support are
not configured before xemacs21-mule's postinst, and found required
code in `/var/lib/dpkg/info/xemacs21-support.postinst'.

xemacs21 maintainer, please contain the code of
xemacs21-support.postinst (making symlinks for /usr/lib/xemacs-*)
in xemacs21-mule.postinst, xemacs21-nomule.postinst, etc.

(or use `Pre-Depends: xemacs21-support', but you should not specify
`Pre-Depends' before this has been discussed on the `debian-devel'
mailing list and a consensus about doing that has been reached.)

Thanks,
--
Tatsuya Kinoshita

Attachment: pgp8o5pEsiEXl.pgp
Description: PGP signature

Reply via email to