* Package: dev-ml/ocaml-mysql-1.2.2-r1 * Repository: gentoo * Maintainer: ml@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ocaml-mysql-1.2.2.tar.gz to /var/tmp/portage/dev-ml/ocaml-mysql-1.2.2-r1/work >>> Source unpacked in /var/tmp/portage/dev-ml/ocaml-mysql-1.2.2-r1/work >>> Preparing source in /var/tmp/portage/dev-ml/ocaml-mysql-1.2.2-r1/work/ocaml-mysql-1.2.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ml/ocaml-mysql-1.2.2-r1/work/ocaml-mysql-1.2.2 ... ./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/ocaml-mysql-1.2.2-r1 --htmldir=/usr/share/doc/ocaml-mysql-1.2.2-r1/html --libdir=/usr/lib64 configure: checking for ocaml compiler and tools... checking for ocamlc... ocamlc checking for ocamlopt... ocamlopt checking for ocamlfind... ocamlfind checking whether ocamlopt supports natdynlink... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c configure: checking for C compiler... 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 configure: checking for C header files... 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 mysql_config include... -I/usr/include/mysql checking for mysql_config libs... -L/usr/lib64 -lmysqlclient -lpthread -lz -lm -lrt -lssl -lcrypto -ldl configure: checking for mysql.h... 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 mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: creating ./config.status config.status: creating Makefile config.status: creating VERSION config.status: creating config.h config.status: config.h is unchanged >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ml/ocaml-mysql-1.2.2-r1/work/ocaml-mysql-1.2.2 ... make -j1 all make[1]: Entering directory '/var/tmp/portage/dev-ml/ocaml-mysql-1.2.2-r1/work/ocaml-mysql-1.2.2' ocamldep mysql.mli > ._bcdi/mysql.di ocamldep mysql.ml > ._d/mysql.d ocamlc -c -cc "cc" -ccopt "-fPIC -O2 -pipe -march=native -DHAVE_CONFIG_H -Wall -Wextra \ -DPIC -I/usr/include/mysql \ -o mysql_stubs.o " mysql_stubs.c mysql_stubs.c: In function ‘db_connect’: mysql_stubs.c:211:3: error: unknown type name ‘my_bool’; did you mean ‘bool’? 211 | my_bool option_bool; | ^~~~~~~ | bool mysql_stubs.c:190:59: error: ‘MYSQL_OPT_SSL_VERIFY_SERVER_CERT’ undeclared (first use in this function); did you mean ‘CLIENT_SSL_VERIFY_SERVER_CERT’? 190 | #define SET_OPTION(option, p) if (0 != mysql_options(init,MYSQL_##option,p)) mysqlfailwith( "MYSQL_" #option ); break | ^~~~~~ mysql_stubs.c:191:60: note: in expansion of macro ‘SET_OPTION’ 191 | #define SET_OPTION_BOOL(option) option_bool = Bool_val(v); SET_OPTION(option, &option_bool) | ^~~~~~~~~~ mysql_stubs.c:230:20: note: in expansion of macro ‘SET_OPTION_BOOL’ 230 | case 2: SET_OPTION_BOOL(OPT_SSL_VERIFY_SERVER_CERT); | ^~~~~~~~~~~~~~~ mysql_stubs.c:190:59: note: each undeclared identifier is reported only once for each function it appears in 190 | #define SET_OPTION(option, p) if (0 != mysql_options(init,MYSQL_##option,p)) mysqlfailwith( "MYSQL_" #option ); break | ^~~~~~ mysql_stubs.c:191:60: note: in expansion of macro ‘SET_OPTION’ 191 | #define SET_OPTION_BOOL(option) option_bool = Bool_val(v); SET_OPTION(option, &option_bool) | ^~~~~~~~~~ mysql_stubs.c:230:20: note: in expansion of macro ‘SET_OPTION_BOOL’ 230 | case 2: SET_OPTION_BOOL(OPT_SSL_VERIFY_SERVER_CERT); | ^~~~~~~~~~~~~~~ mysql_stubs.c:190:59: error: ‘MYSQL_SECURE_AUTH’ undeclared (first use in this function); did you mean ‘MYSQL_DEFAULT_AUTH’? 190 | #define SET_OPTION(option, p) if (0 != mysql_options(init,MYSQL_##option,p)) mysqlfailwith( "MYSQL_" #option ); break | ^~~~~~ mysql_stubs.c:191:60: note: in expansion of macro ‘SET_OPTION’ 191 | #define SET_OPTION_BOOL(option) option_bool = Bool_val(v); SET_OPTION(option, &option_bool) | ^~~~~~~~~~ mysql_stubs.c:232:20: note: in expansion of macro ‘SET_OPTION_BOOL’ 232 | case 4: SET_OPTION_BOOL(SECURE_AUTH); | ^~~~~~~~~~~~~~~ mysql_stubs.c: In function ‘db_change_user’: mysql_stubs.c:296:3: error: unknown type name ‘my_bool’; did you mean ‘bool’? 296 | my_bool ret; | ^~~~~~~ | bool mysql_stubs.c: In function ‘db_select_db’: mysql_stubs.c:361:3: error: unknown type name ‘my_bool’; did you mean ‘bool’? 361 | my_bool ret; | ^~~~~~~ | bool mysql_stubs.c: At top level: mysql_stubs.c:963:3: error: unknown type name ‘my_bool’ 963 | my_bool* error; | ^~~~~~~ mysql_stubs.c:964:3: error: unknown type name ‘my_bool’ 964 | my_bool* is_null; | ^~~~~~~ mysql_stubs.c: In function ‘create_row’: mysql_stubs.c:975:38: error: ‘my_bool’ undeclared (first use in this function); did you mean ‘bool’? 975 | row->error = calloc(count,sizeof(my_bool)); | ^~~~~~~ | bool mysql_stubs.c: In function ‘bind_result’: mysql_stubs.c:1010:17: warning: assignment to ‘_Bool *’ from incompatible pointer type ‘int *’ [-Wincompatible-pointer-types] 1010 | bind->is_null = &r->is_null[index]; | ^ mysql_stubs.c:1012:15: warning: assignment to ‘_Bool *’ from incompatible pointer type ‘int *’ [-Wincompatible-pointer-types] 1012 | bind->error = &r->error[index]; | ^ make[1]: *** [OCamlMakefile:1111: mysql_stubs.o] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-ml/ocaml-mysql-1.2.2-r1/work/ocaml-mysql-1.2.2' make: *** [OCamlMakefile:781: byte-code-library] Error 2 * ERROR: dev-ml/ocaml-mysql-1.2.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ml/ocaml-mysql-1.2.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ml/ocaml-mysql-1.2.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ml:ocaml-mysql-1.2.2-r1:20190827-161659.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ml/ocaml-mysql-1.2.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ml/ocaml-mysql-1.2.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-ml/ocaml-mysql-1.2.2-r1/work/ocaml-mysql-1.2.2' * S: '/var/tmp/portage/dev-ml/ocaml-mysql-1.2.2-r1/work/ocaml-mysql-1.2.2'