Bug#483514: otags: DynLoader.Error: not a bytecode object file

2008-05-29 Thread Michael Welsh Duggan
Package: otags
Version: 3.09.3-2+b4
Severity: grave

When running otags, camlp4 is complaining and producing no tags.  Here
is a verbose run:

[EMAIL PROTECTED]:/usr/local/src/lablgtk2-2.10.1$ otags -v src/gtkWindow.ml 
camlp4 pa_o.cmo pa_op.cmo /usr/local/lib/ocaml/pr_emacs_tags.cma 
src/gtkWindow.ml 
Camlp4: Uncaught exception: DynLoader.Error 
(/usr/local/lib/ocaml/pr_emacs_tags.cma, 
/usr/local/lib/ocaml/pr_emacs_tags.cma is not a bytecode object file)

cat /dev/null /tmp/otags6d929b  TAGS 
rm -f /tmp/otags6d929b 


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (102, 'unstable'), (101, 'experimental'), (99, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages otags depends on:
ii  camlp55.08-2 Pre Processor Pretty Printer for O
ii  ocaml-base-nox [ocaml-base-no 3.10.2-3   Runtime system for OCaml bytecode 

otags recommends no packages.

-- no debconf information

-- 
Michael Welsh Duggan
([EMAIL PROTECTED])



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#483514: otags: DynLoader.Error: not a bytecode object file

2008-05-29 Thread Julien Cristau
tag 483514 unreproducible
severity 483514 important
kthxbye

On Thu, May 29, 2008 at 02:06:59 -0400, Michael Welsh Duggan wrote:

 When running otags, camlp4 is complaining and producing no tags.  Here
 is a verbose run:
 
 [EMAIL PROTECTED]:/usr/local/src/lablgtk2-2.10.1$ otags -v src/gtkWindow.ml 
 camlp4 pa_o.cmo pa_op.cmo /usr/local/lib/ocaml/pr_emacs_tags.cma 
 src/gtkWindow.ml 
 Camlp4: Uncaught exception: DynLoader.Error 
 (/usr/local/lib/ocaml/pr_emacs_tags.cma, 
 /usr/local/lib/ocaml/pr_emacs_tags.cma is not a bytecode object file)
 
Where does this /usr/local/lib/ocaml/pr_emacs_tags.cma file come from?
I suspect it was built for an older version of ocaml, which would
explain why it can't be loaded with the current version.
Also, you don't seem to be using the packaged version of otags.  Trying
to reproduce what you're reporting, I get:

$ otags -v src/gtkWindow.ml
/usr/bin/camlp5o /usr/lib/ocaml/3.10.2/otags//tags.cma
/usr/lib/ocaml/3.10.2/otags//pr_emacs_tags.cma -o /tmp/otags2fc4a0
src/gtkWindow.ml 
cat /dev/null /tmp/otags2fc4a0  TAGS 
rm -f /tmp/otags2fc4a0 

So here otags uses camlp5o instead of camlp4, and looks for
pr_emacs_tags.cma in the right place.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#483514: otags: DynLoader.Error: not a bytecode object file

2008-05-29 Thread Michael Welsh Duggan
Julien Cristau [EMAIL PROTECTED] writes:

 On Thu, May 29, 2008 at 02:06:59 -0400, Michael Welsh Duggan wrote:

 When running otags, camlp4 is complaining and producing no tags.  Here
 is a verbose run:
 
 [EMAIL PROTECTED]:/usr/local/src/lablgtk2-2.10.1$ otags -v src/gtkWindow.ml 
 camlp4 pa_o.cmo pa_op.cmo /usr/local/lib/ocaml/pr_emacs_tags.cma 
 src/gtkWindow.ml 
 Camlp4: Uncaught exception: DynLoader.Error 
 (/usr/local/lib/ocaml/pr_emacs_tags.cma, 
 /usr/local/lib/ocaml/pr_emacs_tags.cma is not a bytecode object file)
 
 Where does this /usr/local/lib/ocaml/pr_emacs_tags.cma file come from?
 I suspect it was built for an older version of ocaml, which would
 explain why it can't be loaded with the current version.
 Also, you don't seem to be using the packaged version of otags.  Trying
 to reproduce what you're reporting, I get:

 $ otags -v src/gtkWindow.ml
 /usr/bin/camlp5o /usr/lib/ocaml/3.10.2/otags//tags.cma
 /usr/lib/ocaml/3.10.2/otags//pr_emacs_tags.cma -o /tmp/otags2fc4a0
 src/gtkWindow.ml 
 cat /dev/null /tmp/otags2fc4a0  TAGS 
 rm -f /tmp/otags2fc4a0 

 So here otags uses camlp5o instead of camlp4, and looks for
 pr_emacs_tags.cma in the right place.

You can close this.  I had a version of otags in /usr/local/bin from
before it was in the debian tree, and didn't notice it.  Thanks for
looking into this and sorry for the noise.

-- 
Michael Welsh Duggan
([EMAIL PROTECTED])



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]