Package: src:cppo Version: 1.8.0-1 Severity: serious Tags: ftbfs forky sid Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202608/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:cppo, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with ocaml --buildsystem ocaml_dune dh_auto_clean -O--buildsystem=ocaml_dune dune clean dh_autoreconf_clean -O--buildsystem=ocaml_dune dh_ocamlclean -O--buildsystem=ocaml_dune dh_clean -O--buildsystem=ocaml_dune 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 2 -p cppo,cppo_ocamlbuild [... snipped ...] -# 55 "higher_order_macros.cppo" +# 55 "./higher_order_macros.cppo" ( for __index = 0 to Array.length a-1 do Printf.printf "%d" a.(__index) done ) -# 57 "higher_order_macros.cppo" +# 57 "./higher_order_macros.cppo" (* A higher-order macro that produces a definition of [iter], and accepts an arbitrary definition of the macro [LOOP]. *) -# 65 "higher_order_macros.cppo" +# 65 "./higher_order_macros.cppo" (* Some noise, which does not affect the above definitions. *) -# 68 "higher_order_macros.cppo" +# 68 "./higher_order_macros.cppo" let iter f a = ( @@ -82,7 +82,7 @@ (f a.(__index)) done ) -# 69 "higher_order_macros.cppo" +# 69 "./higher_order_macros.cppo" let unrolled_iter f a = ( File "test/def.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/def.ref --label test/def.out test/def.ref test/def.out) --- test/def.ref +++ test/def.out @@ -1,33 +1,33 @@ -# 1 "def.cppo" +# 1 "./def.cppo" (* This macro application combinator provides call-by-value semantics: the actual argument is evaluated up front and its value is bound to a variable, which is passed as an argument to the macro [F]. *) -# 10 "def.cppo" +# 10 "./def.cppo" (* Some trivial tests. *) -# 13 "def.cppo" +# 13 "./def.cppo" let forty_one = -# 13 "def.cppo" +# 13 "./def.cppo" (let __x = ( 41) in __x ) (* Multiple lines permitted; no backslash required. *) -# 14 "def.cppo" +# 14 "./def.cppo" let forty_two = -# 14 "def.cppo" +# 14 "./def.cppo" (let __x = ( 42 ) in __x ) (* Multiple lines permitted; no backslash required. *) -# 16 "def.cppo" +# 16 "./def.cppo" (* A [for]-loop macro. *) -# 25 "def.cppo" +# 25 "./def.cppo" (* A [for]-loop macro that performs unrolling. *) -# 47 "def.cppo" +# 47 "./def.cppo" (* In the examples that follow, #scope ... #endscope is used to avoid the need to #undefine local macros such as BODY and F. *) @@ -35,7 +35,7 @@ let iter f a = -# 54 "def.cppo" +# 54 "./def.cppo" ( for __index = 0 to Array.length a-1 do @@ -44,12 +44,12 @@ ) -# 57 "def.cppo" +# 57 "./def.cppo" (* Iteration over an array, with an unrolled loop. *) let unrolled_iter f a = -# 61 "def.cppo" +# 61 "./def.cppo" ( (* #define can be nested inside #def. *) (* #def can be nested inside #def. *) @@ -80,12 +80,12 @@ ) -# 64 "def.cppo" +# 64 "./def.cppo" (* Printing an array, with a normal loop. *) let print_int_array a = -# 68 "def.cppo" +# 68 "./def.cppo" ( for __index = 0 to Array.length a-1 do @@ -94,14 +94,14 @@ ) -# 71 "def.cppo" +# 71 "./def.cppo" (* A higher-order macro that produces a definition of [iter], and accepts an arbitrary definition of the macro [LOOP]. *) -# 81 "def.cppo" +# 81 "./def.cppo" (* Some noise, which does not affect the above definitions. *) -# 84 "def.cppo" +# 84 "./def.cppo" let iter f a = @@ -113,7 +113,7 @@ ) -# 85 "def.cppo" +# 85 "./def.cppo" let unrolled_iter f a = @@ -148,5 +148,5 @@ -# 87 "def.cppo" +# 87 "./def.cppo" (* Just because we can, undefine BODY. *) File "test/arity_mismatch.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/arity_mismatch.ref --label test/arity_mismatch.err test/arity_mismatch.ref test/arity_mismatch.err) --- test/arity_mismatch.ref +++ test/arity_mismatch.err @@ -1,2 +1,2 @@ -Error: File "arity_mismatch.cppo", line 3, characters 0-10 +Error: File "./arity_mismatch.cppo", line 3, characters 0-10 Error: "INCR" expects 1 argument but is applied to 2 arguments. File "test/applied_to_none.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/applied_to_none.ref --label test/applied_to_none.err test/applied_to_none.ref test/applied_to_none.err) --- test/applied_to_none.ref +++ test/applied_to_none.err @@ -1,2 +1,2 @@ -Error: File "applied_to_none.cppo", line 3, characters 0-3 +Error: File "./applied_to_none.cppo", line 3, characters 0-3 Error: "FOO" expects 1 argument but is applied to 0 argument. File "test/expects_no_args.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/expects_no_args.ref --label test/expects_no_args.err test/expects_no_args.ref test/expects_no_args.err) --- test/expects_no_args.ref +++ test/expects_no_args.err @@ -1,2 +1,2 @@ -Error: File "expects_no_args.cppo", line 3, characters 4-11 +Error: File "./expects_no_args.cppo", line 3, characters 4-11 Error: "FOO" expects 0 argument but is applied to 1 argument. File "test/already_defined.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/already_defined.ref --label test/already_defined.err test/already_defined.ref test/already_defined.err) --- test/already_defined.ref +++ test/already_defined.err @@ -1,2 +1,2 @@ -Error: File "already_defined.cppo", line 3, characters 0-17 +Error: File "./already_defined.cppo", line 3, characters 0-17 Error: "FOO" is already defined File "test/at_least_one_arg.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/at_least_one_arg.ref --label test/at_least_one_arg.err test/at_least_one_arg.ref test/at_least_one_arg.err) --- test/at_least_one_arg.ref +++ test/at_least_one_arg.err @@ -1,2 +1,2 @@ -Error: File "at_least_one_arg.cppo", line 2, characters 12-13 +Error: File "./at_least_one_arg.cppo", line 2, characters 12-13 Error: A macro must have at least one formal parameter File "test/comment_in_formals.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/comment_in_formals.ref --label test/comment_in_formals.err test/comment_in_formals.ref test/comment_in_formals.err) --- test/comment_in_formals.ref +++ test/comment_in_formals.err @@ -1,2 +1,2 @@ -Error: File "comment_in_formals.cppo", line 1, characters 15-16 +Error: File "./comment_in_formals.cppo", line 1, characters 15-16 Error: Invalid formal parameter: expected an identifier File "test/arity_mismatch_indirect.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/arity_mismatch_indirect.ref --label test/arity_mismatch_indirect.err test/arity_mismatch_indirect.ref test/arity_mismatch_indirect.err) --- test/arity_mismatch_indirect.ref +++ test/arity_mismatch_indirect.err @@ -1,2 +1,2 @@ -Error: File "arity_mismatch_indirect.cppo", line 2, characters 26-27 +Error: File "./arity_mismatch_indirect.cppo", line 2, characters 26-27 Error: "F" expects 1 argument but is applied to 0 argument. File "test/expect_ident.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/expect_ident.ref --label test/expect_ident.err test/expect_ident.ref test/expect_ident.err) --- test/expect_ident.ref +++ test/expect_ident.err @@ -1,2 +1,2 @@ -Error: File "expect_ident.cppo", line 4, characters 6-12 +Error: File "./expect_ident.cppo", line 4, characters 6-12 Error: The name of a macro is expected in this position File "test/expect_ident_empty.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/expect_ident_empty.ref --label test/expect_ident_empty.err test/expect_ident_empty.ref test/expect_ident_empty.err) --- test/expect_ident_empty.ref +++ test/expect_ident_empty.err @@ -1,2 +1,2 @@ -Error: File "expect_ident_empty.cppo", line 4, characters 6-6 +Error: File "./expect_ident_empty.cppo", line 4, characters 6-6 Error: The name of a macro is expected in this position File "test/undefined.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/undefined.ref --label test/undefined.err test/undefined.ref test/undefined.err) --- test/undefined.ref +++ test/undefined.err @@ -1,2 +1,2 @@ -Error: File "undefined.cppo", line 2, characters 6-9 +Error: File "./undefined.cppo", line 2, characters 6-9 Error: The macro 'FOO' is not defined File "test/shape_mismatch.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/shape_mismatch.ref --label test/shape_mismatch.err test/shape_mismatch.ref test/shape_mismatch.err) --- test/shape_mismatch.ref +++ test/shape_mismatch.err @@ -1,3 +1,3 @@ -Error: File "shape_mismatch.cppo", line 3, characters 6-9 +Error: File "./shape_mismatch.cppo", line 3, characters 6-9 Error: A macro of type [.] was expected, but a macro of type . was provided File "test/int_expansion_error.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/int_expansion_error.ref --label test/int_expansion_error.err test/int_expansion_error.ref test/int_expansion_error.err) --- test/int_expansion_error.ref +++ test/int_expansion_error.err @@ -1,4 +1,4 @@ -Error: File "int_expansion_error.cppo", line 2, characters 4-7 +Error: File "./int_expansion_error.cppo", line 2, characters 4-7 Error: Variable FOO found in cppo boolean expression must expand into an int literal, into a tuple of int literals, or into a variable with the same properties. File "test/extraneous_enddef.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/extraneous_enddef.ref --label test/extraneous_enddef.err test/extraneous_enddef.ref test/extraneous_enddef.err) --- test/extraneous_enddef.ref +++ test/extraneous_enddef.err @@ -1,2 +1,2 @@ -Error: File "extraneous_enddef.cppo", line 4, characters 0-8 +Error: File "./extraneous_enddef.cppo", line 4, characters 0-8 Error: syntax error File "test/missing_enddef.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/missing_enddef.ref --label test/missing_enddef.err test/missing_enddef.ref test/missing_enddef.err) --- test/missing_enddef.ref +++ test/missing_enddef.err @@ -1,2 +1,2 @@ -Error: File "missing_enddef.cppo", line 3, characters 0-13 +Error: File "./missing_enddef.cppo", line 3, characters 0-13 Error: This #def is never closed: perhaps #enddef is missing File "test/missing_endscope.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/missing_endscope.ref --label test/missing_endscope.err test/missing_endscope.ref test/missing_endscope.err) --- test/missing_endscope.ref +++ test/missing_endscope.err @@ -1,2 +1,2 @@ -Error: File "missing_endscope.cppo", line 3, characters 0-6 +Error: File "./missing_endscope.cppo", line 3, characters 0-6 Error: This #scope is never closed: perhaps #endscope is missing dh_auto_test: error: dune runtest -j 2 -p cppo,cppo_ocamlbuild returned exit code 1 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

