Organisationspatricoferrisocaml-janssonbc08a5 ()openbsd-77-amd64-5.4_opam-2.5

openbsd-77-amd64-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-05-29 11:02.41: New job: test patricoferris/ocaml-jansson https://github.com/patricoferris/ocaml-jansson.git#refs/pull/5/head (bc08a58baf4ce5cdcf066ada308b5e7238ccfe99) (openbsd-amd64:openbsd-77-amd64-5.4_opam-2.5)
Base: openbsd-77-amd64-ocaml-5.4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/patricoferris/ocaml-jansson.git" && cd "ocaml-jansson" && git fetch origin "refs/pull/5/head" && git reset --hard bc08a58b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-77-amd64-ocaml-5.4
# openbsd-77-amd64-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN cd ~/opam-repository && (git cat-file -e 4d481b6121a8fa09e2a764350c5b350800e2d4b8 || git fetch origin master) && git reset -q --hard 4d481b6121a8fa09e2a764350c5b350800e2d4b8 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN opam update -u
COPY --chown=1000:1000 jansson.opam /home/opam/src/./
RUN opam pin add -yn jansson.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.24.0 dune.3.23.1 dune-configurator.3.23.1 ezjsonm.1.3.0 fmt.0.11.0 hex.1.5.0 integers.0.8.0 jsonm.1.0.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y jansson.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-05-29 11:02.41: Using cache hint "patricoferris/ocaml-jansson-openbsd-77-amd64-ocaml-5.4-openbsd-77-amd64-5.4_opam-2.5-b26cca31d31b9df721337f4dcaf5bcba"
2026-05-29 11:02.41: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-5.4)
(comment openbsd-77-amd64-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4d481b6121a8fa09e2a764350c5b350800e2d4b8 || git fetch origin master) && git reset -q --hard 4d481b6121a8fa09e2a764350c5b350800e2d4b8 && git log --no-decorate -n1 --oneline"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update -u"))
(copy (src jansson.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn jansson.dev '/home/opam/src/./'"))
(run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.24.0 dune.3.23.1 dune-configurator.3.23.1 ezjsonm.1.3.0 fmt.0.11.0 hex.1.5.0 integers.0.8.0 jsonm.1.0.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
(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.5 --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 /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-05-29 11:02.41: Waiting for resource in pool OCluster
2026-05-29 11:02.41: Waiting for worker…
2026-05-29 11:02.41: Got resource from pool OCluster
Building on oregano.caelum.ci.dev
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'
HEAD is now at bc08a58 Update vendored dependency to fix build error
warning: Could not unset core.worktree setting in submodule 'vendor/jansson'
Cleared directory 'vendor/jansson'
Submodule 'vendor/jansson' (https://github.com/akheron/jansson) registered for path 'vendor/jansson'
From https://github.com/akheron/jansson
* [new branch]      dependabot/github_actions/github-actions-674967a53d -> origin/dependabot/github_actions/github-actions-674967a53d
96d160d..1eb7a81  master     -> origin/master
* [new tag]         v2.15.0    -> v2.15.0
Submodule path 'vendor/jansson': checked out '4a9a6db73d5dc553164992e87426502ab2d54512'


(from openbsd-77-amd64-ocaml-5.4)
2026-05-29 11:02.42 ---> using "8424522d1f78b81b26ba463ba357c8ca122e0f74070b621aa84fc80c68430631" from cache


/: (comment openbsd-77-amd64-5.4_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "doas ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-05-29 11:02.42 ---> using "cd72dc3a3c8ea2afd18b1257d8b5421d0f9a4dafb0a258b995fdf62c1e2a67c4" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4d481b6121a8fa09e2a764350c5b350800e2d4b8 || git fetch origin master) && git reset -q --hard 4d481b6121a8fa09e2a764350c5b350800e2d4b8 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
93a7bce43a..4d481b6121  master     -> origin/master
4d481b6121 Merge pull request #29956 from avsm/ctypes-reloc
2026-05-29 11:02.42 ---> using "1f9ba5954753829f3cfcc7e8215e469199604efb680aa82255084a3c4d2ada39" from cache


/: (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] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


default (at file:///home/opam/opam-repository):
[INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


2026-05-29 11:02.42 ---> using "64fdebbe0ad23fa333efae5c4eb786740f2b32ace2ba8fc4393c93f926aed8b2" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 5.4.0
2.5.0
2026-05-29 11:02.42 ---> using "03cc174c6d7af17a95bc5c2833809d4fecb46d6e848829edd65ed2cf5539a2f6" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update -u"))


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-05-29 11:02.42 ---> using "350e0dfaf305da6393b5746eb594656df84845fe9a9787f3918b1fb162ec7c1d" from cache


/: (copy (src jansson.opam) (dst /home/opam/src/./))
2026-05-29 11:03.41 ---> saved as "9c62b266289c41d2eb8bed69c7300c7166ae82c1556d27c5d140efd8289e6bbe"


/: (run (network host)
(shell "opam pin add -yn jansson.dev '/home/opam/src/./'"))
[NOTE] Package jansson does not exist in opam repositories registered in the current switch.
[jansson.dev] synchronised (file:///home/opam/src)
jansson is now pinned to file:///home/opam/src (version dev)
2026-05-29 11:04.33 ---> saved as "bb070c93edb2a375f99b640fd04a0faad86b0242cb90583dd2486749224044a4"


/: (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-05-29 11:05.17 ---> saved as "ad2d12348f35ab0bb9233bbcde73967d382bcd081aa4e77bdf8654bb0a43298a"


/: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.1 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.24.0 dune.3.23.1 dune-configurator.3.23.1 ezjsonm.1.3.0 fmt.0.11.0 hex.1.5.0 integers.0.8.0 jsonm.1.0.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")


/: (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.5 --depext-only -y jansson.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[jansson.dev] synchronised (file:///home/opam/src)


[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-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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).


The following system packages will first need to be installed:
devel/cmake


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/doas "pkg_add" "-I" "devel/cmake"
- file:devel/: empty
- quirks-7.103 signed on 2025-10-13T22:55:16Z
# To update the current shell environment, run: eval $(opam env)
2026-05-29 11:06.30 ---> saved as "fe5559225352c64f5b21f9eaba804eacaf5a9d3040132858c4339d08a91c0739"


/: (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-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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).
The following actions will be performed:
=== install 22 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install cmdliner           2.1.1
- install conf-cmake         1
- install csexp              1.5.2
- install cstruct            6.2.0
- install ctypes             0.24.0
- install dune               3.23.1
- install dune-configurator  3.23.1
- install ezjsonm            1.3.0
- install fmt                0.11.0
- install hex                1.5.0
- install integers           0.8.0
- install jsonm              1.0.2
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install re                 1.14.0
- install sexplib0           v0.17.0
- install stdlib-shims       0.3.0
- install topkg              1.1.1
- install uutf               1.0.4


The following system packages will first need to be installed:
devel/cmake


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


opam believes some required external dependencies are missing. opam can:
> 1. Run pkg_add to install them (may need root/sudo access)
2. Display the recommended pkg_add 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/bin/doas "pkg_add" "-I" "devel/cmake"
- file:devel/: empty
- quirks-7.103 signed on 2025-10-13T22:55:16Z


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved conf-cmake.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-cmake.1
-> retrieved cstruct.6.2.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved alcotest.1.9.1  (cached)
-> retrieved ctypes.0.24.0  (cached)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved integers.0.8.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.23.1, dune-configurator.3.23.1  (cached)
-> installed ocamlbuild.0.16.1
-> installed cmdliner.2.1.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed uutf.1.0.4
-> installed jsonm.1.0.2
-> installed dune.3.23.1
-> installed csexp.1.5.2
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed cstruct.6.2.0
-> installed stdlib-shims.0.3.0
-> installed hex.1.5.0
-> installed sexplib0.v0.17.0
-> installed dune-configurator.3.23.1
-> installed integers.0.8.0
-> installed ezjsonm.1.3.0
-> installed alcotest.1.9.1
-> installed ctypes.0.24.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-29 11:11.07 ---> saved as "e1cb4658e0722cc3028a7a4c62e9c496e70073bd3809743c50ed8b4ebd645a9b"


/: (copy (src .) (dst /home/opam/src))
2026-05-29 11:11.53 ---> saved as "ae98abd77bdb579549c589a0fedc9989ab73a8088426666b7748f74ef59c6b3e"


/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/vendor/jansson/build && /usr/local/bin/cmake .. -DJANSSON_BUILD_SHARED_LIBS=1)
-- The C compiler identification is Clang 16.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test HAS_NO_FORMAT_TRUNCATION
-- Performing Test HAS_NO_FORMAT_TRUNCATION - Failed
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for close
-- Looking for close - found
-- Looking for getpid
-- Looking for getpid - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for open
-- Looking for open - found
-- Looking for read
-- Looking for read - found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int64
-- Check size of __int64 - failed
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of long long
-- Check size of long long - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of __int32
-- Check size of __int32 - failed
-- Check size of long
-- Check size of long - done
-- Check size of int
-- Check size of int - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of __uint32
-- Check size of __uint32 - failed
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of __uint16
-- Check size of __uint16 - failed
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of __uint8
-- Check size of __uint8 - failed
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of SSIZE_T
-- Check size of SSIZE_T - failed
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - not found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for setlocale
-- Looking for setlocale - found
-- Performing Test HAVE_INLINE
-- Performing Test HAVE_INLINE - Success
-- Performing Test HAVE___INLINE
-- Performing Test HAVE___INLINE - Success
-- Performing Test HAVE___INLINE__
-- Performing Test HAVE___INLINE__ - Success
-- Performing Test HAVE_SYNC_BUILTINS
-- Performing Test HAVE_SYNC_BUILTINS - Success
-- Performing Test HAVE_ATOMIC_BUILTINS
-- Performing Test HAVE_ATOMIC_BUILTINS - Success
-- Performing Test DSYMVER_WORKS
-- Performing Test DSYMVER_WORKS - Failed
-- Performing Test VSCRIPT_WORKS
-- Performing Test VSCRIPT_WORKS - Success
-- Could NOT find Sphinx (missing: Sphinx-build_EXECUTABLE Sphinx_VERSION_STRING)
-- Configuring done (37.1s)
-- Generating done (0.5s)
-- Build files have been written to: /home/opam/src/_build/default/vendor/jansson/build
C compiler: Clang
CMake Warning at CMakeLists.txt:381 (message):
  Sphinx not found.  Cannot generate documentation!


        Set -DJANSSON_BUILD_DOCS=OFF to get rid of this message.


File "src/c/dune", lines 79-119, characters 0-1253:
79 | (rule
80 |  (deps
81 |   (source_tree %{project_root}/vendor/jansson))
.....
117 |         (copy
118 |          %{project_root}/vendor/jansson/build/lib/libjansson%{ext_lib}
119 |          %{project_root}/src/c/libjansson.a)))))))))
(cd _build/default/vendor/jansson/build && /usr/bin/make -j)
make: option requires an argument -- j
usage: make [-BeiknpqrSst] [-C directory] [-D variable] [-d flags] [-f mk]
[-I directory] [-j max_jobs] [-m directory] [-V variable]
[NAME=value ...] [target ...]
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-05-29 11:13.16: Job failed: Failed: Build failed