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

Bug#952310: marionnet: FTBFS: Error: This expression has type bytes but an expression was expected of type string



Source: marionnet
Version: 0.90.6+bzr508-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Just for debugging: PP_OPTION is "camlp4of -DOCAML4_02_OR_LATER -DOCAML4_04_OR_LATER -I /usr/lib/ocaml/ocamlbricks gettext_extract_pot_p4.cmo option_extract_p4.cmo raise_p4.cmo log_module_loading_p4.cmo"
> Just for debugging: OCAML_LIBRARYPREFIX is "/usr/lib/ocaml"
> Just for debugging: LIBRARYPREFIX is "debian/tmp/usr//usr/lib/ocaml"
> Building meta.ml...
> Success.
> Manually pre-copying "gettext_extract_pot_p4.conf"...
> Manually pre-copying "scripts/can-directory-host-sparse-files.sh"...
> + /usr/bin/ocamldep.opt -pp 'camlp4of -DOCAML4_02_OR_LATER -DOCAML4_04_OR_LATER -I /usr/lib/ocaml/ocamlbricks gettext_extract_pot_p4.cmo option_extract_p4.cmo raise_p4.cmo log_module_loading_p4.cmo' -modules log.ml > log.ml.depends
> %str_item directive "escape_raise_filter" found.
> + /usr/bin/ocamlc.opt -c -thread -g -w x -I /usr/lib/ocaml -I /usr/lib/ocaml/camlp4 -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/lablgtk2 -I /usr/lib/ocaml/ocamlbricks -pp 'camlp4of -DOCAML4_02_OR_LATER -DOCAML4_04_OR_LATER -I /usr/lib/ocaml/ocamlbricks gettext_extract_pot_p4.cmo option_extract_p4.cmo raise_p4.cmo log_module_loading_p4.cmo' -I compatibility -I gui -o log.cmo log.ml
> %str_item directive "escape_raise_filter" found.
> + /usr/bin/ocamlc.opt -c -thread -g -w x -I /usr/lib/ocaml -I /usr/lib/ocaml/camlp4 -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/lablgtk2 -I /usr/lib/ocaml/ocamlbricks -pp 'camlp4of -DOCAML4_02_OR_LATER -DOCAML4_04_OR_LATER -I /usr/lib/ocaml/ocamlbricks gettext_extract_pot_p4.cmo option_extract_p4.cmo raise_p4.cmo log_module_loading_p4.cmo' -I gui -I compatibility -o gui/ledgrid_manager.cmo gui/ledgrid_manager.ml
> File "gui/ledgrid_manager.ml", line 281, characters 40-46:
> 281 |           let length = try String.index buffer '\n' with _ -> 0 in
>                                               ^^^^^^
> Error: This expression has type bytes but an expression was expected of type
>          string
> Command exited with code 2.
> FAILURE when building marionnet.byte
> make[2]: *** [Makefile:625: marionnet.byte] Error 255

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/marionnet_0.90.6+bzr508-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: