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

Bug#654405: marked as done (/usr/bin/ocamlbuild.native: ocamlbuild has undocumented preconditions using .itarget-files)



Your message dated Fri, 23 Jun 2023 11:51:34 +0200
with message-id <e126f90f903f0a0017b510bdcf09b201137e9345.camel@gmail.com>
and subject line Old bug #654405 is obsolete
has caused the Debian Bug report #654405,
regarding /usr/bin/ocamlbuild.native: ocamlbuild has undocumented preconditions using .itarget-files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
654405: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654405
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Hi,

I just checked and it seems newer versions don't have the problem:

jpuydt@alibert:/tmp$ cat test1.itarget 
./foo.native
jpuydt@alibert:/tmp$ ocamlbuild test1.itarget 
Finished, 0 targets (0 cached) in 00:00:00.
jpuydt@alibert:/tmp$ cat test2.itarget 
foo.native
jpuydt@alibert:/tmp$ ocamlbuild test2.itarget 
Finished, 0 targets (0 cached) in 00:00:00.


Cheers,

J.Puydt

--- End Message ---

Reply to: