[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Laurent.Bonnaud@inpg.fr: Bug#192131: ocaml: postinst fails with xemacs]



> Package: ocaml
> Version: 3.06-16
> Severity: important
> 
> 
> Hi,
> 
> here is the problem:
> 
> Setting up ocaml (3.06-16) ...
> [...]
> install/ocaml: Handling install for emacsen flavor xemacs21
> [...]
> Compiling /usr/share/xemacs21/site-lisp/ocaml/caml.el...
> While compiling toplevel forms in file /usr/share/xemacs21/site-lisp/ocaml/caml.el:
>   !! Wrong type argument ((keymapp (keymap . #<keymap compilation-minor-mode-map size 7 0xb64>)))
> >>Error occurred processing caml.el: 
> Wrong type argument: keymapp, (keymap . #<keymap compilation-minor-mode-map size 7 0xb64>)
> 
> 
> Compiling /usr/share/xemacs21/site-lisp/ocaml/camldebug.el...
> While compiling toplevel forms in file /usr/share/xemacs21/site-lisp/ocaml/camldebug.el:
>   !! Wrong type argument ((keymapp (keymap . #<keymap compilation-minor-mode-map size 7 0xb64>)))
> >>Error occurred processing camldebug.el: 
> Wrong type argument: keymapp, (keymap . #<keymap compilation-minor-mode-map size 7 0xb64>)
> 
> 
> Compiling /usr/share/xemacs21/site-lisp/ocaml/inf-caml.el...
> While compiling toplevel forms in file /usr/share/xemacs21/site-lisp/ocaml/inf-caml.el:
>   !! Wrong type argument ((keymapp (keymap . #<keymap compilation-minor-mode-map size 7 0xb64>)))
> >>Error occurred processing inf-caml.el: 
> Wrong type argument: keymapp, (keymap . #<keymap compilation-minor-mode-map size 7 0xb64>)
> 
> 
> Done
> emacs-package-install: /usr/lib/emacsen-common/packages/install/ocaml xemacs21 emacs20 emacs21 xemacs21 failed at /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1.
> dpkg: error processing ocaml (--configure):
> 
> 
> 
> I fixed the problem by uncommenting the following lines in
> /usr/lib/emacsen-common/packages/install/ocaml :
> 
> FLAVORTEST=`echo $FLAVOR | cut -c-6`
> if [ ${FLAVORTEST} = xemacs ] ; then
>     SITEFLAG="-no-site-file"
> else
>     SITEFLAG="--no-site-file"
> fi
> FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
> 

Ralf, i think you wrote that code, could you please comment on this
issue.

I will make a new upload that fixes this this week-end, with an updated ocaml
packaging policy document and fixing other lose ends.

Friendly,

Sven Luther



Reply to: