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

freebsd-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-05-10 09:02.59: 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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && 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.2.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.15.2 dune-configurator.3.15.2 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 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-05-10 09:02.59: Using cache hint "patricoferris/ocaml-jansson-freebsd-freebsd-ocaml-4.14-freebsd-4.14_opam-2.1-b550701384671297604dd6dace9ae3bf"
2024-05-10 09:02.59: 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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && 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.2.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.15.2 dune-configurator.3.15.2 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 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-05-10 09:02.59: Waiting for resource in pool OCluster
2024-05-10 09:38.43: Waiting for worker…
2024-05-10 11:53.38: 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-05-10 11:48.19 ---> 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-05-10 11:48.20 ---> 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-05-10 11:48.22 ---> using "dba2ef0de478afdbd43a6552d310929f1c3c3ee6b86c81b7ff6f06256f6544c3" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-10 11:48.22 ---> using "fa8577a82f6c8311031f5ac9ddbcefef5d36d0876493f17a1dc5aa96593235c6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-10 11:48.23 ---> 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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   69e073a577..20baedeee4  master     -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Constructing initial basis...
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.3.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-05-10 11:48.25 ---> using "8500110bb34f5fa0eecc8ffdce35dbb8d679b67af89bb1cba1cce8086b8f5e32" from cache


/src: (copy (src jansson.opam) (dst ./))
2024-05-10 11:48.35 ---> saved as "35763f638fb99ef310467a02243e6ac470bd0f0670cac752d049d0fa832f13c8"


/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-05-10 11:48.43 ---> saved as "a4d8409f83b4c8f590073a4a241f29d150ef5f642e16b81c4a245ec64b2452e7"


/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.2.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.15.2 dune-configurator.3.15.2 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 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 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 meta.conf: . done
- [spring] Fetching packagesite.pkg: ...
- ....... done
- Processing entries: 
- .
- ..
- ..
- .
- .
- ..
- . done
- FreeBSD repository update completed. 34064 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.
- [spring] [1/1] Fetching pkg-1.21.2.pkg: .
- .
- .
- ..
- .
- ..
- .. done
- Checking integrity... done (0 conflicting)
- [spring] [1/1] Upgrading pkg from 1.20.9 to 1.21.2...
- [spring] [1/1] Extracting pkg-1.21.2: .......... done
- Updating FreeBSD repository catalogue...
- [spring] Fetching meta.conf: . done
- [spring] Fetching data.pkg: .
- ....
- ..... done
- Processing entries: .
- ..
- ..
- ..
- .
- .. done
- FreeBSD repository update completed. 34064 packages processed.
- 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-05-10 11:50.40 ---> saved as "f32ad900ddc499c0e741f19d0f04e7b1823645ef8f173d9c1af3785f3e719fef"


/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 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 cmdliner           1.2.0
   install ocamlfind          1.9.6
   install seq                base
   install dune               3.15.2
   install conf-cmake         1
   install topkg              1.0.7
   install stdlib-shims       0.3.0
   install sexplib0           v0.17.0
   install re                 1.11.0
   install ocaml-syntax-shims 1.0.0
   install csexp              1.5.2
   install bigarray-compat    1.1.0
   install uutf               1.0.3
   install fmt                0.9.0
   install astring            0.8.5
   install integers           0.7.0
   install dune-configurator  3.15.2
   install jsonm              1.0.2
   install cstruct            6.2.0
   install alcotest           1.7.0
   install ctypes             0.22.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 csexp.1.5.2  (cached)
 installed conf-cmake.1
 retrieved cstruct.6.2.0  (cached)
 retrieved cmdliner.1.2.0  (cached)
 retrieved dune.3.15.2  (cached)
 retrieved dune-configurator.3.15.2  (cached)
 retrieved ezjsonm.1.3.0  (cached)
 retrieved fmt.0.9.0  (cached)
 installed cmdliner.1.2.0
 retrieved hex.1.5.0  (cached)
 retrieved ctypes.0.22.0  (cached)
 retrieved integers.0.7.0  (cached)
 retrieved jsonm.1.0.2  (cached)
 retrieved ocaml-syntax-shims.1.0.0  (cached)
 retrieved ocamlbuild.0.14.3  (cached)
 retrieved re.1.11.0  (cached)
 installed seq.base
 retrieved ocamlfind.1.9.6  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved sexplib0.v0.17.0  (cached)
 retrieved alcotest.1.7.0  (cached)
 retrieved uutf.1.0.3  (cached)
 retrieved topkg.1.0.7  (cached)
 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.15.2
 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 ezjsonm.1.3.0
 installed integers.0.7.0
 installed dune-configurator.3.15.2
 installed alcotest.1.7.0
 installed ctypes.0.22.0
Done.
2024-05-10 11:54.24 ---> saved as "86f1d9b50bd0dbedddf7451f3b1143f41ded2ad106ab153b63be1d1a9347dcce"


/src: (copy (src .) (dst /src))
2024-05-10 11:54.41 ---> saved as "2b0ea9fa1ad3b217e9a1dd70b61c93178190b8e173a71a982a43590ccb686a05"


/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.2.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.15.2 dune-configurator.3.15.2 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 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_3653_7757" "mount.devfs" "path=/obuilder/result/bd76b98a3b0f8646973a8218c6626b5e15c6c52f0d2f897777e92ea733a960b0/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.2.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.15.2 dune-configurator.3.15.2 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 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-05-10 12:00.22: Job failed: Failed: Build failed