2024-06-17 14:04.41: New job: test patricoferris/ocaml-jansson https://github.com/patricoferris/ocaml-jansson.git#refs/heads/main (42cb429e722ec64807d75ae401758eb666c9d189) (freebsd-x86_64:freebsd-4.14_opam-2.1)
Base: freebsd-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/patricoferris/ocaml-jansson.git" -b "main" && cd "ocaml-jansson" && git reset --hard 42cb429e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-4.14
# freebsd-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 jansson.opam ./
RUN opam pin add -yn jansson.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y jansson.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-06-17 14:04.41: Using cache hint "patricoferris/ocaml-jansson-freebsd-freebsd-ocaml-4.14-freebsd-4.14_opam-2.1-67236f196191f60770afa918fb0c737b"
2024-06-17 14:04.41: Using OBuilder spec:
((from freebsd-ocaml-4.14)
(comment freebsd-4.14_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src jansson.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn jansson.dev './'"))
(env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y jansson.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-06-17 14:04.41: Waiting for resource in pool OCluster
2024-06-17 18:41.22: Waiting for worker…
2024-06-17 19:51.47: Got resource from pool OCluster
Building on spring
All commits already cached
Submodule path 'vendor/jansson': checked out '2882ead5bb90cf12a01b07b2c2361e24960fae02'
HEAD is now at 42cb429 Install so versions
Synchronizing submodule url for 'vendor/jansson'
Cleared directory 'vendor/jansson'
Submodule 'vendor/jansson' (https://github.com/akheron/jansson) unregistered for path 'vendor/jansson'
Submodule 'vendor/jansson' (https://github.com/akheron/jansson) registered for path 'vendor/jansson'
Submodule path 'vendor/jansson': checked out '2882ead5bb90cf12a01b07b2c2361e24960fae02'
(from freebsd-ocaml-4.14)
2024-06-17 19:45.41 ---> using "57eeeabfec88366322a66f228a693df277d348dc99f1cc2a63749102c5e1e405" from cache
/: (comment freebsd-4.14_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam"))
2024-06-17 19:45.42 ---> using "e9fe3959c02c848d2766600d2fd363dc0faa291980b23311949b4972bc5ea188" from cache
/src: (run (shell "opam init --reinit -ni"))
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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-06-17 19:45.43 ---> using "dba2ef0de478afdbd43a6552d310929f1c3c3ee6b86c81b7ff6f06256f6544c3" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p6
The OCaml toplevel, version 4.14.2
2.1.5
2024-06-17 19:45.44 ---> using "fa8577a82f6c8311031f5ac9ddbcefef5d36d0876493f17a1dc5aa96593235c6" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-06-17 19:45.44 ---> using "1b1f323c7946b3615d1855d65edd6179caf157152d4670670539e49efbdc1d2e" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0dc68a8b92..e06bf2b8c3 master -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.0)
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
default (at git+file:///home/opam/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
Constructing initial basis...
The following actions will be performed:
∗ install host-arch-x86_64 1
∗ install host-system-other 1
↻ recompile ocaml-options-vanilla 1 [upstream or system changes]
↻ recompile ocaml-base-compiler 4.14.2 [upstream or system changes]
↻ recompile ocaml-config 2 [upstream or system changes]
↻ recompile ocaml 4.14.2 [uses ocaml-base-compiler, ocaml-config]
===== ∗ 2 ↻ 4 =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved ocaml-config.2 (cached)
⊘ removed ocaml-options-vanilla.1
∗ installed host-arch-x86_64.1
∗ installed host-system-other.1
∗ installed ocaml-options-vanilla.1
⬇ retrieved ocaml-base-compiler.4.14.2 (cached)
⊘ removed ocaml.4.14.2
⊘ removed ocaml-config.2
⊘ removed ocaml-base-compiler.4.14.2
∗ installed ocaml-base-compiler.4.14.2
∗ installed ocaml-config.2
∗ installed ocaml.4.14.2
Done.
2024-06-17 19:45.46 ---> using "3ee98f7a7ddec5be06ba852175190e68f43107976b460318151f972d8995804e" from cache
/src: (copy (src jansson.opam) (dst ./))
2024-06-17 19:45.48 ---> saved as "be2b084373f98ca8a0099f0f75b5407d0fb63affb88d3d5068e43f969865a1ac"
/src: (run (network host)
(shell "opam pin add -yn jansson.dev './'"))
Package jansson does not exist, create as a NEW package? [Y/n] y
[jansson.dev] synchronised (file:///src)
jansson is now pinned to file:///src (version dev)
2024-06-17 19:45.55 ---> saved as "419644d7e061d2f207ed775d2e80e5cbf25ef15d3e1769ebc29c5806b253afce"
/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y jansson.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[jansson.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
The following system packages will first need to be installed:
devel/cmake
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/sudo "pkg" "install" "-y" "devel/cmake"
- Updating FreeBSD repository catalogue...
- [spring] Fetching data.pkg:
- .
- ..
- ....
- .
- .. done
- Processing entries:
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- FreeBSD repository update completed. 34086 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.21.2 -> 1.21.3
-
- Number of packages to be upgraded: 1
-
- 12 MiB to be downloaded.
- [spring] [1/1] Fetching pkg-1.21.3.pkg:
- ...
- .
- ..
- ..
- .. done
- Checking integrity... done (0 conflicting)
- [spring] [1/1] Upgrading pkg from 1.21.2 to 1.21.3...
- [spring] [1/1] Extracting pkg-1.21.3: ...
- ......
- . done
- Updating FreeBSD repository catalogue...
- FreeBSD repository is up to date.
- All repositories are up to date.
- The following 7 package(s) will be affected (of 0 checked):
-
- New packages to be INSTALLED:
- cmake: 3.28.3
- cmake-core: 3.28.3
- cmake-doc: 3.28.3
- cmake-man: 3.28.3
- jsoncpp: 1.9.5
- libuv: 1.48.0
- rhash: 1.4.4_1
-
- Number of packages to be installed: 7
-
- The process will require 88 MiB more space.
- 21 MiB to be downloaded.
- [spring] [1/7] Fetching cmake-3.28.3.pkg: . done
- [spring] [2/7] Fetching cmake-man-3.28.3.pkg: .......... done
- [spring] [3/7] Fetching jsoncpp-1.9.5.pkg: ....... done
- [spring] [4/7] Fetching libuv-1.48.0.pkg: .......... done
- [spring] [5/7] Fetching cmake-doc-3.28.3.pkg: .
- ...
- ....
- .. done
- [spring] [6/7] Fetching cmake-core-3.28.3.pkg:
- ..
- ..
- .
- ..
- ... done
- [spring] [7/7] Fetching rhash-1.4.4_1.pkg: .......... done
- Checking integrity... done (0 conflicting)
- [spring] [1/7] Installing jsoncpp-1.9.5...
- [spring] [1/7] Extracting jsoncpp-1.9.5: .......... done
- [spring] [2/7] Installing libuv-1.48.0...
- [spring] [2/7] Extracting libuv-1.48.0: .......... done
- [spring] [3/7] Installing rhash-1.4.4_1...
- [spring] [3/7] Extracting rhash-1.4.4_1: .......... done
- [spring] [4/7] Installing cmake-man-3.28.3...
- [spring] [4/7] Extracting cmake-man-3.28.3: .......... done
- [spring] [5/7] Installing cmake-doc-3.28.3...
- [spring] [5/7] Extracting cmake-doc-3.28.3:
- .
- ...
- ...... done
- [spring] [6/7] Installing cmake-core-3.28.3...
- [spring] [6/7] Extracting cmake-core-3.28.3:
- ..
- ........ done
- [spring] [7/7] Installing cmake-3.28.3...
2024-06-17 19:49.21 ---> saved as "16a379d78a60ec2dedcce73cd030343ae74f2d9e877ffb1de3a1eb0fc842c3bc"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
The following actions will be performed:
∗ install ocamlbuild 0.14.3
∗ install dune 3.16.0
∗ install ocamlfind 1.9.6
∗ install cmdliner 1.3.0
∗ install seq base
∗ install conf-cmake 1
∗ install stdlib-shims 0.3.0
∗ install sexplib0 v0.17.0
∗ install ocaml-syntax-shims 1.0.0
∗ install csexp 1.5.2
∗ install bigarray-compat 1.1.0
∗ install topkg 1.0.7
∗ install re 1.11.0
∗ install integers 0.7.0
∗ install dune-configurator 3.16.0
∗ install uutf 1.0.3
∗ install fmt 0.9.0
∗ install astring 0.8.5
∗ install ctypes 0.22.0
∗ install jsonm 1.0.2
∗ install cstruct 6.2.0
∗ install alcotest 1.7.0
∗ install hex 1.5.0
∗ install ezjsonm 1.3.0
===== ∗ 24 =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved astring.0.8.5 (cached)
⬇ retrieved bigarray-compat.1.1.0 (cached)
⬇ retrieved conf-cmake.1 (cached)
⬇ retrieved csexp.1.5.2 (cached)
∗ installed conf-cmake.1
⬇ retrieved cmdliner.1.3.0 (cached)
⬇ retrieved ctypes.0.22.0 (cached)
⬇ retrieved cstruct.6.2.0 (cached)
⬇ retrieved alcotest.1.7.0 (cached)
⬇ retrieved ezjsonm.1.3.0 (cached)
⬇ retrieved dune-configurator.3.16.0 (cached)
⬇ retrieved fmt.0.9.0 (cached)
⬇ retrieved hex.1.5.0 (cached)
⬇ retrieved integers.0.7.0 (cached)
⬇ retrieved ocaml-syntax-shims.1.0.0 (cached)
⬇ retrieved jsonm.1.0.2 (cached)
⬇ retrieved ocamlbuild.0.14.3 (cached)
⬇ retrieved re.1.11.0 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved sexplib0.v0.17.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved uutf.1.0.3 (cached)
⬇ retrieved topkg.1.0.7 (cached)
⬇ retrieved dune.3.16.0 (cached)
∗ installed cmdliner.1.3.0
∗ installed ocamlfind.1.9.6
∗ installed ocamlbuild.0.14.3
∗ installed topkg.1.0.7
∗ installed uutf.1.0.3
∗ installed fmt.0.9.0
∗ installed astring.0.8.5
∗ installed jsonm.1.0.2
∗ installed dune.3.16.0
∗ installed csexp.1.5.2
∗ installed stdlib-shims.0.3.0
∗ installed sexplib0.v0.17.0
∗ installed re.1.11.0
∗ installed ocaml-syntax-shims.1.0.0
∗ installed cstruct.6.2.0
∗ installed bigarray-compat.1.1.0
∗ installed hex.1.5.0
∗ installed integers.0.7.0
∗ installed ezjsonm.1.3.0
∗ installed dune-configurator.3.16.0
∗ installed alcotest.1.7.0
∗ installed ctypes.0.22.0
Done.
2024-06-17 19:53.23 ---> saved as "013abd78c3d3af747944e661c15a416a944bd0bc40883ac8f473298c0faa3894"
/src: (copy (src .) (dst /src))
2024-06-17 19:53.38 ---> saved as "8809f3204a01e5f94f3cc5d7bb1a36f5c4f04d90dadfc434bf6efda473a46365"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 2, characters 14-17:
2 | (using ctypes 0.1)
^^^
Error: Version 0.1 of the ctypes extension has been deleted in Dune 3.11.
Please port this project to a newer version of the extension, such as 0.3.
Hint: You will also need to upgrade to (lang dune 3.7).
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_18767_38832" "mount.devfs" "path=/obuilder/result/d3467ff70505b931d27abedf5c903c10935a8f684c3d18af471ba78b0f8e4367/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1
2024-06-17 20:00.11: Job failed: Failed: Build failed