Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 588362 Details for
Bug 692978
dev-ml/ocaml-mysql-1.2.2-r1 : mysql_stubs.c:211:3: error: unknown type name my_bool
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-ml:ocaml-mysql-1.2.2-r1:20190827-161659.log
dev-ml:ocaml-mysql-1.2.2-r1:20190827-161659.log (text/plain), 8.01 KB, created by
Toralf Förster
on 2019-08-27 18:39:58 UTC
(
hide
)
Description:
dev-ml:ocaml-mysql-1.2.2-r1:20190827-161659.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2019-08-27 18:39:58 UTC
Size:
8.01 KB
patch
obsolete
> * 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'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 692978
:
588360
| 588362 |
588364
|
588366
|
588368
|
588370
|
588372