Source: ppx-tools
Version: 6.6-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240809 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with ocaml --buildsystem ocaml_dune
>    dh_update_autotools_config -O--buildsystem=ocaml_dune
>    dh_autoreconf -O--buildsystem=ocaml_dune
>    dh_ocamlinit -O--buildsystem=ocaml_dune
>    dh_auto_configure -O--buildsystem=ocaml_dune
>    dh_auto_build -O--buildsystem=ocaml_dune
>       dune build -j 8 -p ppx_tools
> (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot 
> -bin-annot-occurrences -I src/.ppx_tools.objs/byte -I 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/compiler-libs -intf-suffix .ml 
> -no-alias-deps -o src/.ppx_tools.objs/byte/ast_convenience.cmo -c -impl 
> src/ast_convenience.pp.ml)
> File "src/ast_convenience.ml", line 81, characters 51-92:
> Error: This expression has type "Parsetree.case list"
>        but an expression was expected of type "Parsetree.function_param list"
>        Type "Parsetree.case" is not compatible with type
>          "Parsetree.function_param"
> (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot 
> -bin-annot-occurrences -I src/.ppx_tools.objs/byte -I 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/compiler-libs -intf-suffix .ml 
> -no-alias-deps -o src/.ppx_tools.objs/byte/ast_mapper_class.cmo -c -impl 
> src/ast_mapper_class.pp.ml)
> File "src/ast_mapper_class.ml", lines 54-73, characters 4-67:
> Warning 8 [partial-match]: this pattern-matching is not exhaustive.
> Here is an example of a case that is not matched:
> Ptyp_open (_, _)
> 
> File "src/ast_mapper_class.ml", lines 262-281, characters 4-67:
> Warning 8 [partial-match]: this pattern-matching is not exhaustive.
> Here is an example of a case that is not matched:
> Pmod_apply_unit _
> 
> File "src/ast_mapper_class.ml", line 326, characters 6-14:
> Error: This variant pattern is expected to have type
>          "Parsetree.expression_desc"
>        There is no constructor "Pexp_fun" within type 
> "Parsetree.expression_desc"
> Hint: Did you mean "Pexp_for"?
> (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I 
> src/.ppx_tools.objs/byte -I src/.ppx_tools.objs/native -I 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/compiler-libs -intf-suffix .ml 
> -no-alias-deps -o src/.ppx_tools.objs/native/ast_convenience.cmx -c -impl 
> src/ast_convenience.pp.ml)
> File "src/ast_convenience.ml", line 81, characters 51-92:
> Error: This expression has type "Parsetree.case list"
>        but an expression was expected of type "Parsetree.function_param list"
>        Type "Parsetree.case" is not compatible with type
>          "Parsetree.function_param"
> (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot 
> -bin-annot-occurrences -I src/.genlifter.eobjs/byte -I 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/compiler-libs -I 
> src/.ppx_tools.objs/byte -no-alias-deps -o 
> src/.genlifter.eobjs/byte/genlifter.cmo -c -impl src/genlifter.pp.ml)
> File "src/genlifter.ml", line 140, characters 8-21:
> Error: The constructor "Type_abstract" expects 1 argument(s),
>        but is applied here to 0 argument(s)
> (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I 
> src/.ppx_tools.objs/byte -I src/.ppx_tools.objs/native -I 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/compiler-libs -intf-suffix .ml 
> -no-alias-deps -o src/.ppx_tools.objs/native/ast_mapper_class.cmx -c -impl 
> src/ast_mapper_class.pp.ml)
> File "src/ast_mapper_class.ml", lines 54-73, characters 4-67:
> Warning 8 [partial-match]: this pattern-matching is not exhaustive.
> Here is an example of a case that is not matched:
> Ptyp_open (_, _)
> 
> File "src/ast_mapper_class.ml", lines 262-281, characters 4-67:
> Warning 8 [partial-match]: this pattern-matching is not exhaustive.
> Here is an example of a case that is not matched:
> Pmod_apply_unit _
> 
> File "src/ast_mapper_class.ml", line 326, characters 6-14:
> Error: This variant pattern is expected to have type
>          "Parsetree.expression_desc"
>        There is no constructor "Pexp_fun" within type 
> "Parsetree.expression_desc"
> Hint: Did you mean "Pexp_for"?
> dh_auto_build: error: dune build -j 8 -p ppx_tools returned exit code 1
> make: *** [debian/rules:7: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2024/08/09/ppx-tools_6.6-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240809;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240809&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to