OCamllabs icon Home|Differences with the last checks|Previous runs


Building on summer

(from freebsd)
2024-04-19 07:10.37 ---> 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-04-19 07:10.37 ---> 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 f089d8564db935c703bea70a4b3d8335ffa1bef3"))
2024-04-19 07:10.38 ---> using "83de7f37a3fdfdf2af7d52001c195007ba3d03fbf63bb1c5deeb0bd7199a7e68" 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:
  ~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.

2024-04-19 07:10.38 ---> using "ae05d419fac6605f1fa37d4b0e1385766018ebaa3233982c89fd3cd33bf5b52b" from cache

/: (run (cache (opam-archives (target /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  (cached)
-> 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
2024-04-19 07:10.38 ---> using "141be27e9e0ebb1fb3c3878d245ca5b32294a540950418ca62d711f486fac687" from cache

/: (run (network host)
        (shell "opam update --depexts"))
[WARNING] Unknown update command for bsd, skipping system update
2024-04-19 07:10.38 ---> using "72aa242bda62d28199dcb867f3fc8b109a5eb0c910cde2077a6e022a52d02938" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"spf.2.0.2\"\
               \nopam install -vy \"spf.2.0.2\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"spf.2.0.2\" | 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] spf.2.0.2 is not installed.

Nothing to do.
The following actions will be performed:
=== install 2 packages
  - install jbuilder 1.0+beta20.2 [required by spf]
  - install spf      2.0.2

The following system packages will first need to be installed:
    libspf2

<><> 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" "libspf2"
- Updating FreeBSD repository catalogue...
- [summer] Fetching meta.conf: . done
- [summer] Fetching packagesite.pkg: .....
- ..... done
- Processing entries: 
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- FreeBSD repository update completed. 34060 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.20.9 -> 1.21.2
- 
- Number of packages to be upgraded: 1
- 
- The process will require 7 MiB more space.
- 12 MiB to be downloaded.
- [summer] [1/1] Fetching pkg-1.21.2.pkg: ...
- .....
- .. done
- Checking integrity... done (0 conflicting)
- [summer] [1/1] Upgrading pkg from 1.20.9 to 1.21.2...
- [summer] [1/1] Extracting pkg-1.21.2: .......... done
- Updating FreeBSD repository catalogue...
- [summer] Fetching meta.conf: . done
- [summer] Fetching data.pkg: 
- .......... done
- Processing entries: 
- ..
- .
- .
- ..
- ..
- .. done
- FreeBSD repository update completed. 34060 packages processed.
- All repositories are up to date.
- The following 1 package(s) will be affected (of 0 checked):
- 
- New packages to be INSTALLED:
- 	libspf2: 1.2.11_1
- 
- Number of packages to be installed: 1
- 
- 138 KiB to be downloaded.
- [summer] [1/1] Fetching libspf2-1.2.11_1.pkg: .......... done
- Checking integrity... done (0 conflicting)
- [summer] [1/1] Installing libspf2-1.2.11_1...
- [summer] [1/1] Extracting libspf2-1.2.11_1: .......... done

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/6:
Processing  2/6: [spf.2.0.2: http]
-> retrieved jbuilder.1.0+beta20.2  (cached)
Processing  3/6: [spf.2.0.2: http] [jbuilder: ocaml configure.ml]
Processing  3/6: [jbuilder: ocaml configure.ml]
-> retrieved spf.2.0.2  (https://github.com/andrenth/ocaml-spf/archive/2.0.2.tar.gz)
+ /home/opam/.opam/4.14.1/bin/ocaml "configure.ml" "--libdir" "/home/opam/.opam/4.14.1/lib" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/jbuilder.1.0+beta20.2)
Processing  3/6: [jbuilder: ocaml bootstrap.ml]
+ /home/opam/.opam/4.14.1/bin/ocaml "bootstrap.ml" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/jbuilder.1.0+beta20.2)
- File "./bootstrap.ml", line 185, characters 29-41:
- 185 |              let base, ext = String.break base i in
-                                    ^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label pos was omitted in the application of this function.
- File "./bootstrap.ml", line 190, characters 28-40:
- 190 |                  let a, b = String.break ext i in
-                                   ^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label pos was omitted in the application of this function.
- '/home/opam/.opam/4.14.1/bin/ocamllex.opt' -q src/meta_lexer.mll
- '/home/opam/.opam/4.14.1/bin/ocamldep.opt' -modules src/action.ml src/action_intf.ml src/arg_spec.ml src/artifacts.ml src/bin.ml src/binary_kind.ml src/build.ml src/build_interpret.ml src/build_system.ml src/clflags.ml src/cm_kind.ml src/colors.ml src/config.ml src/context.ml src/dep_path.ml src/env.ml src/errors.ml src/exe.ml src/file_tree.ml src/findlib.ml src/gen_meta.ml src/gen_rules.ml src/glob_lexer.boot.ml src/import.ml src/inline_tests.ml src/install.ml src/install_rules.ml src/installed_dune_file.ml src/interned.ml src/jbuild.ml src/jbuild_load.ml vendor/boot/jbuilder_opam_file_format.ml vendor/boot/jbuilder_re.ml src/js_of_ocaml_rules.ml src/lib.ml src/loc.ml src/log.ml src/main.ml src/menhir.ml src/merlin.ml src/meta.ml src/meta_lexer.ml src/ml_kind.ml src/mode.ml src/module.ml src/module_compilation.ml src/modules_partitioner.ml src/ocaml_flags.ml src/ocamldep.ml src/odoc.boot.ml src/opam_file.ml src/ordered_set_lang.ml src/package.ml src/path.ml src/per_item.ml src/preprocessing.ml src/print_diff.ml src/process.ml src/report_error.ml src/scheduler.ml src/scope.ml src/setup.boot.ml src/sexp.ml src/string_with_vars.ml src/sub_system.ml src/sub_system_intf.ml src/sub_system_name.ml src/super_context.ml src/syntax.ml src/top_closure.ml src/utils.ml src/utop.ml src/variant.ml src/vfile_kind.ml src/watermarks.ml src/workspace.ml > boot-depends.txt
- '/home/opam/.opam/4.14.1/bin/ocamldep.opt' -modules src/stdune/caml/caml.ml src/stdune/caml/result.ml src/stdune/caml/result_compat.ml > boot-depends.txt
- '/home/opam/.opam/4.14.1/bin/ocamldep.opt' -modules src/fiber/fiber.ml > boot-depends.txt
- '/home/opam/.opam/4.14.1/bin/ocamldep.opt' -modules src/ocaml-config/ocaml_config.ml > boot-depends.txt
- '/home/opam/.opam/4.14.1/bin/ocamldep.opt' -modules src/stdune/stdune.ml src/stdune/ansi_color.ml src/stdune/array.ml src/stdune/char.ml src/stdune/common.ml src/stdune/comparable.ml src/stdune/either.ml src/stdune/exn.ml src/stdune/filename.ml src/stdune/hashtbl.ml src/stdune/import.ml src/stdune/int.ml src/stdune/io.ml src/stdune/list.ml src/stdune/map.ml src/stdune/map_intf.ml src/stdune/option.ml src/stdune/or_exn.ml src/stdune/ordering.ml src/stdune/pp.ml src/stdune/result.ml src/stdune/set.ml src/stdune/set_intf.ml src/stdune/staged.ml src/stdune/string.ml > boot-depends.txt
- '/home/opam/.opam/4.14.1/bin/ocamldep.opt' -modules src/usexp/usexp.ml src/usexp/parser_automaton_internal.ml src/usexp/sexp_ast.ml src/usexp/table.ml > boot-depends.txt
- '/home/opam/.opam/4.14.1/bin/ocamldep.opt' -modules src/xdg/xdg.ml > boot-depends.txt
- '/home/opam/.opam/4.14.1/bin/ocamlc.opt' -g -w -40 -o boot.exe unix.cma boot.ml
- File "src/stdune/caml/result.ml", line 4, characters 7-17:
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "src/stdune/caml/result.mli", line 6, characters 7-17:
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "src/stdune/pp.ml", line 98, characters 7-18:
- Alert deprecated: Stdlib.Format.pp_open_tag
- Use Format.pp_open_stag.
- File "src/stdune/pp.ml", line 100, characters 7-19:
- Alert deprecated: Stdlib.Format.pp_close_tag
- Use Format.pp_close_stag.
- File "src/stdune/pp.ml", line 103, characters 18-48:
- Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions
- Use Format.pp_get_formatter_stag_functions.
- File "src/stdune/pp.ml", line 105, characters 6-36:
- Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions
- This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions.
- File "src/stdune/io.ml", line 1, characters 11-21:
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "src/usexp/usexp.ml", line 209, characters 15-52:
- Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions
- Use Format.pp_get_formatter_stag_functions.
- File "src/usexp/usexp.ml", line 210, characters 2-39:
- Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions
- This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions.
- File "src/colors.ml", line 105, characters 18-48:
- Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions
- Use Format.pp_get_formatter_stag_functions.
- File "src/colors.ml", line 107, characters 6-36:
- Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions
- This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions.
- File "src/super_context.ml", line 72, characters 7-11:
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
Processing  3/6: [jbuilder: ./boot.exe 15]
+ /home/opam/.opam/4.14.1/.opam-switch/build/jbuilder.1.0+beta20.2/./boot.exe "-j" "15" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/jbuilder.1.0+beta20.2)
-       ocamlc src/stdune/caml/.caml.objs/caml__Result.{cmi,cmti}
- File "src/stdune/caml/result.mli", line 6, characters 7-17:
- 6 |   open Pervasives
-            ^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
-     ocamlopt src/stdune/caml/.caml.objs/caml__Result.{cmx,o}
- File "src/stdune/caml/result.ml", line 4, characters 7-17:
- 4 |   open Pervasives
-            ^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
-     ocamlopt src/stdune/.stdune.objs/stdune__Io.{cmx,o}
- File "src/stdune/io.ml", line 1, characters 11-21:
- 1 | module P = Pervasives
-                ^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
-     ocamlopt src/stdune/.stdune.objs/stdune__Pp.{cmx,o}
- File "src/stdune/pp.ml", line 98, characters 7-18:
- 98 |        pp_open_tag ppf (embed_tag ~opening ~closing);
-             ^^^^^^^^^^^
- Alert deprecated: Stdlib.Format.pp_open_tag
- Use Format.pp_open_stag.
- File "src/stdune/pp.ml", line 100, characters 7-19:
- 100 |        pp_close_tag ppf ()
-              ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Format.pp_close_tag
- Use Format.pp_close_stag.
- File "src/stdune/pp.ml", line 103, characters 18-48:
- 103 |       let funcs = pp_get_formatter_tag_functions ppf () in
-                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions
- Use Format.pp_get_formatter_stag_functions.
- File "src/stdune/pp.ml", line 105, characters 6-36:
- 105 |       pp_set_formatter_tag_functions ppf
-             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions
- This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions.
-     ocamlopt src/usexp/.usexp.objs/usexp.{cmx,o}
- File "src/usexp/usexp.ml", line 209, characters 15-52:
- 209 |   let tfuncs = Format.pp_get_formatter_tag_functions ppf () in
-                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions
- Use Format.pp_get_formatter_stag_functions.
- File "src/usexp/usexp.ml", line 210, characters 2-39:
- 210 |   Format.pp_set_formatter_tag_functions ppf
-         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions
- This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions.
-     ocamlopt src/.jbuilder.objs/jbuilder__Colors.{cmx,o}
- File "src/colors.ml", line 105, characters 18-48:
- 105 |       let funcs = pp_get_formatter_tag_functions ppf () in
-                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions
- Use Format.pp_get_formatter_stag_functions.
- File "src/colors.ml", line 107, characters 6-36:
- 107 |       pp_set_formatter_tag_functions ppf
-             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions
- This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions.
-     ocamlopt src/.jbuilder.objs/jbuilder__Super_context.{cmx,o}
- File "src/super_context.ml", line 72, characters 7-11:
- 72 |       ?host
-             ^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
-> compiled  jbuilder.1.0+beta20.2
-> installed jbuilder.1.0+beta20.2
Processing  5/6: [spf: jbuilder build]
+ /home/opam/.opam/4.14.1/bin/jbuilder "build" "-p" "spf" "-j" "15" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/spf.2.0.2)
-       ocamlc src/spf_stubs.o (exit 2)
- (cd _build/default/src && /home/opam/.opam/4.14.1/bin/ocamlc.opt -g -ccopt -Wall -ccopt -Werror -o spf_stubs.o spf_stubs.c)
- spf_stubs.c:10:10: fatal error: 'spf2/spf.h' file not found
- #include <spf2/spf.h>
-          ^~~~~~~~~~~~
- 1 error generated.
[ERROR] The compilation of spf.2.0.2 failed at "jbuilder build -p spf -j 15".

#=== ERROR while compiling spf.2.0.2 ==========================================#
# context              2.2.0~beta2~dev | freebsd/x86_64 | ocaml-base-compiler.4.14.1 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14.1/.opam-switch/build/spf.2.0.2
# command              ~/.opam/4.14.1/bin/jbuilder build -p spf -j 15
# exit-code            1
# env-file             ~/.opam/log/spf-53462-1a85b4.env
# output-file          ~/.opam/log/spf-53462-1a85b4.out
### output ###
#       ocamlc src/spf_stubs.o (exit 2)
# (cd _build/default/src && /home/opam/.opam/4.14.1/bin/ocamlc.opt -g -ccopt -Wall -ccopt -Werror -o spf_stubs.o spf_stubs.c)
# spf_stubs.c:10:10: fatal error: 'spf2/spf.h' file not found
# #include <spf2/spf.h>
#          ^~~~~~~~~~~~
# 1 error generated.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build spf 2.0.2
+- 
+- The following changes have been performed
| - install jbuilder 1.0+beta20.2
+- 

The former state can be restored with:
    /usr/local/bin/opam switch import "/home/opam/.opam/4.14.1/.opam-switch/backup/state-20240419071042.export"
'opam install -vy spf.2.0.2' 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 "spf.2.0.2"
opam install -vy "spf.2.0.2"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "spf.2.0.2" | 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_221_11046" "mount.fstab=/tmp/obuilder-jail-2ca2ed/fstab" "mount.devfs" "path=/obuilder/result/2916a5fc3f8443a10b6bde3c667e2ef5a40a4ac2463f2784e9141261ee73af81/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 "spf.2.0.2"
opam install -vy "spf.2.0.2"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "spf.2.0.2" | 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