Organisationspatricoferrisocaml-jansson42cb42 (main)freebsd-5.2_opam-2.1

freebsd-5.2_opam-2.1

Link Copied
Code Copied

Logs

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-5.2_opam-2.1)
Base: freebsd-ocaml-5.2
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-5.2
# freebsd-5.2_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-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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-5.2-freebsd-5.2_opam-2.1-09f4095a40d4551e5c1af9a2c7f0a4c3"
2024-06-17 14:04.41: Using OBuilder spec:
((from freebsd-ocaml-5.2)
 (comment freebsd-5.2_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-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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:40.50: Waiting for worker…
2024-06-17 19:51.28: Got resource from pool OCluster
Building on summer
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-5.2)
2024-06-17 19:44.22 ---> using "3515bf58445883216685df527c06fc8b9b7799700694ffa335d1401da4433261" from cache


/: (comment freebsd-5.2_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:44.22 ---> using "9d6862887f900f59625b2215f75e812893e141cab42bcb588c0a696a0d5f58ba" 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:44.23 ---> using "1fd90ea945c776de537d3c99dc7b4903609e7adbb45bd33c5e3538b8de92ea66" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p6
The OCaml toplevel, version 5.2.0
2.1.5
2024-06-17 19:44.23 ---> using "fb7d445678cc2654300145baf3967822bea6d22d7d1784a343fa4d849ce67e57" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-17 19:44.24 ---> using "c8753f135ab4a2a6875ba6c72e3a7bf45a73413350972305e894f2309c51e448" 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
   recompile ocaml-base-compiler   5.2.0 [upstream or system changes]
   install   host-system-other     1
   recompile ocaml-options-vanilla 1     [upstream or system changes]
   recompile ocaml-config          3     [upstream or system changes]
   recompile ocaml                 5.2.0 [uses ocaml-base-compiler, ocaml-config]
   recompile base-domains          base  [uses ocaml]
   recompile base-nnp              base  [uses base-domains]
=====  2    6 =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved ocaml-config.3  (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.5.2.0  (cached)
 removed   base-nnp.base
 removed   base-domains.base
 removed   ocaml.5.2.0
 removed   ocaml-config.3
 removed   ocaml-base-compiler.5.2.0
 installed ocaml-base-compiler.5.2.0
 installed ocaml-config.3
 installed ocaml.5.2.0
 installed base-domains.base
 installed base-nnp.base
Done.
2024-06-17 19:44.24 ---> using "c3d70a77b2b62f286ebe5d22e80ce9a36af7bc9bbbf14e07ee727af1e667f234" from cache


/src: (copy (src jansson.opam) (dst ./))
2024-06-17 19:44.33 ---> saved as "060503b6ba8d3d38ef2969f45dac921320455856b27b8bd9c8a72194f3fc4a9e"


/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:44.41 ---> saved as "ececf1f158ab71552f6d7157fa45977027528109f4ea18e6a12e0dfe03dd5b55"


/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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...
- [summer] 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.
- [summer] [1/1] Fetching pkg-1.21.3.pkg: 
- .....
- ..... done
- Checking integrity... done (0 conflicting)
- [summer] [1/1] Upgrading pkg from 1.21.2 to 1.21.3...
- [summer] [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.
- [summer] [1/7] Fetching cmake-3.28.3.pkg: . done
- [summer] [2/7] Fetching cmake-man-3.28.3.pkg: .......... done
- [summer] [3/7] Fetching jsoncpp-1.9.5.pkg: ........ done
- [summer] [4/7] Fetching libuv-1.48.0.pkg: .......... done
- [summer] [5/7] Fetching cmake-doc-3.28.3.pkg: .
- ........
- . done
- [summer] [6/7] Fetching cmake-core-3.28.3.pkg: ..
- .....
- ... done
- [summer] [7/7] Fetching rhash-1.4.4_1.pkg: .......... done
- Checking integrity... done (0 conflicting)
- [summer] [1/7] Installing jsoncpp-1.9.5...
- [summer] [1/7] Extracting jsoncpp-1.9.5: .......... done
- [summer] [2/7] Installing libuv-1.48.0...
- [summer] [2/7] Extracting libuv-1.48.0: .......... done
- [summer] [3/7] Installing rhash-1.4.4_1...
- [summer] [3/7] Extracting rhash-1.4.4_1: .......... done
- [summer] [4/7] Installing cmake-man-3.28.3...
- [summer] [4/7] Extracting cmake-man-3.28.3: .......... done
- [summer] [5/7] Installing cmake-doc-3.28.3...
- [summer] [5/7] Extracting cmake-doc-3.28.3: .......... done
- [summer] [6/7] Installing cmake-core-3.28.3...
- [summer] [6/7] Extracting cmake-core-3.28.3: 
- .......... done
- [summer] [7/7] Installing cmake-3.28.3...
2024-06-17 19:45.49 ---> saved as "f54a4801d716ecbe2fe72ce5613b06c8e2820acc1202f6acb8d10afddfb9e20a"


/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 jsonm.1.0.2  (cached)
 retrieved ocaml-syntax-shims.1.0.0  (cached)
 retrieved dune.3.16.0  (cached)
 retrieved re.1.11.0  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved sexplib0.v0.17.0  (cached)
 retrieved ocamlfind.1.9.6  (cached)
 retrieved topkg.1.0.7  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved ocamlbuild.0.14.3  (cached)
 retrieved uutf.1.0.3  (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 integers.0.7.0
 installed hex.1.5.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:49.53 ---> saved as "b04ac12b7340359e4dff980620efba6cf7ca8c31a648488c941268e788c22ff1"


/src: (copy (src .) (dst /src))
2024-06-17 19:49.57 ---> saved as "83a0b1cae38f6e79078f284bbb214cfec460a0315d0708227fcf7cec45c7c8b8"


/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-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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_776_28436" "mount.devfs" "path=/obuilder/result/2ea1cee9fecd4ab40bdaf0e75ebc26d46432d7a3d0f7fa19c8f4ca4030bef1c9/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-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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 19:57.13: Job failed: Failed: Build failed