* Package: dev-ml/ocaml-re-1.7.1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking ocaml-re-1.7.1.tar.gz to /var/tmp/portage/dev-ml/ocaml-re-1.7.1/work >>> Source unpacked in /var/tmp/portage/dev-ml/ocaml-re-1.7.1/work >>> Preparing source in /var/tmp/portage/dev-ml/ocaml-re-1.7.1/work/ocaml-re-1.7.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ml/ocaml-re-1.7.1/work/ocaml-re-1.7.1 ... File "./setup.ml", line 1779, characters 22-40: 1779 | let compare = Pervasives.compare ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "setup.ml", line 3471, characters 16-34: Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims Configuration: ocamlfind: ........................................... /usr/bin/ocamlfind ocamlc: .............................................. /usr/bin/ocamlc.opt ocamlopt: ............................................ /usr/bin/ocamlopt.opt ocamlbuild: .......................................... /usr/bin/ocamlbuild Package name: ........................................ re Package version: ..................................... 1.7.1 os_type: ............................................. Unix system: .............................................. linux architecture: ........................................ amd64 ccomp_type: .......................................... cc ocaml_version: ....................................... 4.09.0 standard_library_default: ............................ /usr/lib64/ocaml standard_library: .................................... /usr/lib64/ocaml bytecomp_c_compiler: ................................. x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT native_c_compiler: ................................... x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT model: ............................................... default ext_obj: ............................................. .o ext_asm: ............................................. .s ext_lib: ............................................. .a ext_dll: ............................................. .so default_executable_name: ............................. a.out systhread_supported: ................................. true Install architecture-independent files dir: .......... /var/tmp/portage/dev-ml/ocaml-re-1.7.1/image//usr Install architecture-dependent files in dir: ......... $prefix User executables: .................................... $exec_prefix/bin System admin executables: ............................ $exec_prefix/sbin Program executables: ................................. $exec_prefix/libexec Read-only single-machine data: ....................... $prefix/etc Modifiable architecture-independent data: ............ $prefix/com Modifiable single-machine data: ...................... $prefix/var Object code libraries: ............................... /var/tmp/portage/dev-ml/ocaml-re-1.7.1/image//usr/lib64 Read-only arch-independent data root: ................ $prefix/share Read-only architecture-independent data: ............. $datarootdir Info documentation: .................................. $datarootdir/info Locale-dependent data: ............................... $datarootdir/locale Man documentation: ................................... $datarootdir/man Documentation root: .................................. /var/tmp/portage/dev-ml/ocaml-re-1.7.1/image//usr/share/doc/ocaml-re-1.7.1/html HTML documentation: .................................. $docdir DVI documentation: ................................... $docdir PDF documentation: ................................... $docdir PS documentation: .................................... $docdir findlib_version: ..................................... 1.8.1 is_native: ........................................... true suffix_program: ...................................... Remove a file.: ...................................... rm -f Remove a directory.: ................................. rm -rf Turn ocaml debug flag on: ............................ false Turn ocaml profile flag on: .......................... false Compiler support generation of .cmxs.: ............... true OCamlbuild additional flags: ......................... Enable building benchmarks: .......................... false Create documentations: ............................... true Compile tests executable and library and run them: ... true pkg_bytes: ........................................... /usr/lib64/ocaml/bytes pkg_ounit: ........................................... /usr/lib64/ocaml/oUnit pkg_str: ............................................. /usr/lib64/ocaml ocamldoc: ............................................ /usr/bin/ocamldoc >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ml/ocaml-re-1.7.1/work/ocaml-re-1.7.1 ... File "./setup.ml", line 1779, characters 22-40: 1779 | let compare = Pervasives.compare ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "setup.ml", line 3471, characters 16-34: Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims 00:00:00 1 (0 ) myocamlbuild ON-P---L | 00:00:00 1 (0 ) myocamlbuild ON-P---L | 00:00:00 1 (0 ) myocamlbuild ON-P---L | 00:00:00 1 (0 ) myocamlbuild ON-P---L / 00:00:00 1 (0 ) myocamlbuild ON-P---L / 00:00:00 1 (0 ) myocamlbuild ON-P---L - Finished, 1 target (0 cached) in 00:00:00. File "_tags", line 81, characters 38-52: Warning: the tag "pkg_core_bench" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. File "_tags", line 85, characters 25-39: Warning: the tag "pkg_core_bench" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. 00:00:00 0 (0 ) STARTING -------- | 00:00:00 1 (0 ) lib/re.mli.depends O------- | + /usr/bin/ocamlfind ocamlc -c -w +a-40-42-44-3-4-48 -warn-error +1..49 -annot -bin-annot -I lib -I lib -I lib -package bytes -I lib -o lib/re.cmi lib/re.mli File "lib/re.mli", line 130, characters 17-34: 130 | ?pos:int -> (** Default: 0 *) ^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 137, characters 17-34: 137 | ?pos:int -> (** Default: 0 *) ^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 143, characters 17-34: 143 | ?pos:int -> (** Default: 0 *) ^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 151, characters 17-34: 151 | ?pos:int -> (** Default: 0 *) ^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 157, characters 17-34: 157 | ?pos:int -> (** Default: 0 *) ^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 165, characters 17-34: 165 | ?pos:int -> (** Default: 0 *) ^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 175, characters 17-34: 175 | ?pos:int -> (** Default: 0 *) ^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 180, characters 17-34: 180 | ?pos:int -> (** Default: 0 *) ^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 185, characters 17-34: 185 | ?pos:int -> (** Default: 0 *) ^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 187, characters 17-78: 187 | ?all:bool -> (** Default: true. Otherwise only replace first occurrence *) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 188, characters 17-38: 188 | re -> (** matched groups *) ^^^^^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 190, characters 16-43: 190 | string -> (** string to replace in *) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 197, characters 17-34: 197 | ?pos:int -> (** Default: 0 *) ^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 199, characters 17-78: 199 | ?all:bool -> (** Default: true. Otherwise only replace first occurrence *) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 200, characters 17-38: 200 | re -> (** matched groups *) ^^^^^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 201, characters 17-42: 201 | by:string -> (** replacement string *) ^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) File "lib/re.mli", line 202, characters 17-44: 202 | string -> (** string to replace in *) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 50: unattached documentation comment (ignored) 00:00:00 3 (0 ) lib/re.ml.depends O-b---i- | 00:00:00 6 (0 ) lib/re_cset.cmi O-B---I- / 00:00:00 8 (0 ) lib/re_automata.cmi O-B---I- / 00:00:00 10 (0 ) lib/re_cset.ml.depends O-b---i- / 00:00:00 12 (0 ) lib/re.cmo O-B---i- - 00:00:00 12 (0 ) lib/re.cmo O-B---i- - 00:00:00 14 (0 ) lib/re_automata.cmo O-B---i- - 00:00:00 16 (0 ) lib/re_fmt.cmx ONb---il \ 00:00:00 17 (0 ) lib/re_cset.cmx ONb---il \ 00:00:00 18 (0 ) lib/re_automata.cmx ONb---il \ 00:00:01 18 (0 ) lib/re_automata.cmx ONb---il | 00:00:01 19 (0 ) lib/re.cmx ONb---il | 00:00:01 19 (0 ) lib/re.cmx ONb---il | 00:00:01 19 (0 ) lib/re.cmx ONb---il / 00:00:01 20 (0 ) lib/re.cmxa ONb---iL / 00:00:01 21 (0 ) lib/re.cmxs ONb---iL - 00:00:01 24 (0 ) lib/re_emacs.ml.depends Onb---il - 00:00:01 26 (0 ) lib/re_emacs.cma OnB---iL - 00:00:01 27 (0 ) lib/re_emacs.cmx ONb---il - 00:00:01 29 (0 ) lib/re_emacs.cmxs ONb---iL \ 00:00:01 32 (0 ) lib/re_str.ml.depends Onb---il \ 00:00:01 33 (0 ) lib/re_str.cmo OnB---il \ 00:00:02 35 (0 ) lib/re_str.cmx ONb---il | 00:00:02 37 (0 ) lib/re_str.cmxs ONb---iL | 00:00:02 37 (0 ) lib/re_str.cmxs ONb---iL | 00:00:02 40 (0 ) lib/re_posix.ml.depends Onb---il | 00:00:02 42 (0 ) lib/re_posix.cma OnB---iL / 00:00:02 43 (0 ) lib/re_posix.cmx ONb---il / 00:00:02 45 (0 ) lib/re_posix.cmxs ONb---iL / 00:00:02 48 (0 ) lib/re_glob.ml.depends Onb---il / 00:00:02 50 (0 ) lib/re_glob.cma OnB---iL - 00:00:02 51 (0 ) lib/re_glob.cmx ONb---il - 00:00:02 52 (0 ) lib/re_glob.cmxa ONb---iL - 00:00:02 53 (0 ) lib/re_glob.cmxs ONb---iL \ 00:00:02 55 (0 ) lib/re_perl.cmi OnB---Il \ 00:00:02 57 (0 ) lib/re_perl.cmo OnB---il \ 00:00:03 59 (0 ) lib/re_perl.cmx ONb---il | 00:00:03 60 (0 ) lib/re_perl.cmxa ONb---iL | 00:00:03 61 (0 ) lib/re_perl.cmxs ONb---iL | 00:00:03 64 (0 ) lib/re_pcre.ml.depends Onb---il | 00:00:03 66 (0 ) lib/re_pcre.cma OnB---iL / 00:00:03 67 (0 ) lib/re_pcre.cmx ONb---il / 00:00:03 69 (0 ) lib/re_pcre.cmxs ONb---iL / 00:00:03 71 (0 ) lib_test/fort_unit.cmo OnB---il - 00:00:03 73 (0 ) lib_test/fort_unit.cmx ONb---il - 00:00:03 75 (0 ) lib_test/fort_unit.cmxs ONb---iL \ 00:00:03 77 (0 ) lib_test/re_match.cmo OnB---il \ + /usr/bin/ocamlfind ocamlc -c -w +a-40-42-44-3-4-48 -warn-error +1..49 -annot -bin-annot -I lib -I lib_test -package bytes -package oUnit -package str -I lib_test -I lib -o lib_test/re_match.cmo lib_test/re_match.ml File "lib_test/re_match.ml", line 44, characters 25-28: 44 | String.blit line pos num 1 3; ^^^ Error: This expression has type string but an expression was expected of type bytes Command exited with code 2. Compilation unsuccessful after building 77 targets (0 cached) in 00:00:03. E: Failure("Command ''/usr/bin/ocamlbuild' lib/re.cma lib/re.cmxa lib/re.a lib/re.cmxs lib/re_emacs.cma lib/re_emacs.cmxa lib/re_emacs.a lib/re_emacs.cmxs lib/re_str.cma lib/re_str.cmxa lib/re_str.a lib/re_str.cmxs lib/re_posix.cma lib/re_posix.cmxa lib/re_posix.a lib/re_posix.cmxs lib/re_glob.cma lib/re_glob.cmxa lib/re_glob.a lib/re_glob.cmxs lib/re_perl.cma lib/re_perl.cmxa lib/re_perl.a lib/re_perl.cmxs lib/re_pcre.cma lib/re_pcre.cmxa lib/re_pcre.a lib/re_pcre.cmxs lib_test/fort_unit.cma lib_test/fort_unit.cmxa lib_test/fort_unit.a lib_test/fort_unit.cmxs lib_test/re_match.native lib_test/test_re.native lib_test/test_perl.native lib_test/test_emacs.native lib_test/test_glob.native lib_test/test_str.native lib_test/test_pcre.native lib_test/test_easy.native -cflags '-w +a-40-42-44-3-4-48 -warn-error +1..49' -tag tests' terminated with error code 10") * ERROR: dev-ml/ocaml-re-1.7.1::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2007: Called oasis_src_compile * environment, line 1798: Called die * The specific snippet of code: * ${OASIS_SETUP_COMMAND:-ocaml setup.ml} -build || die; * * If you need support, post the output of `emerge --info '=dev-ml/ocaml-re-1.7.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ml/ocaml-re-1.7.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ml:ocaml-re-1.7.1:20200303-122603.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ml/ocaml-re-1.7.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ml/ocaml-re-1.7.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-ml/ocaml-re-1.7.1/work/ocaml-re-1.7.1' * S: '/var/tmp/portage/dev-ml/ocaml-re-1.7.1/work/ocaml-re-1.7.1'