sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
The package failed to build. The error log from opam follows.
[NOTE] Package dune is already installed (current version is 3.17.2). [NOTE] Package ocamlfind is already installed (current version is 1.9.8). The following actions will be performed: === install 114 packages - install ANSITerminal 0.8.5 - install angstrom 0.16.1 - install asn1-combinators 0.2.6 - install astring 0.8.5 - install base v0.17.1 - install base-bytes base - install base64 3.5.1 - install bigstringaf 0.10.0 - install bos 0.2.1 - install ca-certs 0.2.3 - install calendar 3.0.0 - install cmdliner 1.3.0 - install cohttp 5.3.1 - install cohttp-lwt 5.3.0 - install cohttp-lwt-unix 5.3.0 - install conduit 6.2.3 - install conduit-lwt 6.2.3 - install conduit-lwt-unix 6.2.3 - install conf-gmp 4 - install conf-gmp-powm-sec 3 - install conf-libpcre 2 - install conf-mysql 1 - install conf-pkg-config 4 - install cppo 1.8.0 - install csexp 1.5.2 - install cstruct 6.2.0 - install domain-name 0.4.0 - install dune-build-info 3.17.2 - install dune-configurator 3.17.2 - install duration 0.2.1 - install eqaf 0.9 - install fmt 0.9.0 - install fpath 0.7.3 - install gen 1.1 - install gmap 0.3.0 - install hkdf 1.0.4 (deprecated) - install ipaddr 5.6.0 - install ipaddr-sexp 5.6.0 - install iri 1.0.0 - install jane-street-headers v0.17.0 - install jsonm 1.0.2 - install jst-config v0.17.0 - install linenoise 1.5.1 - install links 0.9.8 - install links-mysql 0.9.8 - install logs 0.7.0 - install lwt 5.9.0 - install lwt_log 1.1.2 - install lwt_ppx 5.8.0 - install macaddr 5.6.0 - install magic-mime 1.3.1 - install menhir 20240715 - install menhirCST 20240715 - install menhirLib 20240715 - install menhirSdk 20240715 - install mirage-crypto 0.11.3 - install mirage-crypto-ec 0.11.3 - install mirage-crypto-pk 0.11.3 - install mirage-crypto-rng 0.11.3 - install mysql8 1.0 - install num 1.5-1 - install ocaml-compiler-libs v0.12.4 - install ocaml-syntax-shims 1.0.0 - install ocaml_intrinsics_kernel v0.17.1 - install ocamlbuild 0.15.0 - install ocplib-endian 1.2 - install parsexp v0.17.0 - install pbkdf 1.2.0 - install pcre 8.0.2 - install ppx_assert v0.17.0 - install ppx_base v0.17.0 - install ppx_cold v0.17.0 - install ppx_compare v0.17.0 - install ppx_derivers 1.2.1 - install ppx_deriving 6.0.3 - install ppx_deriving_yojson 3.9.1 - install ppx_enumerate v0.17.0 - install ppx_globalize v0.17.0 - install ppx_hash v0.17.0 - install ppx_here v0.17.0 - install ppx_inline_test v0.17.0 - install ppx_optcomp v0.17.0 - install ppx_sexp_conv v0.17.0 - install ppxlib 0.35.0 - install ppxlib_jane v0.17.0 - install ptime 1.2.0 - install rdf 1.0.0 - install rdf_lwt 1.0.0 - install re 1.12.0 - install result 1.5 - install rresult 0.7.0 - install safepass 3.1 - install sedlex 3.3 - install seq base - install sexplib v0.17.0 - install sexplib0 v0.17.0 - install stdio v0.17.0 - install stdlib-shims 0.3.0 - install stringext 1.6.0 - install time_now v0.17.0 - install tls 0.17.5 - install topkg 1.0.7 - install uri 4.4.0 - install uri-sexp 4.4.0 - install uucp 16.0.0 - install uuidm 0.9.9 - install uunf 16.0.0 - install uutf 1.0.3 - install websocket 2.16 - install websocket-lwt-unix 2.16 - install x509 0.16.5 - install xmlm 1.4.0 - install yojson 2.2.2 - install zarith 1.14 The following system packages will first need to be installed: default-libmysqlclient-dev libgmp-dev libpcre3-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "default-libmysqlclient-dev" "libgmp-dev" "libpcre3-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package mysql-common. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18776 files and directories currently installed.) - Preparing to unpack .../00-mysql-common_5.8+1.1.0_all.deb ... - Unpacking mysql-common (5.8+1.1.0) ... - Selecting previously unselected package mariadb-common. - Preparing to unpack .../01-mariadb-common_1%3a10.11.6-0+deb12u1_all.deb ... - Unpacking mariadb-common (1:10.11.6-0+deb12u1) ... - Selecting previously unselected package libmariadb3:amd64. - Preparing to unpack .../02-libmariadb3_1%3a10.11.6-0+deb12u1_amd64.deb ... - Unpacking libmariadb3:amd64 (1:10.11.6-0+deb12u1) ... - Selecting previously unselected package libssl-dev:amd64. - Preparing to unpack .../03-libssl-dev_3.0.15-1~deb12u1_amd64.deb ... - Unpacking libssl-dev:amd64 (3.0.15-1~deb12u1) ... - Selecting previously unselected package zlib1g-dev:amd64. - Preparing to unpack .../04-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ... - Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ... - Selecting previously unselected package libmariadb-dev. - Preparing to unpack .../05-libmariadb-dev_1%3a10.11.6-0+deb12u1_amd64.deb ... - Unpacking libmariadb-dev (1:10.11.6-0+deb12u1) ... - Selecting previously unselected package libmariadb-dev-compat. - Preparing to unpack .../06-libmariadb-dev-compat_1%3a10.11.6-0+deb12u1_amd64.deb ... - Unpacking libmariadb-dev-compat (1:10.11.6-0+deb12u1) ... - Selecting previously unselected package default-libmysqlclient-dev:amd64. - Preparing to unpack .../07-default-libmysqlclient-dev_1.1.0_amd64.deb ... - Unpacking default-libmysqlclient-dev:amd64 (1.1.0) ... - Selecting previously unselected package libgmpxx4ldbl:amd64. - Preparing to unpack .../08-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ... - Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ... - Selecting previously unselected package libgmp-dev:amd64. - Preparing to unpack .../09-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ... - Selecting previously unselected package libpcre16-3:amd64. - Preparing to unpack .../10-libpcre16-3_2%3a8.39-15_amd64.deb ... - Unpacking libpcre16-3:amd64 (2:8.39-15) ... - Selecting previously unselected package libpcre3:amd64. - Preparing to unpack .../11-libpcre3_2%3a8.39-15_amd64.deb ... - Unpacking libpcre3:amd64 (2:8.39-15) ... - Selecting previously unselected package libpcre32-3:amd64. - Preparing to unpack .../12-libpcre32-3_2%3a8.39-15_amd64.deb ... - Unpacking libpcre32-3:amd64 (2:8.39-15) ... - Selecting previously unselected package libpcrecpp0v5:amd64. - Preparing to unpack .../13-libpcrecpp0v5_2%3a8.39-15_amd64.deb ... - Unpacking libpcrecpp0v5:amd64 (2:8.39-15) ... - Selecting previously unselected package libpcre3-dev:amd64. - Preparing to unpack .../14-libpcre3-dev_2%3a8.39-15_amd64.deb ... - Unpacking libpcre3-dev:amd64 (2:8.39-15) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../15-libpkgconf3_1.8.1-1_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../16-pkgconf-bin_1.8.1-1_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-1) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../17-pkgconf_1.8.1-1_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-1) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../18-pkg-config_1.8.1-1_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-1) ... - Setting up mysql-common (5.8+1.1.0) ... - update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode - Setting up libpcre16-3:amd64 (2:8.39-15) ... - Setting up mariadb-common (1:10.11.6-0+deb12u1) ... - update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode - Setting up libpcre3:amd64 (2:8.39-15) ... - Setting up libpkgconf3:amd64 (1.8.1-1) ... - Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ... - Setting up libssl-dev:amd64 (3.0.15-1~deb12u1) ... - Setting up libpcre32-3:amd64 (2:8.39-15) ... - Setting up libmariadb3:amd64 (1:10.11.6-0+deb12u1) ... - Setting up pkgconf-bin (1.8.1-1) ... - Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ... - Setting up libpcrecpp0v5:amd64 (2:8.39-15) ... - Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ... - Setting up libpcre3-dev:amd64 (2:8.39-15) ... - Setting up pkgconf:amd64 (1.8.1-1) ... - Setting up pkg-config:amd64 (1.8.1-1) ... - Setting up libmariadb-dev (1:10.11.6-0+deb12u1) ... - Setting up libmariadb-dev-compat (1:10.11.6-0+deb12u1) ... - Setting up default-libmysqlclient-dev:amd64 (1.1.0) ... - Processing triggers for libc-bin (2.36-9+deb12u9) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ANSITerminal.0.8.5 (cached) -> retrieved asn1-combinators.0.2.6 (cached) -> retrieved angstrom.0.16.1 (cached) -> installed base-bytes.base -> retrieved astring.0.8.5 (cached) -> retrieved base.v0.17.1 (cached) -> retrieved base64.3.5.1 (cached) -> retrieved bigstringaf.0.10.0 (cached) -> retrieved bos.0.2.1 (cached) -> retrieved ca-certs.0.2.3 (cached) -> retrieved calendar.3.0.0 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved cohttp.5.3.1 (cached) -> retrieved conf-gmp.4 (cached) -> retrieved conf-gmp-powm-sec.3 (cached) -> retrieved cohttp-lwt.5.3.0, cohttp-lwt-unix.5.3.0 (cached) -> retrieved conduit.6.2.3, conduit-lwt.6.2.3, conduit-lwt-unix.6.2.3 (cached) -> retrieved cppo.1.8.0 (cached) -> installed ANSITerminal.0.8.5 -> installed conf-gmp.4 -> installed conf-mysql.1 -> installed conf-pkg-config.4 -> retrieved csexp.1.5.2 (cached) -> retrieved cstruct.6.2.0 (cached) -> installed base64.3.5.1 -> retrieved domain-name.0.4.0 (cached) -> installed conf-gmp-powm-sec.3 -> installed conf-libpcre.2 -> retrieved duration.0.2.1 (cached) -> retrieved eqaf.0.9 (cached) -> retrieved fmt.0.9.0 (cached) -> retrieved fpath.0.7.3 (cached) -> retrieved gen.1.1 (cached) -> retrieved gmap.0.3.0 (cached) -> retrieved hkdf.1.0.4 (cached) -> retrieved ipaddr.5.6.0, ipaddr-sexp.5.6.0, macaddr.5.6.0 (cached) -> retrieved iri.1.0.0 (cached) -> retrieved jane-street-headers.v0.17.0 (cached) -> retrieved jst-config.v0.17.0 (cached) -> retrieved jsonm.1.0.2 (cached) -> retrieved linenoise.1.5.1 (cached) -> retrieved logs.0.7.0 (cached) -> retrieved lwt.5.9.0 (cached) -> installed csexp.1.5.2 -> retrieved lwt_log.1.1.2 (cached) -> retrieved lwt_ppx.5.8.0 (cached) -> installed domain-name.0.4.0 -> installed duration.0.2.1 -> retrieved magic-mime.1.3.1 (cached) -> installed gmap.0.3.0 -> installed jane-street-headers.v0.17.0 -> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached) -> installed cppo.1.8.0 -> retrieved dune-build-info.3.17.2, dune-configurator.3.17.2 (cached) -> retrieved links.0.9.8, links-mysql.0.9.8 (cached) -> retrieved mirage-crypto.0.11.3, mirage-crypto-ec.0.11.3, mirage-crypto-pk.0.11.3, mirage-crypto-rng.0.11.3 (cached) -> retrieved mysql8.1.0 (cached) -> retrieved num.1.5-1 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> installed cmdliner.1.3.0 -> installed linenoise.1.5.1 -> installed macaddr.5.6.0 -> installed magic-mime.1.3.1 -> installed menhirCST.20240715 -> installed menhirLib.20240715 -> installed menhirSdk.20240715 -> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved parsexp.v0.17.0 (cached) -> retrieved pbkdf.1.2.0 (cached) -> retrieved pcre.8.0.2 (cached) -> retrieved ppx_assert.v0.17.0 (cached) -> retrieved ppx_base.v0.17.0 (cached) -> retrieved ppx_cold.v0.17.0 (cached) -> retrieved ppx_compare.v0.17.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved ppx_deriving_yojson.3.9.1 (cached) -> retrieved ppx_deriving.6.0.3 (cached) -> retrieved ppx_enumerate.v0.17.0 (cached) -> retrieved ppx_globalize.v0.17.0 (cached) -> retrieved ppx_hash.v0.17.0 (cached) -> retrieved ppx_here.v0.17.0 (cached) -> retrieved ppx_inline_test.v0.17.0 (cached) -> retrieved ppx_optcomp.v0.17.0 (cached) -> retrieved ppx_sexp_conv.v0.17.0 (cached) -> retrieved ppxlib_jane.v0.17.0 (cached) -> installed dune-build-info.3.17.2 -> installed ipaddr.5.6.0 -> installed ocaml_intrinsics_kernel.v0.17.1 -> installed ocplib-endian.1.2 -> installed ppx_derivers.1.2.1 -> retrieved ppxlib.0.35.0 (cached) -> retrieved ptime.1.2.0 (cached) -> retrieved result.1.5 (cached) -> retrieved re.1.12.0 (cached) -> retrieved rresult.0.7.0 (cached) -> retrieved safepass.3.1 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved sedlex.3.3 (cached) -> retrieved sexplib.v0.17.0 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdio.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved stringext.1.6.0 (cached) -> retrieved time_now.v0.17.0 (cached) -> retrieved topkg.1.0.7 (cached) -> installed ocaml-syntax-shims.1.0.0 -> installed ocaml-compiler-libs.v0.12.4 -> installed result.1.5 -> retrieved tls.0.17.5 (cached) -> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached) -> installed stdlib-shims.0.3.0 -> retrieved uuidm.0.9.9 (cached) -> installed stringext.1.6.0 -> retrieved uunf.16.0.0 (cached) -> retrieved uutf.1.0.3 (cached) -> retrieved websocket.2.16, websocket-lwt-unix.2.16 (cached) -> installed dune-configurator.3.17.2 -> retrieved x509.0.16.5 (cached) -> retrieved uucp.16.0.0 (cached) -> retrieved xmlm.1.4.0 (cached) -> retrieved zarith.1.14 (cached) -> retrieved yojson.2.2.2 (cached) -> retrieved rdf.1.0.0, rdf_lwt.1.0.0 (cached) -> installed num.1.5-1 -> installed safepass.3.1 -> installed gen.1.1 -> installed re.1.12.0 -> installed sexplib0.v0.17.0 -> installed bigstringaf.0.10.0 -> installed pcre.8.0.2 -> installed yojson.2.2.2 -> installed angstrom.0.16.1 -> installed calendar.3.0.0 -> installed parsexp.v0.17.0 -> installed ocamlbuild.0.15.0 -> installed uri.4.4.0 -> installed lwt.5.9.0 -> installed sexplib.v0.17.0 -> installed zarith.1.14 -> installed lwt_log.1.1.2 -> installed base.v0.17.1 -> installed stdio.v0.17.0 -> installed topkg.1.0.7 -> installed rresult.0.7.0 -> installed uuidm.0.9.9 -> installed uutf.1.0.3 -> installed xmlm.1.4.0 -> installed fmt.0.9.0 -> installed ptime.1.2.0 -> installed astring.0.8.5 -> installed cstruct.6.2.0 -> installed jsonm.1.0.2 -> installed fpath.0.7.3 -> installed eqaf.0.9 -> installed asn1-combinators.0.2.6 -> installed menhir.20240715 -> installed logs.0.7.0 -> installed mirage-crypto.0.11.3 -> installed hkdf.1.0.4 -> installed pbkdf.1.2.0 -> installed mirage-crypto-rng.0.11.3 -> installed uunf.16.0.0 -> installed ppxlib.0.35.0 -> installed bos.0.2.1 -> installed mirage-crypto-pk.0.11.3 -> installed ppx_optcomp.v0.17.0 -> installed ppxlib_jane.v0.17.0 -> installed ppx_cold.v0.17.0 -> installed ppx_here.v0.17.0 -> installed lwt_ppx.5.8.0 -> installed ppx_enumerate.v0.17.0 -> installed ppx_globalize.v0.17.0 -> installed ppx_deriving.6.0.3 -> installed ppx_compare.v0.17.0 -> installed sedlex.3.3 -> installed mirage-crypto-ec.0.11.3 -> installed ppx_sexp_conv.v0.17.0 -> installed ppx_deriving_yojson.3.9.1 -> installed iri.1.0.0 -> installed x509.0.16.5 -> installed ipaddr-sexp.5.6.0 -> installed ca-certs.0.2.3 -> installed uri-sexp.4.4.0 -> installed ppx_hash.v0.17.0 -> installed ppx_assert.v0.17.0 -> installed tls.0.17.5 -> installed conduit.6.2.3 -> installed ppx_base.v0.17.0 -> installed cohttp.5.3.1 -> installed websocket.2.16 -> installed conduit-lwt.6.2.3 -> installed jst-config.v0.17.0 -> installed cohttp-lwt.5.3.0 -> installed conduit-lwt-unix.6.2.3 -> installed time_now.v0.17.0 -> installed cohttp-lwt-unix.5.3.0 -> installed ppx_inline_test.v0.17.0 -> installed websocket-lwt-unix.2.16 [ERROR] The compilation of mysql8.1.0 failed at "dune build -p mysql8 -j 255". -> installed uucp.16.0.0 -> installed rdf.1.0.0 -> installed rdf_lwt.1.0.0 -> installed links.0.9.8 #=== ERROR while compiling mysql8.1.0 =========================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src # path ~/.opam/5.1/.opam-switch/build/mysql8.1.0 # command ~/.opam/5.1/bin/dune build -p mysql8 -j 255 # exit-code 1 # env-file ~/.opam/log/mysql8-113-0eaff5.env # output-file ~/.opam/log/mysql8-113-0eaff5.out ### output ### # File "lib/dune", line 4, characters 10-22: # 4 | (c_names mysql8_stubs) # ^^^^^^^^^^^^ # (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -I/usr/include/mariadb/ -g -I /home/opam/.opam/5.1/lib/ocaml -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/jane-street-headers -I /home/opam/.opam/5.1/lib/ocaml_intrinsics_kernel -I /home/opam/.opam/5.1/lib/ppx_compare/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_hash/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_inline_test/config -I /home/opam/.opam/5.1/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/time_now -o mysql8_stubs.o -c mysql8_stubs.c) # In file included from mysql8_stubs.c:11: # mysql8_stubs.c: In function 'val_str_option': # /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 329 | #define String_val(x) ((const char *) Bp_val(x)) # | ~^~~~~~~~~~~~~~~~~~~~~~~~~ # mysql8_stubs.c:153:12: note: in expansion of macro 'String_val' # 153 | memcpy(String_val(v), s, length); # | ^~~~~~~~~~ # In file included from mysql8_stubs.c:6: # /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *' # 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, # | ~~~~~~~~~~~~~~~~~^~~~~~ # mysql8_stubs.c: In function 'db_connect': # mysql8_stubs.c:221:3: error: unknown type name 'bool' # 221 | bool option_bool; # | ^~~~ # mysql8_stubs.c:39:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? # 38 | #include <mysql.h> # +++ |+#include <stdbool.h> # 39 | #endif # mysql8_stubs.c:192:32: error: 'MYSQL_OPT_SSL_MODE' undeclared (first use in this function); did you mean 'MYSQL_OPT_SSL_CRL'? # 192 | if (0 != mysql_options(init, MYSQL_##option, p)) \ # | ^~~~~~ # mysql8_stubs.c:200:3: note: in expansion of macro 'SET_OPTION' # 200 | SET_OPTION(option, &option_int) # | ^~~~~~~~~~ # mysql8_stubs.c:243:11: note: in expansion of macro 'SET_OPTION_INT' # 243 | SET_OPTION_INT(OPT_SSL_MODE); # | ^~~~~~~~~~~~~~ # mysql8_stubs.c:192:32: note: each undeclared identifier is reported only once for each function it appears in # 192 | if (0 != mysql_options(init, MYSQL_##option, p)) \ # | ^~~~~~ # mysql8_stubs.c:200:3: note: in expansion of macro 'SET_OPTION' # 200 | SET_OPTION(option, &option_int) # | ^~~~~~~~~~ # mysql8_stubs.c:243:11: note: in expansion of macro 'SET_OPTION_INT' # 243 | SET_OPTION_INT(OPT_SSL_MODE); # | ^~~~~~~~~~~~~~ # mysql8_stubs.c: In function 'db_change_user': # mysql8_stubs.c:331:3: error: unknown type name 'bool' # 331 | bool ret; # | ^~~~ # mysql8_stubs.c:331:3: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? # mysql8_stubs.c: In function 'db_select_db': # mysql8_stubs.c:398:3: error: unknown type name 'bool' # 398 | bool ret; # | ^~~~ # mysql8_stubs.c:398:3: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? # mysql8_stubs.c: In function 'db_escape': # mysql8_stubs.c:611:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 611 | s = String_val(str); # | ^ # /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 329 | #define String_val(x) ((const char *) Bp_val(x)) # | ~^~~~~~~~~~~~~~~~~~~~~~~~~ # mysql8_stubs.c:617:10: note: in expansion of macro 'String_val' # 617 | memcpy(String_val(res), buf, esclen); # | ^~~~~~~~~~ # /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *' # 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, # | ~~~~~~~~~~~~~~~~~^~~~~~ # mysql8_stubs.c: In function 'db_real_escape': # mysql8_stubs.c:635:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 635 | s = String_val(str); # | ^ # /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 329 | #define String_val(x) ((const char *) Bp_val(x)) # | ~^~~~~~~~~~~~~~~~~~~~~~~~~ # mysql8_stubs.c:645:10: note: in expansion of macro 'String_val' # 645 | memcpy(String_val(res), buf, esclen); # | ^~~~~~~~~~ # /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *' # 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, # | ~~~~~~~~~~~~~~~~~^~~~~~ # mysql8_stubs.c: At top level: # mysql8_stubs.c:1011:3: error: unknown type name 'bool' # 1011 | bool *error; # | ^~~~ # mysql8_stubs.c:1012:3: error: unknown type name 'bool' # 1012 | bool *is_null; # | ^~~~ # mysql8_stubs.c: In function 'create_row': # mysql8_stubs.c:1023:39: error: 'bool' undeclared (first use in this function) # 1023 | row->error = calloc(count, sizeof(bool)); # | ^~~~ # mysql8_stubs.c:1023:39: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? # mysql8_stubs.c: In function 'bind_result': # mysql8_stubs.c:1058:17: warning: assignment to 'my_bool *' {aka 'char *'} from incompatible pointer type 'int *' [-Wincompatible-pointer-types] # 1058 | bind->is_null = &r->is_null[index]; # | ^ # mysql8_stubs.c:1060:15: warning: assignment to 'my_bool *' {aka 'char *'} from incompatible pointer type 'int *' [-Wincompatible-pointer-types] # 1060 | bind->error = &r->error[index]; # | ^ # mysql8_stubs.c: In function 'get_column': # mysql8_stubs.c:1079:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 1079 | bind->buffer = String_val(str); # | ^ <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build mysql8 1.0 +- +- The following changes have been performed (the rest was aborted) | - install ANSITerminal 0.8.5 | - install angstrom 0.16.1 | - install asn1-combinators 0.2.6 | - install astring 0.8.5 | - install base v0.17.1 | - install base-bytes base | - install base64 3.5.1 | - install bigstringaf 0.10.0 | - install bos 0.2.1 | - install ca-certs 0.2.3 | - install calendar 3.0.0 | - install cmdliner 1.3.0 | - install cohttp 5.3.1 | - install cohttp-lwt 5.3.0 | - install cohttp-lwt-unix 5.3.0 | - install conduit 6.2.3 | - install conduit-lwt 6.2.3 | - install conduit-lwt-unix 6.2.3 | - install conf-gmp 4 | - install conf-gmp-powm-sec 3 | - install conf-libpcre 2 | - install conf-mysql 1 | - install conf-pkg-config 4 | - install cppo 1.8.0 | - install csexp 1.5.2 | - install cstruct 6.2.0 | - install domain-name 0.4.0 | - install dune-build-info 3.17.2 | - install dune-configurator 3.17.2 | - install duration 0.2.1 | - install eqaf 0.9 | - install fmt 0.9.0 | - install fpath 0.7.3 | - install gen 1.1 | - install gmap 0.3.0 | - install hkdf 1.0.4 | - install ipaddr 5.6.0 | - install ipaddr-sexp 5.6.0 | - install iri 1.0.0 | - install jane-street-headers v0.17.0 | - install jsonm 1.0.2 | - install jst-config v0.17.0 | - install linenoise 1.5.1 | - install links 0.9.8 | - install logs 0.7.0 | - install lwt 5.9.0 | - install lwt_log 1.1.2 | - install lwt_ppx 5.8.0 | - install macaddr 5.6.0 | - install magic-mime 1.3.1 | - install menhir 20240715 | - install menhirCST 20240715 | - install menhirLib 20240715 | - install menhirSdk 20240715 | - install mirage-crypto 0.11.3 | - install mirage-crypto-ec 0.11.3 | - install mirage-crypto-pk 0.11.3 | - install mirage-crypto-rng 0.11.3 | - install num 1.5-1 | - install ocaml-compiler-libs v0.12.4 | - install ocaml-syntax-shims 1.0.0 | - install ocaml_intrinsics_kernel v0.17.1 | - install ocamlbuild 0.15.0 | - install ocplib-endian 1.2 | - install parsexp v0.17.0 | - install pbkdf 1.2.0 | - install pcre 8.0.2 | - install ppx_assert v0.17.0 | - install ppx_base v0.17.0 | - install ppx_cold v0.17.0 | - install ppx_compare v0.17.0 | - install ppx_derivers 1.2.1 | - install ppx_deriving 6.0.3 | - install ppx_deriving_yojson 3.9.1 | - install ppx_enumerate v0.17.0 | - install ppx_globalize v0.17.0 | - install ppx_hash v0.17.0 | - install ppx_here v0.17.0 | - install ppx_inline_test v0.17.0 | - install ppx_optcomp v0.17.0 | - install ppx_sexp_conv v0.17.0 | - install ppxlib 0.35.0 | - install ppxlib_jane v0.17.0 | - install ptime 1.2.0 | - install rdf 1.0.0 | - install rdf_lwt 1.0.0 | - install re 1.12.0 | - install result 1.5 | - install rresult 0.7.0 | - install safepass 3.1 | - install sedlex 3.3 | - install seq base | - install sexplib v0.17.0 | - install sexplib0 v0.17.0 | - install stdio v0.17.0 | - install stdlib-shims 0.3.0 | - install stringext 1.6.0 | - install time_now v0.17.0 | - install tls 0.17.5 | - install topkg 1.0.7 | - install uri 4.4.0 | - install uri-sexp 4.4.0 | - install uucp 16.0.0 | - install uuidm 0.9.9 | - install uunf 16.0.0 | - install uutf 1.0.3 | - install websocket 2.16 | - install websocket-lwt-unix 2.16 | - install x509 0.16.5 | - install xmlm 1.4.0 | - install yojson 2.2.2 | - install zarith 1.14 +- <><> hkdf.1.0.4 installed successfully ><><><><><><><><><><><><><><><><><><><><> => Note: This package is deprecated. # To update the current shell environment, run: eval $(opam env) The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20250206012213.export"