* Package: dev-ml/ocaml-augeas-0.5 * Repository: gentoo * Maintainer: prometheanfire@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ocaml-augeas-0.5.tar.gz to /var/tmp/portage/dev-ml/ocaml-augeas-0.5/work >>> Source unpacked in /var/tmp/portage/dev-ml/ocaml-augeas-0.5/work >>> Preparing source in /var/tmp/portage/dev-ml/ocaml-augeas-0.5/work/ocaml-augeas-0.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ml/ocaml-augeas-0.5/work/ocaml-augeas-0.5 ... ./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 --libdir=/usr/lib64 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.7/ebuild-helpers/xattr/install -c checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for function prototypes... yes checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking for x86_64-pc-linux-gnu-ocamlc... no checking for ocamlc... ocamlc OCaml version is 4.11.1 OCaml library path is /usr/lib64/ocaml checking for x86_64-pc-linux-gnu-ocamlopt... no checking for ocamlopt... ocamlopt checking for x86_64-pc-linux-gnu-ocamlc.opt... no checking for ocamlc.opt... ocamlc.opt checking for x86_64-pc-linux-gnu-ocamlopt.opt... no checking for ocamlopt.opt... ocamlopt.opt checking for x86_64-pc-linux-gnu-ocaml... no checking for ocaml... ocaml checking for x86_64-pc-linux-gnu-ocamldep... no checking for ocamldep... ocamldep checking for x86_64-pc-linux-gnu-ocamlmktop... no checking for ocamlmktop... ocamlmktop checking for x86_64-pc-linux-gnu-ocamlmklib... no checking for ocamlmklib... ocamlmklib checking for x86_64-pc-linux-gnu-ocamldoc... no checking for ocamldoc... ocamldoc checking for x86_64-pc-linux-gnu-ocamlbuild... no checking for ocamlbuild... ocamlbuild checking for x86_64-pc-linux-gnu-ocamlfind... no checking for ocamlfind... ocamlfind checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML2... yes checking for AUGEAS... yes configure: creating ./config.status config.status: creating Makefile config.status: creating META config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ml/ocaml-augeas-0.5/work/ocaml-augeas-0.5 ... make -j1 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -I/usr/include/libxml2 -I/usr/include/libxml2 -fPIC -I/usr/lib64/ocaml -Wall -Werror -c -o augeas_c.o augeas_c.c In file included from /usr/lib64/ocaml/caml/alloc.h:24, from augeas_c.c:25: augeas_c.c: In function ‘ocaml_augeas_create’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:89:16: note: in expansion of macro ‘String_val’ 89 | char *root = String_val (rootv); | ^~~~~~~~~~ augeas_c.c:95:12: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 95 | loadpath = | ^ In file included from /usr/lib64/ocaml/caml/alloc.h:24, from augeas_c.c:25: augeas_c.c: In function ‘ocaml_augeas_get’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:136:16: note: in expansion of macro ‘String_val’ 136 | char *path = String_val (pathv); | ^~~~~~~~~~ augeas_c.c: In function ‘ocaml_augeas_exists’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:162:16: note: in expansion of macro ‘String_val’ 162 | char *path = String_val (pathv); | ^~~~~~~~~~ augeas_c.c: In function ‘ocaml_augeas_insert’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:184:16: note: in expansion of macro ‘String_val’ 184 | char *path = String_val (pathv); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:185:17: note: in expansion of macro ‘String_val’ 185 | char *label = String_val (labelv); | ^~~~~~~~~~ augeas_c.c: In function ‘ocaml_augeas_rm’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:202:16: note: in expansion of macro ‘String_val’ 202 | char *path = String_val (path); | ^~~~~~~~~~ augeas_c.c: In function ‘ocaml_augeas_match’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:219:16: note: in expansion of macro ‘String_val’ 219 | char *path = String_val (pathv); | ^~~~~~~~~~ augeas_c.c: In function ‘ocaml_augeas_count_matches’: /usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ augeas_c.c:249:16: note: in expansion of macro ‘String_val’ 249 | char *path = String_val (path); | ^~~~~~~~~~ cc1: all warnings being treated as errors make: *** [: augeas_c.o] Error 1 * ERROR: dev-ml/ocaml-augeas-0.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ml/ocaml-augeas-0.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ml/ocaml-augeas-0.5::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ml:ocaml-augeas-0.5:20201019-014710.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ml/ocaml-augeas-0.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ml/ocaml-augeas-0.5/temp/environment'. * Working directory: '/var/tmp/portage/dev-ml/ocaml-augeas-0.5/work/ocaml-augeas-0.5' * S: '/var/tmp/portage/dev-ml/ocaml-augeas-0.5/work/ocaml-augeas-0.5'