Building on falling (from freebsd-ocaml-5.0) 2023-10-18 14:05.53 ---> using "b0ee167c73857b60ecf6c06eff6bbe96857a02ac84fefd2b9807cb2eea16bf97" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam")) 2023-10-18 14:05.53 ---> using "58da31f76f3dd28576bb2b11a05c1473a2cbc0bc8e959f83414ab7001888e94f" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q a4349cb398e7d693e3d509914067dc47d1c71782")) 2023-10-18 14:05.53 ---> using "847cbd71d6e243cb26730c6185d78510731de6bc2b4440eaf8f09e2ada29204e" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository")) No configuration file found, using built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: /usr/home/opam/.profile is already up-to-date. [NOTE] Make sure that /usr/home/opam/.profile is well sourced in your ~/.bashrc. 2023-10-18 14:05.53 ---> using "76fe4e508bf18ac6169aa42d066ca9a1236d6528de4350d6a7fa0ee89b29da2f" from cache /: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.1.0' 'ocaml-base-compiler.5.1.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.1.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.5.1.0 (cached) -> installed ocaml-base-compiler.5.1.0 -> installed ocaml-config.3 -> installed ocaml.5.1.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.1.0) to update the current shell environment 2023-10-18 14:05.54 ---> using "45001699be8995f4b15be626c3924c9cad054345a4e372d9e7d67e717e7c9603" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2023-10-18 14:05.54 ---> using "46c9f3ab7d5746063c1ef6a70a58a8d70b9b45d47abb0a64ca248a2dcd32acaa" from cache /: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"mysql8.1.0\"\ \nopam install -vy \"mysql8.1.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"mysql8.1.0\" | grep -q '\"freebsd\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] mysql8.1.0 is not installed. Nothing to do. The following actions will be performed: - install dune 3.11.1 [required by mysql8] - install conf-mysql 1 [required by mysql8] - install stdlib-shims 0.3.0 [required by ppxlib] - install sexplib0 v0.16.0 [required by base, ppxlib] - install ppx_derivers 1.2.1 [required by ppxlib] - install ocaml-compiler-libs v0.12.4 [required by ppxlib] - install jane-street-headers v0.16.0 [required by time_now] - install csexp 1.5.2 [required by dune-configurator] - install ppxlib 0.31.0 [required by ppx_inline_test] - install dune-configurator 3.11.1 [required by mysql8] - install base v0.16.3 [required by ppx_inline_test] - install stdio v0.16.0 [required by ppx_optcomp] - install ppx_sexp_conv v0.16.0 [required by ppx_base] - install ppx_here v0.16.0 [required by ppx_assert] - install ppx_globalize v0.16.0 [required by ppx_base] - install ppx_enumerate v0.16.0 [required by ppx_base] - install ppx_compare v0.16.0 [required by ppx_base] - install ppx_cold v0.16.0 [required by ppx_base] - install ppx_optcomp v0.16.0 [required by time_now] - install ppx_hash v0.16.0 [required by ppx_base] - install ppx_assert v0.16.0 [required by jst-config] - install ppx_base v0.16.0 [required by time_now] - install jst-config v0.16.0 [required by time_now] - install time_now v0.16.0 [required by ppx_inline_test] - install ppx_inline_test v0.16.1 [required by mysql8] - install mysql8 1.0 ===== 26 to install ===== The following system packages will first need to be installed: mysql57-client <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> Let opam run your package manager to install the required system packages? (answer 'n' for other options) [Y/n] y + /usr/local/bin/sudo "pkg" "install" "-y" "mysql57-client" - Updating FreeBSD repository catalogue... - [falling] Fetching packagesite.pkg: .......... done - Processing entries: ... - .... - ... done - FreeBSD repository update completed. 34069 packages processed. - All repositories are up to date. - New version of pkg detected; it needs to be installed first. - The following 1 package(s) will be affected (of 0 checked): - - Installed packages to be UPGRADED: - pkg: 1.19.2 -> 1.20.8 - - Number of packages to be upgraded: 1 - - The process will require 1 MiB more space. - 9 MiB to be downloaded. - [falling] [1/1] Fetching pkg-1.20.8.pkg: .......... done - Checking integrity... done (0 conflicting) - [falling] [1/1] Upgrading pkg from 1.19.2 to 1.20.8... - [falling] [1/1] Extracting pkg-1.20.8: ......... - . done - Updating FreeBSD repository catalogue... - FreeBSD repository is up to date. - All repositories are up to date. - The following 10 package(s) will be affected (of 0 checked): - - New packages to be INSTALLED: - cyrus-sasl: 2.1.28 - groff: 1.23.0_2 - libedit: 3.1.20221030,1 - libevent: 2.1.12 - libpaper: 1.1.28 - mysql57-client: 5.7.42 - openldap26-client: 2.6.6 - protobuf: 3.21.12,1 - psutils: 1.17_5 - uchardet: 0.0.8 - - Number of packages to be installed: 10 - - The process will require 113 MiB more space. - 10 MiB to be downloaded. - [falling] [1/10] Fetching cyrus-sasl-2.1.28.pkg: .......... done - [falling] [2/10] Fetching libedit-3.1.20221030,1.pkg: .......... done - [falling] [3/10] Fetching mysql57-client-5.7.42.pkg: .......... done - [falling] [4/10] Fetching psutils-1.17_5.pkg: ....... done - [falling] [5/10] Fetching groff-1.23.0_2.pkg: ... - ....... done - [falling] [6/10] Fetching libpaper-1.1.28.pkg: ... done - [falling] [7/10] Fetching openldap26-client-2.6.6.pkg: .......... done - [falling] [8/10] Fetching protobuf-3.21.12,1.pkg: .......... done - [falling] [9/10] Fetching libevent-2.1.12.pkg: .......... done - [falling] [10/10] Fetching uchardet-0.0.8.pkg: .......... done - Checking integrity... done (0 conflicting) - [falling] [1/10] Installing libpaper-1.1.28... - [falling] [1/10] Extracting libpaper-1.1.28: .......... done - [falling] [2/10] Installing cyrus-sasl-2.1.28... - *** Added group `cyrus' (id 60) - *** Added user `cyrus' (id 60) - [falling] [2/10] Extracting cyrus-sasl-2.1.28: .... - ...... done - [falling] [3/10] Installing psutils-1.17_5... - [falling] [3/10] Extracting psutils-1.17_5: .......... done - [falling] [4/10] Installing uchardet-0.0.8... - [falling] [4/10] Extracting uchardet-0.0.8: .......... done - [falling] [5/10] Installing libedit-3.1.20221030,1... - [falling] [5/10] Extracting libedit-3.1.20221030,1: .......... done - [falling] [6/10] Installing groff-1.23.0_2... - [falling] [6/10] Extracting groff-1.23.0_2: .......... done - [falling] [7/10] Installing openldap26-client-2.6.6... - [falling] [7/10] Extracting openldap26-client-2.6.6: .......... done - [falling] [8/10] Installing protobuf-3.21.12,1... - [falling] [8/10] Extracting protobuf-3.21.12,1: .......... done - [falling] [9/10] Installing libevent-2.1.12... - [falling] [9/10] Extracting libevent-2.1.12: .......... done - [falling] [10/10] Installing mysql57-client-5.7.42... - [falling] [10/10] Extracting mysql57-client-5.7.42: .......... done - ===== - Message from cyrus-sasl-2.1.28: - - -- - You can use sasldb2 for authentication, to add users use: - - saslpasswd2 -c username - - If you want to enable SMTP AUTH with the system Sendmail, read - Sendmail.README - - NOTE: This port has been compiled with a default pwcheck_method of - auxprop. If you want to authenticate your user by /etc/passwd, - PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and - set sasl_pwcheck_method to saslauthd after installing the - Cyrus-IMAPd 2.X port. You should also check the - /usr/local/lib/sasl2/*.conf files for the correct - pwcheck_method. - If you want to use GSSAPI mechanism, install - ports/security/cyrus-sasl2-gssapi. - If you want to use SRP mechanism, install - ports/security/cyrus-sasl2-srp. - If you want to use LDAP auxprop plugin, install - ports/security/cyrus-sasl2-ldapdb. - ===== - Message from groff-1.23.0_2: - - -- - In order to be able to use the html driver, you need to install the following - packages: - - ghostscript - - netpbm - ===== - Message from openldap26-client-2.6.6: - - -- - The OpenLDAP client package has been successfully installed. - - Edit - /usr/local/etc/openldap/ldap.conf - to change the system-wide client defaults. - - Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at - http://www.OpenLDAP.org/faq/index.cgi?file=3 - for more information. - ===== - Message from mysql57-client-5.7.42: - - -- - This is the mysql CLIENT without the server. - for complete server and client, please install databases/mysql57-server - -- - ===> NOTICE: - - This port is deprecated; you may wish to reconsider installing it: - - Upstream support ended in October 2019. - - It is scheduled to be removed on or after 2023-12-31. <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/78: Processing 2/78: Processing 3/78: Processing 4/78: Processing 5/78: [conf-mysql: mysql_config] -> retrieved dune.3.11.1 (cached) Processing 6/78: [conf-mysql: mysql_config] Processing 7/78: [conf-mysql: mysql_config] [dune: ocaml 31] -> retrieved dune-configurator.3.11.1 (cached) Processing 8/78: [conf-mysql: mysql_config] [dune: ocaml 31] - -I/usr/local/include/mysql -> compiled conf-mysql.1 Processing 8/78: [dune: ocaml 31] -> installed conf-mysql.1 Processing 9/78: [dune: ocaml 31] -> retrieved csexp.1.5.2 (cached) Processing 10/78: [dune: ocaml 31] -> retrieved jane-street-headers.v0.16.0 (cached) Processing 11/78: [dune: ocaml 31] -> retrieved jst-config.v0.16.0 (cached) Processing 12/78: [dune: ocaml 31] -> retrieved mysql8.1.0 (cached) Processing 13/78: [dune: ocaml 31] -> retrieved ocaml-compiler-libs.v0.12.4 (cached) Processing 14/78: [dune: ocaml 31] -> retrieved ppx_assert.v0.16.0 (cached) Processing 15/78: [dune: ocaml 31] -> retrieved ppx_base.v0.16.0 (cached) Processing 16/78: [dune: ocaml 31] -> retrieved ppx_cold.v0.16.0 (cached) Processing 17/78: [dune: ocaml 31] -> retrieved ppx_compare.v0.16.0 (cached) Processing 18/78: [dune: ocaml 31] -> retrieved ppx_derivers.1.2.1 (cached) Processing 19/78: [dune: ocaml 31] -> retrieved ppx_enumerate.v0.16.0 (cached) Processing 20/78: [dune: ocaml 31] -> retrieved ppx_globalize.v0.16.0 (cached) Processing 21/78: [dune: ocaml 31] -> retrieved ppx_hash.v0.16.0 (cached) Processing 22/78: [dune: ocaml 31] -> retrieved ppx_here.v0.16.0 (cached) Processing 23/78: [dune: ocaml 31] -> retrieved ppx_inline_test.v0.16.1 (cached) Processing 24/78: [dune: ocaml 31] -> retrieved ppx_optcomp.v0.16.0 (cached) Processing 25/78: [dune: ocaml 31] -> retrieved ppx_sexp_conv.v0.16.0 (cached) Processing 26/78: [dune: ocaml 31] -> retrieved base.v0.16.3 (cached) Processing 27/78: [dune: ocaml 31] -> retrieved sexplib0.v0.16.0 (cached) Processing 28/78: [dune: ocaml 31] -> retrieved stdio.v0.16.0 (cached) Processing 29/78: [dune: ocaml 31] -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved time_now.v0.16.0 (cached) -> retrieved ppxlib.0.31.0 (cached) + /usr/home/opam/.opam/5.1.0/bin/ocaml "boot/bootstrap.ml" "-j" "31" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/dune.3.11.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 31 - Processing 29/78: [dune: ./_boot/dune.exe build] + /usr/home/opam/.opam/5.1.0/.opam-switch/build/dune.3.11.1/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "31" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/dune.3.11.1) -> compiled dune.3.11.1 -> installed dune.3.11.1 Processing 31/78: [csexp: dune build] Processing 32/78: [csexp: dune build] [jane-street-headers: dune build] Processing 33/78: [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] Processing 34/78: [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] Processing 35/78: [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build] Processing 36/78: [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build] [stdlib-shims: dune build] -> compiled sexplib0.v0.16.0 Processing 36/78: [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [stdlib-shims: dune build] -> installed sexplib0.v0.16.0 Processing 37/78: [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [stdlib-shims: dune build] -> compiled ppx_derivers.1.2.1 Processing 37/78: [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [stdlib-shims: dune build] -> installed ppx_derivers.1.2.1 Processing 38/78: [csexp: dune build] [jane-street-headers: dune build] [ocaml-compiler-libs: dune build] [stdlib-shims: dune build] -> compiled ocaml-compiler-libs.v0.12.4 Processing 38/78: [csexp: dune build] [jane-street-headers: dune build] [stdlib-shims: dune build] -> installed ocaml-compiler-libs.v0.12.4 Processing 39/78: [csexp: dune build] [jane-street-headers: dune build] [stdlib-shims: dune build] -> compiled jane-street-headers.v0.16.0 Processing 39/78: [csexp: dune build] [stdlib-shims: dune build] -> installed jane-street-headers.v0.16.0 Processing 40/78: [csexp: dune build] [stdlib-shims: dune build] -> compiled csexp.1.5.2 Processing 40/78: [stdlib-shims: dune build] -> installed csexp.1.5.2 Processing 41/78: [stdlib-shims: dune build] Processing 42/78: [dune-configurator: rm] [stdlib-shims: dune build] -> compiled stdlib-shims.0.3.0 Processing 42/78: [dune-configurator: rm] -> installed stdlib-shims.0.3.0 Processing 43/78: [dune-configurator: rm] Processing 44/78: [dune-configurator: rm] [ppxlib: dune build] Processing 44/78: [dune-configurator: dune build] [ppxlib: dune build] -> compiled dune-configurator.3.11.1 Processing 44/78: [ppxlib: dune build] -> installed dune-configurator.3.11.1 Processing 45/78: [ppxlib: dune build] Processing 46/78: [base: dune build] [ppxlib: dune build] -> compiled base.v0.16.3 Processing 46/78: [ppxlib: dune build] -> installed base.v0.16.3 Processing 47/78: [ppxlib: dune build] Processing 48/78: [ppxlib: dune build] [stdio: dune build] -> compiled stdio.v0.16.0 Processing 48/78: [ppxlib: dune build] -> installed stdio.v0.16.0 Processing 49/78: [ppxlib: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "ppxlib" "-j" "31" "@install" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/ppxlib.0.31.0) -> compiled ppxlib.0.31.0 -> installed ppxlib.0.31.0 Processing 51/78: [ppx_cold: dune build] Processing 52/78: [ppx_cold: dune build] [ppx_compare: dune build] Processing 53/78: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] Processing 54/78: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] Processing 55/78: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] Processing 56/78: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] Processing 57/78: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build] -> compiled ppx_globalize.v0.16.0 Processing 57/78: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build] -> installed ppx_globalize.v0.16.0 Processing 58/78: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build] -> compiled ppx_cold.v0.16.0 Processing 58/78: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build] -> installed ppx_cold.v0.16.0 Processing 59/78: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build] -> compiled ppx_here.v0.16.0 Processing 59/78: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build] -> installed ppx_here.v0.16.0 Processing 60/78: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build] -> compiled ppx_optcomp.v0.16.0 Processing 60/78: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_sexp_conv: dune build] -> installed ppx_optcomp.v0.16.0 Processing 61/78: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_sexp_conv: dune build] -> compiled ppx_enumerate.v0.16.0 Processing 61/78: [ppx_compare: dune build] [ppx_sexp_conv: dune build] -> installed ppx_enumerate.v0.16.0 Processing 62/78: [ppx_compare: dune build] [ppx_sexp_conv: dune build] -> compiled ppx_compare.v0.16.0 Processing 62/78: [ppx_sexp_conv: dune build] -> installed ppx_compare.v0.16.0 Processing 63/78: [ppx_sexp_conv: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "ppx_sexp_conv" "-j" "31" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/ppx_sexp_conv.v0.16.0) -> compiled ppx_sexp_conv.v0.16.0 -> installed ppx_sexp_conv.v0.16.0 Processing 65/78: [ppx_assert: dune build] Processing 66/78: [ppx_assert: dune build] [ppx_hash: dune build] -> compiled ppx_assert.v0.16.0 Processing 66/78: [ppx_hash: dune build] -> installed ppx_assert.v0.16.0 Processing 67/78: [ppx_hash: dune build] Processing 68/78: [jst-config: dune build] [ppx_hash: dune build] -> compiled ppx_hash.v0.16.0 Processing 68/78: [jst-config: dune build] -> installed ppx_hash.v0.16.0 Processing 69/78: [jst-config: dune build] Processing 70/78: [jst-config: dune build] [ppx_base: dune build] -> compiled ppx_base.v0.16.0 Processing 70/78: [jst-config: dune build] -> installed ppx_base.v0.16.0 Processing 71/78: [jst-config: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "jst-config" "-j" "31" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/jst-config.v0.16.0) -> compiled jst-config.v0.16.0 -> installed jst-config.v0.16.0 Processing 73/78: [time_now: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "time_now" "-j" "31" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/time_now.v0.16.0) -> compiled time_now.v0.16.0 -> installed time_now.v0.16.0 Processing 75/78: [ppx_inline_test: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "ppx_inline_test" "-j" "31" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/ppx_inline_test.v0.16.1) -> compiled ppx_inline_test.v0.16.1 -> installed ppx_inline_test.v0.16.1 Processing 77/78: [mysql8: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "mysql8" "-j" "31" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/mysql8.1.0) - File "lib/dune", line 4, characters 10-22: - 4 | (c_names mysql8_stubs) - ^^^^^^^^^^^^ - (cd _build/default/lib && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -I/usr/local/include/mysql -g -I /usr/home/opam/.opam/5.1.0/lib/ocaml -I /usr/home/opam/.opam/5.1.0/lib/base -I /usr/home/opam/.opam/5.1.0/lib/base/base_internalhash_types -I /usr/home/opam/.opam/5.1.0/lib/base/caml -I /usr/home/opam/.opam/5.1.0/lib/base/shadow_stdlib -I /usr/home/opam/.opam/5.1.0/lib/jane-street-headers -I /usr/home/opam/.opam/5.1.0/lib/ppx_compare/runtime-lib -I /usr/home/opam/.opam/5.1.0/lib/ppx_enumerate/runtime-lib -I /usr/home/opam/.opam/5.1.0/lib/ppx_hash/runtime-lib -I /usr/home/opam/.opam/5.1.0/lib/ppx_inline_test/config -I /usr/home/opam/.opam/5.1.0/lib/ppx_inline_test/runtime-lib -I /usr/home/opam/.opam/5.1.0/lib/ppx_sexp_conv/runtime-lib -I /usr/home/opam/.opam/5.1.0/lib/sexplib0 -I /usr/home/opam/.opam/5.1.0/lib/time_now -o mysql8_stubs.o -c mysql8_stubs.c) - mysql8_stubs.c:153:12: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - memcpy(String_val(v), s, length); - ^~~~~~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:329:23: note: expanded from macro 'String_val' - #define String_val(x) ((const char *) Bp_val(x)) - ^~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/string.h:64:31: note: passing argument to parameter here - void *memcpy(void * __restrict, const void * __restrict, size_t); - ^ - mysql8_stubs.c:221:3: error: use of undeclared identifier 'bool' - bool option_bool; - ^ - mysql8_stubs.c:239:11: error: use of undeclared identifier 'option_bool' - SET_OPTION_BOOL(OPT_LOCAL_INFILE); - ^ - mysql8_stubs.c:196:3: note: expanded from macro 'SET_OPTION_BOOL' - option_bool = Bool_val(v); \ - ^ - mysql8_stubs.c:239:11: error: use of undeclared identifier 'option_bool'; did you mean 'option_int'? - mysql8_stubs.c:197:23: note: expanded from macro 'SET_OPTION_BOOL' - SET_OPTION(option, &option_bool) - ^ - mysql8_stubs.c:220:16: note: 'option_int' declared here - unsigned int option_int; - ^ - mysql8_stubs.c:241:11: error: use of undeclared identifier 'option_bool' - SET_OPTION_BOOL(OPT_RECONNECT); - ^ - mysql8_stubs.c:196:3: note: expanded from macro 'SET_OPTION_BOOL' - option_bool = Bool_val(v); \ - ^ - mysql8_stubs.c:241:11: error: use of undeclared identifier 'option_bool'; did you mean 'option_int'? - mysql8_stubs.c:197:23: note: expanded from macro 'SET_OPTION_BOOL' - SET_OPTION(option, &option_bool) - ^ - mysql8_stubs.c:220:16: note: 'option_int' declared here - unsigned int option_int; - ^ - mysql8_stubs.c:245:11: error: use of undeclared identifier 'option_bool' - SET_OPTION_BOOL(REPORT_DATA_TRUNCATION); - ^ - mysql8_stubs.c:196:3: note: expanded from macro 'SET_OPTION_BOOL' - option_bool = Bool_val(v); \ - ^ - mysql8_stubs.c:245:11: error: use of undeclared identifier 'option_bool'; did you mean 'option_int'? - mysql8_stubs.c:197:23: note: expanded from macro 'SET_OPTION_BOOL' - SET_OPTION(option, &option_bool) - ^ - mysql8_stubs.c:220:16: note: 'option_int' declared here - unsigned int option_int; - ^ - mysql8_stubs.c:331:3: error: use of undeclared identifier 'bool' - bool ret; - ^ - mysql8_stubs.c:339:3: error: use of undeclared identifier 'ret' - ret = mysql_change_user(mysql, user, pwd, db); - ^ - mysql8_stubs.c:346:7: error: use of undeclared identifier 'ret' - if (ret) - ^ - mysql8_stubs.c:398:3: error: use of undeclared identifier 'bool' - bool ret; - ^ - mysql8_stubs.c:401:3: error: use of undeclared identifier 'ret' - ret = mysql_select_db(mysql, newdb); - ^ - mysql8_stubs.c:406:7: error: use of undeclared identifier 'ret' - if (ret) - ^ - mysql8_stubs.c:611:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - s = String_val(str); - ^ ~~~~~~~~~~~~~~~ - mysql8_stubs.c:617:10: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - memcpy(String_val(res), buf, esclen); - ^~~~~~~~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:329:23: note: expanded from macro 'String_val' - #define String_val(x) ((const char *) Bp_val(x)) - ^~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/string.h:64:31: note: passing argument to parameter here - void *memcpy(void * __restrict, const void * __restrict, size_t); - ^ - mysql8_stubs.c:635:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - s = String_val(str); - ^ ~~~~~~~~~~~~~~~ - mysql8_stubs.c:645:10: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - memcpy(String_val(res), buf, esclen); - ^~~~~~~~~~~~~~~ - /usr/home/opam/.opam/5.1.0/lib/ocaml/caml/mlvalues.h:329:23: note: expanded from macro 'String_val' - #define String_val(x) ((const char *) Bp_val(x)) - ^~~~~~~~~~~~~~~~~~~~~~~~~~ - /usr/include/string.h:64:31: note: passing argument to parameter here - void *memcpy(void * __restrict, const void * __restrict, size_t); - ^ - mysql8_stubs.c:1011:3: error: unknown type name 'bool' - bool *error; - ^ - mysql8_stubs.c:1012:3: error: unknown type name 'bool' - bool *is_null; - ^ - mysql8_stubs.c:1023:39: error: use of undeclared identifier 'bool' - row->error = calloc(count, sizeof(bool)); - ^ - mysql8_stubs.c:1025:41: error: use of undeclared identifier 'bool' - row->is_null = calloc(count, sizeof(bool)); - ^ - mysql8_stubs.c:1079:18: warning: assigning to 'void *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - bind->buffer = String_val(str); - ^ ~~~~~~~~~~~~~~~ - 6 warnings and 17 errors generated. [ERROR] The compilation of mysql8.1.0 failed at "dune build -p mysql8 -j 31". #=== ERROR while compiling mysql8.1.0 =========================================# # context 2.1.5 | freebsd/x86_64 | ocaml-base-compiler.5.1.0 | file:///usr/home/opam/opam-repository # path /usr/home/opam/.opam/5.1.0/.opam-switch/build/mysql8.1.0 # command /usr/home/opam/.opam/5.1.0/bin/dune build -p mysql8 -j 31 # exit-code 1 # env-file /usr/home/opam/.opam/log/mysql8-45019-6017d2.env # output-file /usr/home/opam/.opam/log/mysql8-45019-6017d2.out ### output ### # mysql8_stubs.c:1012:3: error: unknown type name 'bool' # [...] # ^ # mysql8_stubs.c:1023:39: error: use of undeclared identifier 'bool' # row->error = calloc(count, sizeof(bool)); # ^ # mysql8_stubs.c:1025:41: error: use of undeclared identifier 'bool' # row->is_null = calloc(count, sizeof(bool)); # ^ # mysql8_stubs.c:1079:18: warning: assigning to 'void *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] # bind->buffer = String_val(str); # ^ ~~~~~~~~~~~~~~~ # 6 warnings and 17 errors generated. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build mysql8 1.0 +- +- The following changes have been performed | - install base v0.16.3 | - install conf-mysql 1 | - install csexp 1.5.2 | - install dune 3.11.1 | - install dune-configurator 3.11.1 | - install jane-street-headers v0.16.0 | - install jst-config v0.16.0 | - install ocaml-compiler-libs v0.12.4 | - install ppx_assert v0.16.0 | - install ppx_base v0.16.0 | - install ppx_cold v0.16.0 | - install ppx_compare v0.16.0 | - install ppx_derivers 1.2.1 | - install ppx_enumerate v0.16.0 | - install ppx_globalize v0.16.0 | - install ppx_hash v0.16.0 | - install ppx_here v0.16.0 | - install ppx_inline_test v0.16.1 | - install ppx_optcomp v0.16.0 | - install ppx_sexp_conv v0.16.0 | - install ppxlib 0.31.0 | - install sexplib0 v0.16.0 | - install stdio v0.16.0 | - install stdlib-shims 0.3.0 | - install time_now v0.16.0 +- The former state can be restored with: /usr/local/bin/opam switch import "/usr/home/opam/.opam/5.1.0/.opam-switch/backup/state-20231018140558.export" 'opam install -vy mysql8.1.0' failed. jail: /usr/bin/su -l opam -c cd '/' && env OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' ' opam remove -y "mysql8.1.0" opam install -vy "mysql8.1.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "mysql8.1.0" | grep -q '\''"freebsd"'\''; then echo "This package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field." exit 69 fi fi exit $res ': failed "jail" "-c" "name=obuilder_74204_5766" "mount.fstab=/tmp/obuilder-jail-dfbcc6/fstab" "mount.devfs" "path=/obuilder/result/8b25f63a5cffd9357d559bb815d445335836bcf8fecbda6822a75bbbbebed4c1/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/' && env OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' ' opam remove -y "mysql8.1.0" opam install -vy "mysql8.1.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "mysql8.1.0" | grep -q '\''"freebsd"'\''; then echo "This package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field." exit 69 fi fi exit $res '" failed with exit status 1 Failed: Build failed