Building on summer
(from freebsd-ocaml-5.0)
2023-11-01 09:01.57 ---> 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-11-01 09:01.57 ---> 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 7b4cedddee88c79d6bdb00eccf7b36a7b617b211"))
2023-11-01 09:01.57 ---> using "ceda9c602c42ecee62840706a0356388ac8fe9b4284a02972fb121a316518aa6" 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-11-01 09:01.58 ---> using "3d69dd19638d580f9a84afa315c8a62fa2810666d83257cb65ea0af54a8f6211" from cache
/: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=default '4.14.1' 'ocaml-base-compiler.4.14.1'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.14.1"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.14.1 (https://github.com/ocaml/ocaml/archive/4.14.1.tar.gz)
-> installed ocaml-base-compiler.4.14.1
-> installed ocaml-config.2
-> installed ocaml.4.14.1
Done.
# Run eval $(opam env --switch=4.14.1) to update the current shell environment
2023-11-01 09:01.58 ---> using "c4e27f19fd975d5c280de43fa93fccc258b31be75c65928c8e9a19b3e947d35b" from cache
/: (run (network host)
(shell "opam update --depexts"))
[WARNING] Unknown update command for bsd, skipping system update
2023-11-01 09:01.58 ---> using "82fdb51c9bff51a089d72b27d56db2f7612532ea8873173b74f5196406d22ee8" from cache
/: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache)))
(network host)
(shell "\
\nopam remove -y \"mysql.1.2.4\"\
\nopam install -vy \"mysql.1.2.4\"\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: \"mysql.1.2.4\" | 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] mysql.1.2.4 is not installed.
Nothing to do.
The following actions will be performed:
- install conf-pkg-config 3 [required by conf-mariadb]
- install ocamlfind 1.9.6 [required by mysql]
- install conf-mariadb 2 [required by mysql]
- install mysql 1.2.4
===== 4 to install =====
The following system packages will first need to be installed:
mariadb-connector-c
<><> 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" "mariadb-connector-c"
- Updating FreeBSD repository catalogue...
- [summer] Fetching packagesite.pkg: ........
- .. done
- Processing entries:
- ..
- ..
- ...
- ..
- . done
- FreeBSD repository update completed. 34058 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.
- [summer] [1/1] Fetching pkg-1.20.8.pkg: ....
- ...... done
- Checking integrity... done (0 conflicting)
- [summer] [1/1] Upgrading pkg from 1.19.2 to 1.20.8...
- [summer] [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 1 package(s) will be affected (of 0 checked):
-
- New packages to be INSTALLED:
- mariadb-connector-c: 3.3.4
-
- Number of packages to be installed: 1
-
- The process will require 1 MiB more space.
- 333 KiB to be downloaded.
- [summer] [1/1] Fetching mariadb-connector-c-3.3.4.pkg: .......... done
- Checking integrity... done (0 conflicting)
- [summer] [1/1] Installing mariadb-connector-c-3.3.4...
- [summer] [1/1] Extracting mariadb-connector-c-3.3.4: .......... done
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 3/12: [mysql.1.2.4: http]
Processing 4/12: [mysql.1.2.4: http]
Processing 5/12: [mysql.1.2.4: http] [conf-pkg-config: pkg-config]
-> retrieved ocamlfind.1.9.6 (cached)
[ocamlfind: patch] applying 0001-Harden-test-for-OCaml-5.patch
Processing 6/12: [mysql.1.2.4: http] [conf-pkg-config: pkg-config] [ocamlfind: patch]
- usage: pkgconf [OPTIONS] [LIBRARIES]
-
- basic options:
-
- --help this message
- --about print pkgconf version and license to stdout
- --version print supported pkg-config version to stdout
- --atleast-pkgconfig-version check whether or not pkgconf is compatible
- with a specified pkg-config version
- --errors-to-stdout print all errors on stdout instead of stderr
- --print-errors ensure all errors are printed
- --short-errors be less verbose about some errors
- --silence-errors explicitly be silent about errors
- --list-all list all known packages
- --list-package-names list all known package names
- --simulate simulate walking the calculated dependency graph
- --no-cache do not cache already seen packages when
- walking the dependency graph
- --log-file=filename write an audit log to a specified file
- --with-path=path adds a directory to the search path
- --define-prefix override the prefix variable with one that is guessed based on
- the location of the .pc file
- --dont-define-prefix do not override the prefix variable under any circumstances
- --prefix-variable=varname sets the name of the variable that pkgconf considers
- to be the package prefix
- --relocate=path relocates a path and exits (mostly for testsuite)
- --dont-relocate-paths disables path relocation support
-
- cross-compilation personality support:
-
- --personality=triplet|filename sets the personality to 'triplet' or a file named 'filename'
- --dump-personality dumps details concerning selected personality
-
- checking specific pkg-config database entries:
-
- --atleast-version require a specific version of a module
- --exact-version require an exact version of a module
- --max-version require a maximum version of a module
- --exists check whether or not a module exists
- --uninstalled check whether or not an uninstalled module will be used
- --no-uninstalled never use uninstalled modules when satisfying dependencies
- --no-provides do not use 'provides' rules to resolve dependencies
- --maximum-traverse-depth maximum allowed depth for dependency graph
- --static be more aggressive when computing dependency graph
- (for static linking)
- --shared use a simplified dependency graph (usually default)
- --pure optimize a static dependency graph as if it were a normal
- dependency graph
- --env-only look only for package entries in PKG_CONFIG_PATH
- --ignore-conflicts ignore 'conflicts' rules in modules
- --validate validate specific .pc files for correctness
-
- querying specific pkg-config database fields:
-
- --define-variable=varname=value define variable 'varname' as 'value'
- --variable=varname print specified variable entry to stdout
- --cflags print required CFLAGS to stdout
- --cflags-only-I print required include-dir CFLAGS to stdout
- --cflags-only-other print required non-include-dir CFLAGS to stdout
- --libs print required linker flags to stdout
- --libs-only-L print required LDPATH linker flags to stdout
- --libs-only-l print required LIBNAME linker flags to stdout
- --libs-only-other print required other linker flags to stdout
- --print-requires print required dependency frameworks to stdout
- --print-requires-private print required dependency frameworks for static
- linking to stdout
- --print-provides print provided dependencies to stdout
- --print-variables print all known variables in module to stdout
- --digraph print entire dependency graph in graphviz 'dot' format
- --keep-system-cflags keep -I/usr/include entries in cflags output
- --keep-system-libs keep -L/usr/lib entries in libs output
- --path show the exact filenames for any matching .pc files
- --modversion print the specified module's version to stdout
- --internal-cflags do not filter 'internal' cflags from output
-
- filtering output:
-
- --msvc-syntax print translatable fragments in MSVC syntax
- --fragment-filter=types filter output fragments to the specified types
-
- report bugs to <https://github.com/pkgconf/pkgconf/issues/new>.
-> compiled conf-pkg-config.3
Processing 6/12: [mysql.1.2.4: http] [ocamlfind: patch]
-> installed conf-pkg-config.3
Processing 7/12: [mysql.1.2.4: http] [ocamlfind: patch]
Processing 8/12: [mysql.1.2.4: http] [conf-mariadb: sh pkg-config --exists libmariadb || pkg-config --exists mariadb] [ocamlfind: patch]
Processing 8/12: [mysql.1.2.4: http] [conf-mariadb: sh pkg-config --exists libmariadb || pkg-config --exists mariadb] [ocamlfind: ./configure]
Processing 8/12: [conf-mariadb: sh pkg-config --exists libmariadb || pkg-config --exists mariadb] [ocamlfind: ./configure]
- + pkg-config --exists libmariadb
-> compiled conf-mariadb.2
Processing 8/12: [ocamlfind: ./configure]
-> installed conf-mariadb.2
Processing 9/12: [ocamlfind: ./configure]
-> retrieved mysql.1.2.4 (https://ygrek.org/p/release/ocaml-mysql/ocaml-mysql-1.2.4.tar.gz)
+ /usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/./configure "-bindir" "/usr/home/opam/.opam/4.14.1/bin" "-sitelib" "/usr/home/opam/.opam/4.14.1/lib" "-mandir" "/usr/home/opam/.opam/4.14.1/man" "-config" "/usr/home/opam/.opam/4.14.1/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6)
- Welcome to findlib version 1.9.6
- Configuring core...
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- Testing whether ppxopt can be supported...
- Checking for ocamlc -opaque...
- Checking for ocamlopt -g...
- Querying installation: META list not found
- make install will double-check installed META files
- Configuring libraries...
- unix: found
- dynlink: found
- bigarray: found
- compiler-libs: found
- dbm: not present (normal since 4.00)
- graphics: not present (normal since 4.09)
- num: not present (normal since 4.06)
- ocamlbuild: not present (normal since 4.03)
- ocamldoc: found (in +ocamldoc)
- raw_spacetime: not present (normal since 4.12)
- threads: found (in +threads)
- str: found
- labltk: not present (normal since 4.02)
- native dynlink: found
- camlp4: disabled
- bytes: found, installing fake library
- Configuration for stdlib written to site-lib-src/stdlib/META
- Configuration for unix written to site-lib-src/unix/META
- Configuration for dynlink written to site-lib-src/dynlink/META
- Configuration for bigarray written to site-lib-src/bigarray/META
- Configuration for compiler-libs written to site-lib-src/compiler-libs/META
- Configuration for ocamldoc written to site-lib-src/ocamldoc/META
- Configuration for threads written to site-lib-src/threads/META
- Configuration for str written to site-lib-src/str/META
- Configuration for bytes written to site-lib-src/bytes/META
- Detecting compiler arguments: (extractor built) ok
-
- About the OCAML core installation:
- Standard library: /usr/home/opam/.opam/4.14.1/lib/ocaml
- Binaries: /usr/home/opam/.opam/4.14.1/bin
- Manual pages: /usr/home/opam/.opam/4.14.1/man
- Multi-threading type: posix
- The directory of site-specific packages will be
- site-lib: /usr/home/opam/.opam/4.14.1/lib
- The configuration file is written to:
- findlib config file: /usr/home/opam/.opam/4.14.1/lib/findlib.conf
- Software will be installed:
- Libraries: in <site-lib>/findlib
- Binaries: /usr/home/opam/.opam/4.14.1/bin
- Manual pages: /usr/home/opam/.opam/4.14.1/man
- topfind script: /usr/home/opam/.opam/4.14.1/lib/ocaml
- Topfind ppxopt support: yes
- Toolbox: no
- Link custom runtime: no
- Need bytes compatibility: no
-
- Configuration has been written to Makefile.config
-
- You can now do 'make all', and optionally 'make opt', to build ocamlfind.
Processing 9/12: [ocamlfind: gmake all]
+ /usr/local/bin/gmake "all" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6)
- for p in findlib; do ( cd src/$p; /usr/local/bin/gmake all ) || exit; done
- gmake[1]: Entering directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- ocamllex fl_meta.mll
- 22 states, 392 transitions, table size 1700 bytes
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
- ../../tools/patch '@CONFIGFILE@' '/usr/home/opam/.opam/4.14.1/lib/findlib.conf' | \
- ../../tools/patch '@STDLIB@' '/usr/home/opam/.opam/4.14.1/lib/ocaml' | \
- sed -e 's;@AUTOLINK@;true;g' \
- -e 's;@SYSTEM@;freebsd;g' \
- >findlib_config.ml
- if [ "true" = "true" ]; then \
- cp topfind.ml.in topfind.ml; \
- else \
- sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \
- > topfind.ml ; \
- fi
- ocamldep *.ml *.mli >depend
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib_config.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_split.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metatoken.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_meta.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_metascanner.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metascanner.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_topo.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_topo.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_package_base.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_package_base.ml
- File "fl_package_base.ml", line 304, characters 22-40:
- 304 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 350, characters 18-36:
- 350 | let ancestors = query_requirements predlist package_name in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 375, characters 23-41:
- 375 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 510, characters 16-35:
- 510 | ( let c = package_definitions search_path pkg.package_name in
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label search_path was omitted in the application of this function.
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c findlib.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib.ml
- File "findlib.ml", line 390, characters 2-26:
- 390 | Fl_package_base.requires predlist pkg
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "findlib.ml", line 396, characters 2-33:
- 396 | Fl_package_base.requires_deeply predlist pkglist
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_args.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_lint.ml
- ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c ocaml_args.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c frontend.ml
- File "frontend.ml", line 859, characters 10-39:
- 859 | Fl_package_base.package_users predicates1 packages1
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \
- -I +unix -I +dynlink ocaml_args.cmo frontend.cmo
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c topfind.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c topfind.ml
- File "topfind.ml", line 128, characters 40-63:
- 128 | match Hashtbl.find Toploop.directive_table "ppx" with
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 258, characters 4-27:
- 258 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 268, characters 4-27:
- 268 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 280, characters 4-27:
- 280 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 293, characters 4-27:
- 293 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 307, characters 4-27:
- 307 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 319, characters 4-27:
- 319 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat topfind_rd1.p | \
- ../../tools/patch '@SITELIB@' '/usr/home/opam/.opam/4.14.1/lib' \
- >topfind
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_dynload.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_dynload.ml
- ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo
- gmake[1]: Leaving directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- /usr/local/bin/gmake all-config
- gmake[1]: Entering directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
- tools/patch '@SITELIB@' '/usr/home/opam/.opam/4.14.1/lib' | \
- tools/patch '@FINDLIB_PATH@' '/usr/home/opam/.opam/4.14.1/lib' -p >findlib.conf
- if ./tools/cmd_from_same_dir ocamlc; then \
- echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamlopt; then \
- echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldep; then \
- echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldoc; then \
- echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \
- fi
- gmake[1]: Leaving directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6'
Processing 9/12: [ocamlfind: gmake opt]
+ /usr/local/bin/gmake "opt" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6)
- for p in findlib; do ( cd src/$p; /usr/local/bin/gmake opt ) || exit; done
- gmake[1]: Entering directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib_config.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_split.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metatoken.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_meta.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metascanner.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_topo.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_package_base.ml
- File "fl_package_base.ml", line 304, characters 22-40:
- 304 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 350, characters 18-36:
- 350 | let ancestors = query_requirements predlist package_name in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 375, characters 23-41:
- 375 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 510, characters 16-35:
- 510 | ( let c = package_definitions search_path pkg.package_name in
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label search_path was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib.ml
- File "findlib.ml", line 390, characters 2-26:
- 390 | Fl_package_base.requires predlist pkg
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "findlib.ml", line 396, characters 2-33:
- 396 | Fl_package_base.requires_deeply predlist pkglist
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_args.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_lint.ml
- ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx
- if [ 1 -gt 0 ]; then \
- ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c ocaml_args.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c frontend.ml
- File "frontend.ml", line 859, characters 10-39:
- 859 | Fl_package_base.package_users predicates1 packages1
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \
- -I +unix -I +dynlink ocaml_args.cmx frontend.cmx
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c topfind.ml
- File "topfind.ml", line 128, characters 40-63:
- 128 | match Hashtbl.find Toploop.directive_table "ppx" with
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 258, characters 4-27:
- 258 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 268, characters 4-27:
- 268 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 280, characters 4-27:
- 280 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 293, characters 4-27:
- 293 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 307, characters 4-27:
- 307 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 319, characters 4-27:
- 319 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx
- if [ 1 -gt 0 ]; then \
- ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_dynload.ml
- ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx
- if [ 1 -gt 0 ]; then \
- ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \
- fi
- gmake[1]: Leaving directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
-> compiled ocamlfind.1.9.6
Processing 10/12: [ocamlfind: gmake install]
+ /usr/local/bin/gmake "install" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6)
- if [ "1" -eq 1 ]; then \
- for x in camlp4 dbm graphics labltk num ocamlbuild; do \
- if [ -f "/usr/home/opam/.opam/4.14.1/lib/$x/META" ]; then \
- if ! grep -Fq '[distributed with Ocaml]' "//usr/home/opam/.opam/4.14.1/lib/$x/META"; then \
- rm -f site-lib-src/$x/META; \
- fi; \
- fi; \
- done; \
- test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \
- fi
- echo 'SITELIB_META =' > Makefile.packages.in
- for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done
- tr '\n' ' ' < Makefile.packages.in > Makefile.packages
- rm Makefile.packages.in
- install -d "/usr/home/opam/.opam/4.14.1/bin"
- install -d "/usr/home/opam/.opam/4.14.1/man"
- /usr/local/bin/gmake install-config
- gmake[1]: Entering directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6'
- install -d "`dirname \"/usr/home/opam/.opam/4.14.1/lib/findlib.conf\"`"
- test -f "/usr/home/opam/.opam/4.14.1/lib/findlib.conf" || install -c findlib.conf "/usr/home/opam/.opam/4.14.1/lib/findlib.conf"
- gmake[1]: Leaving directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6'
- for p in findlib; do ( cd src/$p; /usr/local/bin/gmake install ); done
- gmake[1]: Entering directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- install -d "/usr/home/opam/.opam/4.14.1/lib/findlib"
- install -d "/usr/home/opam/.opam/4.14.1/bin"
- test 1 -eq 0 || install -d "/usr/home/opam/.opam/4.14.1/lib/ocaml"
- test 1 -eq 0 || install -c topfind "/usr/home/opam/.opam/4.14.1/lib/ocaml/"
- files=` ../../tools/collect_files ../../Makefile.config \
- findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \
- findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \
- fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \
- fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi \
- fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs \
- findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi \
- META` && \
- install -c $files "/usr/home/opam/.opam/4.14.1/lib/findlib/"
- f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \
- install -c $f "/usr/home/opam/.opam/4.14.1/bin/ocamlfind"
- # the following "if" block is only needed for 4.00beta2
- if [ 1 -eq 0 -a -f "/usr/home/opam/.opam/4.14.1/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \
- cd "/usr/home/opam/.opam/4.14.1/lib/ocaml/compiler-libs/"; \
- install -c topdirs.cmi toploop.cmi "/usr/home/opam/.opam/4.14.1/lib/findlib/"; \
- fi
- gmake[1]: Leaving directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- /usr/local/bin/gmake install-meta
- gmake[1]: Entering directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6'
- for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do install -d "/usr/home/opam/.opam/4.14.1/lib/$x"; install -c site-lib-src/$x/META "/usr/home/opam/.opam/4.14.1/lib/$x/META.tmp" && mv "/usr/home/opam/.opam/4.14.1/lib/$x/META.tmp" "/usr/home/opam/.opam/4.14.1/lib/$x/META"; done
- install -d "/usr/home/opam/.opam/4.14.1/lib/findlib"; install -c Makefile.packages "/usr/home/opam/.opam/4.14.1/lib/findlib/Makefile.packages"
- gmake[1]: Leaving directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6'
- test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; /usr/local/bin/gmake install-num-top; }
- test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "/usr/home/opam/.opam/4.14.1/bin"
- /usr/local/bin/gmake install-doc
- gmake[1]: Entering directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6'
- install -d "/usr/home/opam/.opam/4.14.1/man/man1" "/usr/home/opam/.opam/4.14.1/man/man3" "/usr/home/opam/.opam/4.14.1/man/man5"
- install -c doc/ref-man/ocamlfind.1 "/usr/home/opam/.opam/4.14.1/man/man1"
- install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/usr/home/opam/.opam/4.14.1/man/man5"
- gmake[1]: Leaving directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocamlfind.1.9.6'
-> installed ocamlfind.1.9.6
Processing 11/12: [mysql: ./configure]
+ /usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4/./configure "--prefix" "/usr/home/opam/.opam/4.14.1" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4)
- 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/bin/install -c
- configure: checking for C compiler...
- checking for gcc... no
- checking for cc... cc
- 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 cc accepts -g... yes
- checking for cc option to accept ISO C89... none needed
- configure: checking for C header files...
- checking how to run the C preprocessor... cc -E
- checking for grep that handles long lines and -e... /usr/bin/grep
- checking for egrep... /usr/bin/grep -E
- checking for ANSI C header files... yes
- checking for mysql includes... /usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4/./configure: mysql_config: not found
- -I/usr/local/include/mariadb -I/usr/local/include/mariadb/mysql
- checking for mysql libraries... /usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4/./configure: mysql_config: not found
- -L/usr/local/lib/mariadb/ -lmariadb
- 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
Processing 11/12: [mysql: gmake]
+ /usr/local/bin/gmake (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4)
- gmake[1]: Entering directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4'
- ocamldep mysql.mli > ._bcdi/mysql.di
- ocamldep mysql.ml > ._d/mysql.d
- ocamlc -c -cc "cc" -ccopt "-fPIC -g -O2 -DHAVE_CONFIG_H -Wall -Wextra \
- -DPIC -I/usr/local/include/mariadb -I/usr/local/include/mariadb/mysql \
- -o mysql_stubs.o " mysql_stubs.c
- mysql_stubs.c:108:9: warning: 'Some_val' macro redefined [-Wmacro-redefined]
- #define Some_val(v) Field(v,0)
- ^
- /usr/home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:404:9: note: previous definition is here
- #define Some_val(v) Field(v, 0)
- ^
- mysql_stubs.c:150: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/4.14.1/lib/ocaml/caml/mlvalues.h:290: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);
- ^
- mysql_stubs.c:290:23: warning: unused parameter 'v_unit' [-Wunused-parameter]
- db_library_init(value v_unit)
- ^
- mysql_stubs.c:440:1: warning: missing field 'fixed_length' initializer [-Wmissing-field-initializers]
- };
- ^
- mysql_stubs.c:581:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
- s = String_val(str);
- ^ ~~~~~~~~~~~~~~~
- mysql_stubs.c:587: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/4.14.1/lib/ocaml/caml/mlvalues.h:290: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);
- ^
- mysql_stubs.c:605:5: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
- s = String_val(str);
- ^ ~~~~~~~~~~~~~~~
- mysql_stubs.c:615: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/4.14.1/lib/ocaml/caml/mlvalues.h:290: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);
- ^
- mysql_stubs.c:903:1: warning: missing field 'fixed_length' initializer [-Wmissing-field-initializers]
- };
- ^
- mysql_stubs.c:1037:18: warning: assigning to 'void *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
- bind->buffer = String_val(str);
- ^ ~~~~~~~~~~~~~~~
- mysql_stubs.c:1076:1: warning: missing field 'fixed_length' initializer [-Wmissing-field-initializers]
- };
- ^
- 11 warnings generated.
- ar rcs libmysql_stubs.a mysql_stubs.o
- ocamlc -c mysql.mli
- ocamlc -c mysql.ml
- File "mysql.ml", line 428, characters 35-45:
- 428 | if i = String.length str then (String.sub str p_start (String.length str - p_start)) :: acc else
- ^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function.
- File "mysql.ml", line 430, characters 45-55:
- 430 | | ' ' | '\t' | '\n' | '\r' | ',' -> wsp (String.sub str p_start (i - p_start) :: acc) (i+1)
- ^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function.
- ocamlmklib \
- -o mysql_stubs mysql_stubs.o -lmariadb \
- -L/usr/local/lib/mariadb/
- ocamlc -a -dllib dllmysql_stubs.so -ccopt -L/usr/local/lib/mariadb/ -cclib -lmysql_stubs -cclib -lmariadb -o mysql.cma mysql.cmo
- gmake[1]: Leaving directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4'
- gmake[1]: Entering directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4'
- ocamldep -native mysql.mli > ._ncdi/mysql.di
- gmake[1]: 'libmysql_stubs.a' is up to date.
- ocamlopt -c mysql.ml
- File "mysql.ml", line 428, characters 35-45:
- 428 | if i = String.length str then (String.sub str p_start (String.length str - p_start)) :: acc else
- ^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function.
- File "mysql.ml", line 430, characters 45-55:
- 430 | | ' ' | '\t' | '\n' | '\r' | ',' -> wsp (String.sub str p_start (i - p_start) :: acc) (i+1)
- ^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function.
- ocamlopt -a -ccopt -L/usr/local/lib/mariadb/ -cclib -lmysql_stubs -cclib -lmariadb -o mysql.cmxa mysql.cmx
- gmake[1]: Leaving directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4'
- ocamlopt -shared -ccopt -L/usr/local/lib/mariadb/ mysql_stubs.o -cclib -lmariadb -o mysql.cmxs mysql.cmx
-> compiled mysql.1.2.4
Processing 12/12: [mysql: gmake install]
+ /usr/local/bin/gmake "install" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4)
- gmake[1]: Entering directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4'
- gmake[1]: 'libmysql_stubs.a' is up to date.
- gmake[1]: 'mysql.cma' is up to date.
- gmake[1]: Leaving directory '/usr/home/opam/.opam/4.14.1/.opam-switch/build/mysql.1.2.4'
-
- Installing library with ocamlfind
- ocamlfind install -patch-version "1.2.4" mysql META mysql.mli mysql.cmi mysql.cma mysql.cmx mysql.cmxa libmysql_stubs.a mysql.a dllmysql_stubs.so mysql.cmxs
- Installed /usr/home/opam/.opam/4.14.1/lib/mysql/mysql.cmxs
- Installed /usr/home/opam/.opam/4.14.1/lib/mysql/mysql.a
- Installed /usr/home/opam/.opam/4.14.1/lib/mysql/libmysql_stubs.a
- Installed /usr/home/opam/.opam/4.14.1/lib/mysql/mysql.cmxa
- Installed /usr/home/opam/.opam/4.14.1/lib/mysql/mysql.cmx
- Installed /usr/home/opam/.opam/4.14.1/lib/mysql/mysql.cma
- Installed /usr/home/opam/.opam/4.14.1/lib/mysql/mysql.cmi
- Installed /usr/home/opam/.opam/4.14.1/lib/mysql/mysql.mli
- Installed /usr/home/opam/.opam/4.14.1/lib/stublibs/dllmysql_stubs.so
- Installed /usr/home/opam/.opam/4.14.1/lib/stublibs/dllmysql_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /usr/home/opam/.opam/4.14.1/lib/stublibs is not mentioned in ld.conf
- Installed /usr/home/opam/.opam/4.14.1/lib/mysql/META
-
- Installation successful.
-> installed mysql.1.2.4
Done.
2023-11-01 09:03.25 ---> saved as "2085449efc023291fa0456c4ea069a80f8414660bcb7ffa699e4fa09b3708010"
Job succeeded