* Package: net-misc/sks-1.1.6-r5 * Repository: gentoo * Maintainer: k_f@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Creating named group and user ... * Adding group 'sks' to your system ... * - Groupid: next available * Adding user 'sks' to your system ... * - Userid: 954 * - Shell: /sbin/nologin * - Home: /var/lib/sks * - Groups: sks * - GECOS: added by portage for sks * - Creating /var/lib/sks in / >>> Unpacking source... >>> Unpacking sks-1.1.6.tgz to /var/tmp/portage/net-misc/sks-1.1.6-r5/work >>> Source unpacked in /var/tmp/portage/net-misc/sks-1.1.6-r5/work >>> Preparing source in /var/tmp/portage/net-misc/sks-1.1.6-r5/work/sks-1.1.6 ... * Applying sks-1.1.6-unbundle-cryptokit.patch ... [ ok ] * Applying sks-1.1.6-use-ocamlfind.patch ... [ ok ] * Applying sks-1.1.6-use-ocamlfind2.patch ... [ ok ] * Applying sks-1.1.6-use-ocamlfind3.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/sks-1.1.6-r5/work/sks-1.1.6 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/sks-1.1.6-r5/work/sks-1.1.6 ... make -j1 dep ocamldep -pp camlp4o *.mli *.ml > .depend make -j1 -j1 all cd bdb && make bdb.cmxa make[1]: Entering directory '/var/tmp/portage/net-misc/sks-1.1.6-r5/work/sks-1.1.6/bdb' ocamlfind ocamlopt -o ocextr ocextr.ml ./ocextr bdb_stubs.c > bdb.ml ocamlfind ocamlopt -inline 40 -c bdb.ml gcc -O3 -Werror-implicit-function-declaration -I`ocamlc -where` -I/usr/include/db5.3/ -L/usr/lib64 -I . -c bdb_stubs.c bdb_stubs.c: In function ‘caml_db_init’: bdb_stubs.c:191:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | caml_db_exn = caml_named_value("dberror"); | ^ bdb_stubs.c:193:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 193 | caml_key_exists_exn = caml_named_value("keyexists"); | ^ bdb_stubs.c:195:30: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | caml_db_run_recovery_exn = caml_named_value("dbrunrecovery"); | ^ ocamlmklib -custom -o bdb bdb_stubs.o ocamlmklib -custom -o bdb bdb.cmx -lbdb -ldb-5.3 make[1]: Leaving directory '/var/tmp/portage/net-misc/sks-1.1.6-r5/work/sks-1.1.6/bdb' gcc -O3 -Werror-implicit-function-declaration -I`ocamlc -where` -I . -c crc.c ocamlfind ocamlc -package cryptokit,unix,str,bigarray,num -I lib -I bdb -ccopt -L/usr/lib64 -ccopt -Wl,-O1 -ccopt -Wl,--as-needed -ccopt -Lbdb -dtypes -linkpkg -g bdb.cma -c pSet.mli ocamlfind ocamlopt -package cryptokit,unix,str,bigarray,num -I lib -I bdb -ccopt -L/usr/lib64 -ccopt -Wl,-O1 -ccopt -Wl,--as-needed -ccopt -Lbdb -dtypes -linkpkg -inline 40 bdb.cmxa -c pSet.ml File "pSet.ml", line 30, characters 23-41: 30 | struct let compare = Pervasives.compare end ^^^^^^^^^^^^^^^^^^ 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 ocamlfind ocamlc -package cryptokit,unix,str,bigarray,num -I lib -I bdb -ccopt -L/usr/lib64 -ccopt -Wl,-O1 -ccopt -Wl,--as-needed -ccopt -Lbdb -dtypes -linkpkg -g bdb.cma -c pMap.mli ocamlfind ocamlopt -package cryptokit,unix,str,bigarray,num -I lib -I bdb -ccopt -L/usr/lib64 -ccopt -Wl,-O1 -ccopt -Wl,--as-needed -ccopt -Lbdb -dtypes -linkpkg -inline 40 bdb.cmxa -c pMap.ml File "pMap.ml", line 31, characters 23-41: 31 | struct let compare = Pervasives.compare end ^^^^^^^^^^^^^^^^^^ 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 ocamlfind ocamlc -package cryptokit,unix,str,bigarray,num -I lib -I bdb -ccopt -L/usr/lib64 -ccopt -Wl,-O1 -ccopt -Wl,--as-needed -ccopt -Lbdb -dtypes -linkpkg -g bdb.cma -c utils.mli ocamlfind ocamlopt -package cryptokit,unix,str,bigarray,num -I lib -I bdb -ccopt -L/usr/lib64 -ccopt -Wl,-O1 -ccopt -Wl,--as-needed -ccopt -Lbdb -dtypes -linkpkg -inline 40 bdb.cmxa -c utils.ml File "utils.ml", line 107, characters 24-40: 107 | let one () = Set.add (String.lowercase (String.sub s start len)) partial in ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.lowercase Use String.lowercase_ascii instead. File "utils.ml", line 176, characters 15-28: 176 | let result = String.create (String.length digest * 2) in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.create Use BytesLabels.create instead. File "utils.ml", line 180, characters 8-37: 180 | result.[2*i] <- hex.[c lsr 4]; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.set Use BytesLabels.set instead. File "utils.ml", line 181, characters 8-42: 181 | result.[2*i+1] <- hex.[c land 0xF] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.set Use BytesLabels.set instead. File "utils.ml", line 195, characters 13-26: 195 | let s = String.create 4 in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.create Use BytesLabels.create instead. File "utils.ml", line 196, characters 5-39: 196 | s.[3] <- char_of_int (i land 0xFF); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.set Use BytesLabels.set instead. File "utils.ml", line 197, characters 5-47: 197 | s.[2] <- char_of_int ((i lsr 8) land 0xFF); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.set Use BytesLabels.set instead. File "utils.ml", line 198, characters 5-48: 198 | s.[1] <- char_of_int ((i lsr 16) land 0xFF); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.set Use BytesLabels.set instead. File "utils.ml", line 199, characters 5-48: 199 | s.[0] <- char_of_int ((i lsr 24) land 0xFF); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.set Use BytesLabels.set instead. File "utils.ml", lines 268-269, characters 6-56: 268 | ......string.[pos + i] <- 269 | char_of_int (0xFF land ((rfunc ()) lsr (8 * i))) Alert deprecated: Stdlib.StdLabels.String.set Use BytesLabels.set instead. File "utils.ml", line 276, characters 15-28: 276 | let string = String.create len in ^^^^^^^^^^^^^ Alert deprecated: Stdlib.StdLabels.String.create Use BytesLabels.create instead. File "utils.ml", line 1: Error: The implementation utils.ml does not match the interface utils.cmi: Values do not match: val hexstring : string -> bytes is not included in val hexstring : string -> string File "utils.mli", line 19, characters 0-32: Expected declaration File "utils.ml", line 175, characters 4-13: Actual declaration make: *** [Makefile:362: utils.cmx] Error 2 * ERROR: net-misc/sks-1.1.6-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/sks-1.1.6-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/sks-1.1.6-r5::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:sks-1.1.6-r5:20200318-012846.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/sks-1.1.6-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/sks-1.1.6-r5/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/sks-1.1.6-r5/work/sks-1.1.6' * S: '/var/tmp/portage/net-misc/sks-1.1.6-r5/work/sks-1.1.6'