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

Bug#812300: FTBFS: The first variant type does not allow tag



Package: ocp-indent
Version: 1.5-2
Severity: serious

ocp-indent fails to build in unstable:

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> + ocamlfind ocamlopt -c -package cmdliner -package dynlink -package findlib -I src -o src/indentArgs.cmx src/indentArgs.ml
> File "src/indentArgs.ml", line 236, characters 62-65:
> Error: This expression has type
>          [ `I of string * string | `Noblank | `P of string | `S of string ]
>          list
>        but an expression was expected of type Cmdliner.Manpage.block list
>        Type
>          [ `I of string * string | `Noblank | `P of string | `S of string ]
>        is not compatible with type
>          Cmdliner.Manpage.block =
>            [ `I of string * string
>            | `Noblank
>            | `P of string
>            | `Pre of string
>            | `S of string ] 
>        The first variant type does not allow tag(s) `Pre
> Command exited with code 2.
> Hint: Recursive traversal of subdirectories was not enabled for this build,
>   as the working directory does not look like an ocamlbuild project (no
>   '_tags' or 'myocamlbuild.ml' file). If you have modules in subdirectories,
>   you should add the option "-r" or create an empty '_tags' file.
>   
>   To enable recursive traversal for some subdirectories only, you can use the
>   following '_tags' file:
>   
>       true: -traverse
>       <dir1> or <dir2>: traverse
>       
> debian/rules:25: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 10

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise


Reply to: