Package: ocaml-nox
Version: 3.11.2-2
Severity: normal
File: /usr/bin/ocamlbuild.native
Ocamlbuild will report errors if your .itarget-file contains target with
leading dot:
$> cat test1.itarget
./foo.native
./bar.native
The targets must be installed relative without leading dots:
$> cat test2.itarget
foo.native
bar.native
$> ocamlbuild test1.otarget
Solver failed:
Ocamlbuild knows of no rules that apply to a target named ./foo.mly.
This can
happen if you ask Ocamlbuild to build a target with the wrong extension
(e.g.
.opt instead of .native) or if the source files live in directories that
have
not been specified as include directories.
Backtrace:
- Failed to build the target test1.otarget
- Building test1.otarget:
- Building ./foo.native:
- Building ./foo.cmx:
- Failed to build all of these:
- Building ./foo.ml:
- Failed to build all of these:
- Building ./foo.mly
- Building ./foo.mll
- Building ./foo.mlpack
Compilation unsuccessful after building 0 targets (0 cached) in
00:00:00.
$> ocamlbuild test2.otarget
Finished, 8 targets (0 cached) in 00:00:00.
Please add a hint to ocamlbuild manual and report this upstream.
With best regards
Andreas
-- System Information:
Debian Release: 6.0.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ocaml-nox depends on:
ii binutils 2.20.1-16 The GNU assembler, linker
and bina
ii gcc 4:4.4.5-1 The GNU C compiler
ii libc6 2.11.2-10 Embedded GNU C Library:
Shared lib
ii libncurses5 5.7+20100313-5 shared libraries for
terminal hand
ii libncurses5-dev 5.7+20100313-5 developer's libraries and
docs for
ii ocaml-base-nox [ocaml-bas 3.11.2-2 Runtime system for OCaml
bytecode
ii ocaml-interp 3.11.2-2 OCaml interactive
interpreter and
Versions of packages ocaml-nox recommends:
ii camlp4 3.11.2-2 Pre Processor Pretty
Printer for O
ii file 5.04-5 Determines file type using
"magic"
Versions of packages ocaml-nox recommends:
ii camlp4 3.11.2-2 Pre Processor Pretty
Printer for O
ii file 5.04-5 Determines file type using
"magic"
Versions of packages ocaml-nox suggests:
pn libgdbm-dev <none> (no description available)
pn ocaml-doc <none> (no description available)
pn tuareg-mode | ocaml-mode <none> (no description available)
-- no debconf information
--
Andreas Romeyke
- Abteilung Blindenschrift -
Deutsche Zentralbücherei für Blinde zu Leipzig (DZB)
Gustav-Adolf-Straße 7, 04105 Leipzig
Tel: +49 341 7113-..., Fax: +49 341 7113-125
Internet: www.dzb.de
E-Mail: andreas.romeyke@dzb.de
Attachment:
signature.asc
Description: This is a digitally signed message part