Bug#678577: ocaml: -custom breaks ocamlrun and ocamldebug
Package: ocaml
Version: 3.12.1-3
Severity: normal
Using debian's ocamlc:
ed@debian:~/ocaml-3.12.1$ ocamlc -custom test.ml -o test.out
ed@debian:~/ocaml-3.12.1$ ocamlrun test.out
Fatal error: the file test.out is not a bytecode executable file
Using the official ocaml 3.12.1 source:
ed@debian:~/ocaml-3.12.1$ ocamlrun ./ocamlc -custom test.ml -o test.out
ed@debian:~/ocaml-3.12.1$ ocamlrun test.out
This bug is preventing users of our OCaml project from being able to debug their binaries, because ocamldebug reports the same error as ocamlrun.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ocaml depends on:
ii libx11-dev 2:1.4.99.901-2
ii ocaml-base [ocaml-base-3.12.1] 3.12.1-3
ii ocaml-base-nox 3.12.1-3
ii ocaml-nox [ocaml-nox-3.12.1] 3.12.1-3
ocaml recommends no packages.
Versions of packages ocaml suggests:
pn tcl8.5-dev <none>
pn tk8.5-dev <none>
-- no debconf information
Reply to: