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

Bug#659212: /usr/bin/ocamlbuild.native: ocamlbuild reports fatal-error if -build-dir option is used with absolute filenames

Package: ocaml-nox
Version: 3.12.1-2
Severity: normal
File: /usr/bin/ocamlbuild.native

Dear Maintainer,

You could easily verify the problem:

andreas@bs-romeyke:~/projekte/leibniz/trunk/core$ touch test.ml
andreas@bs-romeyke:~/projekte/leibniz/trunk/core$ ocamlbuild -build-dir
/tmp/_build test.native
Finished, 4 targets (0 cached) in 00:00:00.
  Fatal error: exception
Sys_error("/home/andreas/projekte/leibniz/trunk/core//tmp/_build/_digests: No such file or directory")

In the error-message you see, ocamlbuild will create a directory within
my actual path, but not in given absolute path.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-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.22-5
ii  gcc                                     4:4.6.2-4
ii  libc6                                   2.13-24
ii  libncurses5                             5.9-4
ii  libncurses5-dev                         5.9-4
ii  libtinfo5                               5.9-4
ii  ocaml-base-nox [ocaml-base-nox-3.12.1]  3.12.1-2
ii  ocaml-interp                            3.12.1-2
ii  zlib1g                                  1:

Versions of packages ocaml-nox recommends:
ii  camlp4  3.12.1-2
ii  file    5.09-2

Versions of packages ocaml-nox suggests:
pn  libgdbm-dev               <none>
pn  ocaml-doc                 <none>
pn  tuareg-mode | ocaml-mode  <none>

-- 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

Reply to: