* Package: dev-ml/camlbz2-0.7.0 * Repository: gentoo * Maintainer: gienah@gentoo.org * USE: abi_x86_64 amd64 doc elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking camlbz2-0.7.0.tar.gz to /var/tmp/portage/dev-ml/camlbz2-0.7.0/work >>> Source unpacked in /var/tmp/portage/dev-ml/camlbz2-0.7.0/work >>> Preparing source in /var/tmp/portage/dev-ml/camlbz2-0.7.0/work/camlbz2-0.7.0 ... * Running eautoreconf in '/var/tmp/portage/dev-ml/camlbz2-0.7.0/work/camlbz2-0.7.0' ... * Running 'aclocal -I m4' ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf -I m4 --force' ... [ ok ] * Running elibtoolize in: camlbz2-0.7.0/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ml/camlbz2-0.7.0/work/camlbz2-0.7.0 ... * econf: updating camlbz2-0.7.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating camlbz2-0.7.0/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/camlbz2-0.7.0 --htmldir=/usr/share/doc/camlbz2-0.7.0/html --libdir=/usr/lib64 configure: loading site script /usr/share/config.site checking for ocamlc... ocamlc OCaml version is 4.11.2 OCaml library path is /usr/lib64/ocaml checking for ocamlopt... ocamlopt checking for ocamlc.opt... ocamlc.opt checking for ocamlopt.opt... ocamlopt.opt checking for ocamldep... ocamldep checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for ocamldoc... ocamldoc OCaml uses x86_64-pc-linux-gnu-gcc to compile C files checking for ocamlfind... ocamlfind checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for BZ2_bzReadOpen in -lbz2... yes configure: creating ./config.status config.status: creating Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ml/camlbz2-0.7.0/work/camlbz2-0.7.0 ... make -j3 -j1 all ocamlc.opt -ccopt "-D BZ_PREFIX -pipe -march=native -fno-diagnostics-color -O2 " -c c_bz.c c_bz.c: In function ‘mlbz_readopen’: c_bz.c:121:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | c_unused = String_val(Field(unused, 0)) ; | ^ c_bz.c: In function ‘mlbz_read’: c_bz.c:143:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | c_buf = String_val(buf) + c_pos ; | ^ In file included from c_bz.c:19: c_bz.c: In function ‘mlbz_readgetunused’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ c_bz.c:174:10: note: in expansion of macro ‘String_val’ 174 | memcpy(String_val(result), unused, nunused) ; | ^~~~~~~~~~ In file included from /usr/include/features.h:473, from /usr/include/errno.h:25, from c_bz.c:13: /usr/include/bits/string_fortified.h:26:1: note: expected ‘void * restrict’ but argument is of type ‘const char *’ 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ c_bz.c: In function ‘mlbz_write’: c_bz.c:204:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 204 | c_buf = String_val(buf) + c_pos ; | ^ c_bz.c: In function ‘mlbz_compress’: c_bz.c:242:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 242 | src_buf = String_val(src) + c_pos; | ^ In file included from c_bz.c:19: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ c_bz.c:267:10: note: in expansion of macro ‘String_val’ 267 | memcpy(String_val(result), dst_buf, dst_len); | ^~~~~~~~~~ In file included from /usr/include/features.h:473, from /usr/include/errno.h:25, from c_bz.c:13: /usr/include/bits/string_fortified.h:26:1: note: expected ‘void * restrict’ but argument is of type ‘const char *’ 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ c_bz.c: In function ‘mlbz_uncompress’: c_bz.c:287:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 287 | src_buf = String_val(src) + c_pos; | ^ In file included from c_bz.c:19: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ c_bz.c:320:10: note: in expansion of macro ‘String_val’ 320 | memcpy(String_val(result), dst_buf, dst_len); | ^~~~~~~~~~ In file included from /usr/include/features.h:473, from /usr/include/errno.h:25, from c_bz.c:13: /usr/include/bits/string_fortified.h:26:1: note: expected ‘void * restrict’ but argument is of type ‘const char *’ 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ ocamlmklib -oc camlbz2 c_bz.o -lbz2 ocamlc.opt -c bz2.mli File "bz2.mli", line 54, characters 46-67: 54 | val open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel -> ^^^^^^^^^^^^^^^^^^^^^ 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 "bz2.mli", line 84, characters 29-51: 84 | val open_out : ?block:int -> Pervasives.out_channel -> out_channel ^^^^^^^^^^^^^^^^^^^^^^ 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 ocamlc.opt -c bz2.ml File "bz2.ml", line 31, characters 51-72: 31 | external open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel -> ^^^^^^^^^^^^^^^^^^^^^ 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 "bz2.ml", line 44, characters 34-56: 44 | external open_out : ?block:int -> Pervasives.out_channel -> out_channel ^^^^^^^^^^^^^^^^^^^^^^ 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 ocamlmklib -oc camlbz2 -o bz2 bz2.cmo -lbz2 ocamlopt.opt -c bz2.ml File "bz2.ml", line 31, characters 51-72: 31 | external open_in : ?small:bool -> ?unused:bytes -> Pervasives.in_channel -> ^^^^^^^^^^^^^^^^^^^^^ 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 "bz2.ml", line 44, characters 34-56: 44 | external open_out : ?block:int -> Pervasives.out_channel -> out_channel ^^^^^^^^^^^^^^^^^^^^^^ 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 ocamlmklib -oc camlbz2 -o bz2 bz2.cmx -lbz2 >>> Source compiled. >>> Test phase [not enabled]: dev-ml/camlbz2-0.7.0 >>> Install dev-ml/camlbz2-0.7.0 into /var/tmp/portage/dev-ml/camlbz2-0.7.0/image make -j3 DESTDIR=/var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml install test -d /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml || mkdir -p /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml ocamlfind remove -destdir /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml bz2 ocamlfind: [WARNING] No such file: /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml/bz2/META ocamlfind install -destdir /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml \ -patch-version 0.6.0 -ldconf ignore \ bz2 META bz2.cmi bz2.mli bz2.cma dllcamlbz2.so libcamlbz2.a bz2.cmx bz2.cmxa bz2.a Installed /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml/bz2/bz2.a Installed /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml/bz2/bz2.cmxa Installed /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml/bz2/bz2.cmx Installed /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml/bz2/libcamlbz2.a Installed /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml/bz2/bz2.cma Installed /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml/bz2/bz2.mli Installed /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml/bz2/bz2.cmi Installed /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml/stublibs/dllcamlbz2.so Installed /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml/stublibs/dllcamlbz2.so.owner Installed /var/tmp/portage/dev-ml/camlbz2-0.7.0/image/usr/lib64/ocaml/bz2/META Traceback (most recent call last): File "/usr/lib/portage/python3.9/doins.py", line 594, in sys.exit(main(sys.argv[1:])) File "/usr/lib/portage/python3.9/doins.py", line 582, in main if _doins( File "/usr/lib/portage/python3.9/doins.py", line 434, in _doins return install_runner.install_file(source, os.path.dirname(dest)) File "/usr/lib/portage/python3.9/doins.py", line 370, in install_file return self._ins_runner.run(source, dest_dir) File "/usr/lib/portage/python3.9/doins.py", line 179, in run sstat = os.stat(source) FileNotFoundError: [Errno 2] No such file or directory: b'doc/.' * ERROR: dev-ml/camlbz2-0.7.0::gentoo failed (install phase): * dodoc failed * * If you need support, post the output of `emerge --info '=dev-ml/camlbz2-0.7.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ml/camlbz2-0.7.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ml:camlbz2-0.7.0:20210713-185553.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ml/camlbz2-0.7.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ml/camlbz2-0.7.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-ml/camlbz2-0.7.0/work/camlbz2-0.7.0' * S: '/var/tmp/portage/dev-ml/camlbz2-0.7.0/work/camlbz2-0.7.0'