Building on summer (from freebsd) 2024-09-07 05:55.05 ---> using "77d5fe31836124b4684d554707425c4fde23f9ef3df0a804431a47419573778d" 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-dev /usr/local/bin/opam")) 2024-09-07 05:55.05 ---> using "a2b22593046b56fadc85e22b0da7b84e903c1f5aa4d42a7c481121ceec28b31f" 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 1a7ee1360c05c742f9ac7a3a05afc019750073d6")) 2024-09-07 05:55.05 ---> using "e44d7dd5bc96c9278c8d6fe50995dcb61d134d5bc50bd43e0c358c3b53f0eb6b" 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 default (at file:///home/opam/opam-repository): [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html) User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2024-09-07 05:55.06 ---> using "765fbdb354c6be84b7b365f6763262867738485040bb114dadbe6824659bd691" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.14.2' 'ocaml-base-compiler.4.14.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.2 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.2 (cached) -> installed ocaml-base-compiler.4.14.2 -> installed ocaml-config.2 -> installed ocaml.4.14.2 Done. # Run eval $(opam env --switch=4.14.2) to update the current shell environment 2024-09-07 05:55.06 ---> using "cc1b37d10d88afd1dfc4a272f903712acd71917167bbd68c9357c415fcc065c6" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2024-09-07 05:55.06 ---> using "b80542d1d9b6297d3a36e06ab0c42613547ec260791ca023497342b543612b00" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"lbfgs.0.9.5\"\ \nopam install -vy \"lbfgs.0.9.5\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"lbfgs.0.9.5\" | 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] lbfgs.0.9.5 is not installed. Nothing to do. The following actions will be performed: === install 8 packages - install base-bytes base [required by lbfgs] - install conf-gfortran 0 [required by lbfgs] - install cppo 1.7.0 [required by lbfgs] - install csexp 1.5.2 [required by dune-configurator] - install dune 3.16.0 [required by lbfgs] - install dune-configurator 3.16.0 [required by lbfgs] - install lbfgs 0.9.5 - install ocamlfind 1.9.6 [required by base-bytes] The following system packages will first need to be installed: lang/gcc <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run pkg to install them (may need root/sudo access) 2. Display the recommended pkg 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/local/bin/sudo "pkg" "install" "-y" "lang/gcc" - Updating FreeBSD repository catalogue... - [summer] Fetching data.pkg: ...... - .... done - Processing entries: - . - . - . - .. - . - . - . - .. done - FreeBSD repository update completed. 34428 packages processed. - All repositories are up to date. - The following 6 package(s) will be affected (of 0 checked): - - New packages to be INSTALLED: - binutils: 2.40_6,1 - gcc: 13_5 - gcc13: 13.2.0_4 - gmp: 6.3.0 - mpc: 1.3.1_1 - mpfr: 4.2.1,1 - - Number of packages to be installed: 6 - - The process will require 449 MiB more space. - 99 MiB to be downloaded. - [summer] [1/6] Fetching mpc-1.3.1_1.pkg: .......... done - [summer] [2/6] Fetching gcc-13_5.pkg: . done - [summer] [3/6] Fetching gcc13-13.2.0_4.pkg: - . - . - . - . - . - . - .. - .. done - [summer] [4/6] Fetching mpfr-4.2.1,1.pkg: .. - ........ done - [summer] [5/6] Fetching gmp-6.3.0.pkg: ........ done - [summer] [6/6] Fetching binutils-2.40_6,1.pkg: ... - ...... - . done - Checking integrity... done (0 conflicting) - [summer] [1/6] Installing gmp-6.3.0... - [summer] [1/6] Extracting gmp-6.3.0: .......... done - [summer] [2/6] Installing mpfr-4.2.1,1... - [summer] [2/6] Extracting mpfr-4.2.1,1: .......... done - [summer] [3/6] Installing mpc-1.3.1_1... - [summer] [3/6] Extracting mpc-1.3.1_1: ......... done - [summer] [4/6] Installing binutils-2.40_6,1... - [summer] [4/6] Extracting binutils-2.40_6,1: .......... done - [summer] [5/6] Installing gcc13-13.2.0_4... - [summer] [5/6] Extracting gcc13-13.2.0_4: ......... - . done - [summer] [6/6] Installing gcc-13_5... - [summer] [6/6] Extracting gcc-13_5: ... done - ===== - Message from gcc13-13.2.0_4: - - -- - To ensure binaries built with this toolchain find appropriate versions - of the necessary run-time libraries, you may want to link using - - -Wl,-rpath=/usr/local/lib/gcc13 - - For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens - transparently. <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 3/23: [cppo.1.7.0: extract] Processing 4/23: [cppo.1.7.0: extract] [csexp.1.5.2: extract] Processing 5/23: [cppo.1.7.0: extract] [csexp.1.5.2: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] Processing 6/23: [cppo.1.7.0: extract] [csexp.1.5.2: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-gfortran: gfortran] -> retrieved csexp.1.5.2 (cached) Processing 6/23: [cppo.1.7.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-gfortran: gfortran] Processing 7/23: [cppo.1.7.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [lbfgs.0.9.5: http] [conf-gfortran: gfortran] + /usr/local/bin/gfortran "--version" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/conf-gfortran.0) - GNU Fortran (FreeBSD Ports Collection) 13.2.0 - Copyright (C) 2023 Free Software Foundation, Inc. - This is free software; see the source for copying conditions. There is NO - warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -> compiled conf-gfortran.0 Processing 7/23: [cppo.1.7.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [lbfgs.0.9.5: http] -> installed conf-gfortran.0 Processing 8/23: [cppo.1.7.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [lbfgs.0.9.5: http] -> retrieved cppo.1.7.0 (cached) Processing 8/23: [dune.3.16.0, dune-configurator.3.16.0: extract] [lbfgs.0.9.5: http] Processing 9/23: [dune.3.16.0, dune-configurator.3.16.0: extract] [lbfgs.0.9.5: http] [ocamlfind.1.9.6: extract] -> retrieved ocamlfind.1.9.6 (cached) Processing 9/23: [dune.3.16.0, dune-configurator.3.16.0: extract] [lbfgs.0.9.5: http] [ocamlfind: patch] applying 0001-Harden-test-for-OCaml-5.patch Processing 10/23: [dune.3.16.0, dune-configurator.3.16.0: extract] [lbfgs.0.9.5: http] [ocamlfind: patch] Processing 10/23: [dune.3.16.0, dune-configurator.3.16.0: extract] [lbfgs.0.9.5: http] [ocamlfind: ./configure] Processing 10/23: [dune.3.16.0, dune-configurator.3.16.0: extract] [lbfgs.0.9.5: extract] [ocamlfind: ./configure] -> retrieved lbfgs.0.9.5 (https://github.com/Chris00/L-BFGS-ocaml/releases/download/0.9.5/lbfgs-0.9.5.tbz) Processing 10/23: [dune.3.16.0, dune-configurator.3.16.0: extract] [ocamlfind: ./configure] + /home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6/./configure "-bindir" "/home/opam/.opam/4.14.2/bin" "-sitelib" "/home/opam/.opam/4.14.2/lib" "-mandir" "/home/opam/.opam/4.14.2/man" "-config" "/home/opam/.opam/4.14.2/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.14.2/.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: /home/opam/.opam/4.14.2/lib/ocaml - Binaries: /home/opam/.opam/4.14.2/bin - Manual pages: /home/opam/.opam/4.14.2/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.14.2/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.14.2/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.14.2/bin - Manual pages: /home/opam/.opam/4.14.2/man - topfind script: /home/opam/.opam/4.14.2/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 10/23: [dune.3.16.0, dune-configurator.3.16.0: extract] [ocamlfind: gmake all] -> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached) Processing 10/23: [ocamlfind: gmake all] Processing 11/23: [dune: ocaml 15] [ocamlfind: gmake all] + /usr/local/bin/gmake "all" (CWD=/home/opam/.opam/4.14.2/.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 '/home/opam/.opam/4.14.2/.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@' '/home/opam/.opam/4.14.2/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.14.2/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@' '/home/opam/.opam/4.14.2/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 '/home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - /usr/local/bin/gmake all-config - gmake[1]: Entering directory '/home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.14.2/lib' | \ - tools/patch '@FINDLIB_PATH@' '/home/opam/.opam/4.14.2/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 '/home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6' Processing 11/23: [dune: ocaml 15] [ocamlfind: gmake opt] + /usr/local/bin/gmake "opt" (CWD=/home/opam/.opam/4.14.2/.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 '/home/opam/.opam/4.14.2/.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 '/home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib' -> compiled ocamlfind.1.9.6 Processing 11/23: [dune: ocaml 15] Processing 12/23: [dune: ocaml 15] [ocamlfind: gmake install] + /usr/local/bin/gmake "install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.14.2/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.14.2/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 "/home/opam/.opam/4.14.2/bin" - install -d "/home/opam/.opam/4.14.2/man" - /usr/local/bin/gmake install-config - gmake[1]: Entering directory '/home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6' - install -d "`dirname \"/home/opam/.opam/4.14.2/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.14.2/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/4.14.2/lib/findlib.conf" - gmake[1]: Leaving directory '/home/opam/.opam/4.14.2/.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 '/home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - install -d "/home/opam/.opam/4.14.2/lib/findlib" - install -d "/home/opam/.opam/4.14.2/bin" - test 1 -eq 0 || install -d "/home/opam/.opam/4.14.2/lib/ocaml" - test 1 -eq 0 || install -c topfind "/home/opam/.opam/4.14.2/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 "/home/opam/.opam/4.14.2/lib/findlib/" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - install -c $f "/home/opam/.opam/4.14.2/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.14.2/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.14.2/lib/ocaml/compiler-libs/"; \ - install -c topdirs.cmi toploop.cmi "/home/opam/.opam/4.14.2/lib/findlib/"; \ - fi - gmake[1]: Leaving directory '/home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - /usr/local/bin/gmake install-meta - gmake[1]: Entering directory '/home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6' - for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do install -d "/home/opam/.opam/4.14.2/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/4.14.2/lib/$x/META.tmp" && mv "/home/opam/.opam/4.14.2/lib/$x/META.tmp" "/home/opam/.opam/4.14.2/lib/$x/META"; done - install -d "/home/opam/.opam/4.14.2/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/4.14.2/lib/findlib/Makefile.packages" - gmake[1]: Leaving directory '/home/opam/.opam/4.14.2/.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 "/home/opam/.opam/4.14.2/bin" - /usr/local/bin/gmake install-doc - gmake[1]: Entering directory '/home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6' - install -d "/home/opam/.opam/4.14.2/man/man1" "/home/opam/.opam/4.14.2/man/man3" "/home/opam/.opam/4.14.2/man/man5" - install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.14.2/man/man1" - install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.14.2/man/man5" - gmake[1]: Leaving directory '/home/opam/.opam/4.14.2/.opam-switch/build/ocamlfind.1.9.6' -> installed ocamlfind.1.9.6 Processing 12/23: [dune: ocaml 15] Processing 13/23: [dune: ocaml 15] -> installed base-bytes.base Processing 14/23: [dune: ocaml 15] + /home/opam/.opam/4.14.2/bin/ocaml "boot/bootstrap.ml" "-j" "15" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune.3.16.0) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 15 - Processing 14/23: [dune: ./_boot/dune.exe build] + /home/opam/.opam/4.14.2/.opam-switch/build/dune.3.16.0/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "15" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune.3.16.0) -> compiled dune.3.16.0 -> installed dune.3.16.0 Processing 16/23: [cppo: dune build] Processing 17/23: [cppo: dune build] [csexp: dune build] + /home/opam/.opam/4.14.2/bin/dune "build" "-p" "csexp" "-j" "15" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/csexp.1.5.2) -> compiled csexp.1.5.2 Processing 17/23: [cppo: dune build] -> installed csexp.1.5.2 Processing 18/23: [cppo: dune build] Processing 19/23: [cppo: dune build] [dune-configurator: rm] + /home/opam/.opam/4.14.2/bin/dune "build" "-p" "cppo" "-j" "15" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/cppo.1.7.0) -> compiled cppo.1.7.0 Processing 19/23: [dune-configurator: rm] -> installed cppo.1.7.0 Processing 20/23: [dune-configurator: rm] + /bin/rm "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune-configurator.3.16.0) + /bin/rm "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune-configurator.3.16.0) Processing 20/23: [dune-configurator: dune build] + /home/opam/.opam/4.14.2/bin/dune "build" "-p" "dune-configurator" "-j" "15" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune-configurator.3.16.0) -> compiled dune-configurator.3.16.0 -> installed dune-configurator.3.16.0 Processing 22/23: [lbfgs: dune build] + /home/opam/.opam/4.14.2/bin/dune "build" "-p" "lbfgs" "-j" "15" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/lbfgs.0.9.5) - (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/bytes -I Lbfgsb.3.0 -o lbfgs_stubs.o -c lbfgs_stubs.c) - lbfgs_stubs.c:93:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] - Bytes_val(vtask), /* shared content with OCaml */ - ^~~~~~~~~~~~~~~~ - /home/opam/.opam/4.14.2/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - lbfgs_stubs.c:67:27: note: passing argument to parameter 'task' here - char *task, - ^ - lbfgs_stubs.c:94:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] - PTR_INT(iprint), Bytes_val(vcsave), - ^~~~~~~~~~~~~~~~~ - /home/opam/.opam/4.14.2/lib/ocaml/caml/mlvalues.h:294:22: note: expanded from macro 'Bytes_val' - #define Bytes_val(x) ((unsigned char *) Bp_val(x)) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - lbfgs_stubs.c:69:27: note: passing argument to parameter 'csave' here - char *csave, - ^ - 2 warnings generated. - File "src/Lbfgsb.3.0/dune", lines 11-14, characters 0-208: - 11 | (rule - 12 | (targets liblbfgs_fortran_stubs.a dlllbfgs_fortran_stubs.so) - 13 | (deps blas.o lbfgsb.o linpack.o timer.o) - 14 | (action (run ocamlmklib -o lbfgs_fortran_stubs %{read-lines:c_library_flags.lines} %{deps}))) - (cd _build/default/src/Lbfgsb.3.0 && /home/opam/.opam/4.14.2/bin/ocamlmklib.opt -o lbfgs_fortran_stubs -lgfortran blas.o lbfgsb.o linpack.o timer.o) - ld: error: unable to find library -lgfortran - cc: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] The compilation of lbfgs.0.9.5 failed at "dune build -p lbfgs -j 15". #=== ERROR while compiling lbfgs.0.9.5 ========================================# # context 2.2.0 | freebsd/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository # path ~/.opam/4.14.2/.opam-switch/build/lbfgs.0.9.5 # command ~/.opam/4.14.2/bin/dune build -p lbfgs -j 15 # exit-code 1 # env-file ~/.opam/log/lbfgs-20540-8b04f6.env # output-file ~/.opam/log/lbfgs-20540-8b04f6.out ### output ### # [...] # lbfgs_stubs.c:69:27: note: passing argument to parameter 'csave' here # char *csave, # ^ # 2 warnings generated. # File "src/Lbfgsb.3.0/dune", lines 11-14, characters 0-208: # 11 | (rule # 12 | (targets liblbfgs_fortran_stubs.a dlllbfgs_fortran_stubs.so) # 13 | (deps blas.o lbfgsb.o linpack.o timer.o) # 14 | (action (run ocamlmklib -o lbfgs_fortran_stubs %{read-lines:c_library_flags.lines} %{deps}))) # (cd _build/default/src/Lbfgsb.3.0 && /home/opam/.opam/4.14.2/bin/ocamlmklib.opt -o lbfgs_fortran_stubs -lgfortran blas.o lbfgsb.o linpack.o timer.o) # ld: error: unable to find library -lgfortran # cc: error: linker command failed with exit code 1 (use -v to see invocation) <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build lbfgs 0.9.5 +- +- The following changes have been performed | - install base-bytes base | - install conf-gfortran 0 | - install cppo 1.7.0 | - install csexp 1.5.2 | - install dune 3.16.0 | - install dune-configurator 3.16.0 | - install ocamlfind 1.9.6 +- The former state can be restored with: /usr/local/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20240907055524.export" 'opam install -vy lbfgs.0.9.5' 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 "lbfgs.0.9.5" opam install -vy "lbfgs.0.9.5" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "lbfgs.0.9.5" | 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_708_21880" "mount.fstab=/tmp/obuilder-jail-cdd507/fstab" "mount.devfs" "path=/obuilder/result/80c4958b612f02d85fec6cc5e04b59d3b69626f27ccd5e08f32e3abe5076df14/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 "lbfgs.0.9.5" opam install -vy "lbfgs.0.9.5" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "lbfgs.0.9.5" | 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