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

Bug#1098580: ocaml-flac: FTBFS: Error: The value "restart" has type "Ogg.Stream.stream -> unit"



Package: src:ocaml-flac
Version: 0.5.1-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 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 flac
(cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.flac_decoder.objs/byte -I src/.flac_decoder.objs/native -I /usr/lib/x86_64-linux-gnu/ocaml/5.3.0/ogg -I /usr/lib/x86_64-linux-gnu/ocaml/5.3.0/ogg/decoder -I /usr/lib/x86_64-linux-gnu/ocaml/5.3.0/threads -I /usr/lib/x86_64-linux-gnu/ocaml/5.3.0/unix -I src/.flac.objs/byte -I src/.flac.objs/native -I src/.flac_ogg.objs/byte -I src/.flac_ogg.objs/native -intf-suffix .ml -no-alias-deps -o src/.flac_decoder.objs/native/flac_decoder.cmx -c -impl src/flac_decoder.ml)
File "src/flac_decoder.ml", line 81, characters 6-13:
81 |       restart;
           ^^^^^^^
Error: The value "restart" has type "Ogg.Stream.stream -> unit"
       but an expression was expected of type
         "fill:(unit -> unit) -> Ogg.Stream.stream -> unit"
       A label "fill" was expected
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.flac_decoder.objs/byte -I /usr/lib/x86_64-linux-gnu/ocaml/5.3.0/ogg -I /usr/lib/x86_64-linux-gnu/ocaml/5.3.0/ogg/decoder -I /usr/lib/x86_64-linux-gnu/ocaml/5.3.0/threads -I /usr/lib/x86_64-linux-gnu/ocaml/5.3.0/unix -I src/.flac.objs/byte -I src/.flac_ogg.objs/byte -intf-suffix .ml -no-alias-deps -o src/.flac_decoder.objs/byte/flac_decoder.cmo -c -impl src/flac_decoder.ml)
File "src/flac_decoder.ml", line 81, characters 6-13:
81 |       restart;
           ^^^^^^^
Error: The value "restart" has type "Ogg.Stream.stream -> unit"
       but an expression was expected of type
         "fill:(unit -> unit) -> Ogg.Stream.stream -> unit"
       A label "fill" was expected
dh_auto_build: error: dune build -j 2 -p flac returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202502/

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 could not 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:ocaml-flac, so that this is still
visible in the BTS web page for this package.

Thanks.


Reply to: