Organisationspatricoferrisjsoo-code-mirror416b96 (main)openbsd-77-amd64-4.14_opam-2.4

openbsd-77-amd64-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-16 10:13.28: New job: test patricoferris/jsoo-code-mirror https://github.com/patricoferris/jsoo-code-mirror.git#refs/heads/main (416b964f7348604a7c4586e350d237632ef1dc2a) (openbsd-amd64:openbsd-77-amd64-4.14_opam-2.4)
Base: openbsd-77-amd64-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/patricoferris/jsoo-code-mirror.git" -b "main" && cd "jsoo-code-mirror" && git reset --hard 416b964f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-77-amd64-ocaml-4.14
# openbsd-77-amd64-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 code-mirror.opam /home/opam/src/./
RUN opam pin add -yn code-mirror.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base brr.0.0.8 cmdliner.1.3.0 dune.3.20.2 gen.1.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-toplevel.6.2.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.36.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y code-mirror.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


2025-09-16 10:13.28: Using cache hint "patricoferris/jsoo-code-mirror-openbsd-77-amd64-ocaml-4.14-openbsd-77-amd64-4.14_opam-2.4-91720334676695ef48822635116925fb"
2025-09-16 10:13.28: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-4.14)
(comment openbsd-77-amd64-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
(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 "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src code-mirror.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn code-mirror.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base brr.0.0.8 cmdliner.1.3.0 dune.3.20.2 gen.1.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-toplevel.6.2.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.36.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 yojson.3.0.0")
(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.4 --depext-only -y code-mirror.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"))
)


2025-09-16 10:13.28: Waiting for resource in pool OCluster
2025-09-17 02:11.16: Waiting for worker…
2025-09-17 07:38.07: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at 416b964 Merge pull request #16 from jonludlam/rework-interface2


(from openbsd-77-amd64-ocaml-4.14)
2025-09-17 07:38.07 ---> using "00579f8dea230f94ca5972e50ed0dc70167d1c0e96cfe76e645642677774f17f" from cache


/: (comment openbsd-77-amd64-4.14_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "doas ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-17 07:38.07 ---> using "8054e5d0929fce63b2e622c1fc2caefa9b5f6e503f9fc7599e0bc40c0bb8a3e7" 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] no changes from file:///home/opam/opam-repository
2025-09-17 07:38.07 ---> using "8a35e9584a9ed6dcc739329957f608077d9c3bd6b56dee5b8d5c3bdd8dab57f7" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-17 07:38.07 ---> using "b0cd4eee5840b9ccd2075fddbf7c93660c8c159436f71f3bf2f9c12998bdaf67" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f6368c68f9..7949ff40d8  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised 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.3.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)
2025-09-17 07:38.07 ---> using "e4e1c4decce7d53697f4f6091c56041d20c86dfb4927859059ea98d18c3361d2" from cache


/: (copy (src code-mirror.opam) (dst /home/opam/src/./))
2025-09-17 07:39.04 ---> saved as "76b4fe21bc9e18241accfd69844ca64e5b997c301a70ede464d037df65f6b196"


/: (run (network host)
(shell "opam pin add -yn code-mirror.dev '/home/opam/src/./'"))
[NOTE] Package code-mirror does not exist in opam repositories registered in the current switch.
[code-mirror.dev] synchronised (file:///home/opam/src)
[WARNING] Failed checks on code-mirror package definition from source at file:///home/opam/src:
warning 35: Missing field 'homepage'
warning 36: Missing field 'bug-reports'
code-mirror is now pinned to file:///home/opam/src (version dev)
2025-09-17 07:39.58 ---> saved as "ae9485598936632b101a90d3bc173377bd1822c4a87bee8a14e510a024fa7c52"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-09-17 07:40.56 ---> saved as "eb3e055fb4479cf297f25a46c9de839d4d1a6595324578e89f1f821a24d02e1e"


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base brr.0.0.8 cmdliner.1.3.0 dune.3.20.2 gen.1.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-toplevel.6.2.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.36.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 yojson.3.0.0")


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


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[code-mirror.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 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).
2025-09-17 07:41.57 ---> saved as "d2bb5648d4fe4ea29364501b6120642f1262eba0fe006c93c96c23fc1d17caf7"


/: (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).
The following actions will be performed:
=== install 22 packages
- install brr                  0.0.8
- install cmdliner             1.3.0
- install dune                 3.20.2
- install gen                  1.1
- install js_of_ocaml          6.2.0
- install js_of_ocaml-compiler 6.2.0
- install js_of_ocaml-toplevel 6.2.0
- install menhir               20250912
- install menhirCST            20250912
- install menhirLib            20250912
- install menhirSdk            20250912
- install ocaml-compiler-libs  v0.12.4
- install ocamlbuild           0.16.1
- install ocamlfind            1.9.8
- install ppx_derivers         1.2.1
- install ppxlib               0.36.0
- install sedlex               3.6
- install seq                  base
- install sexplib0             v0.17.0
- install stdlib-shims         0.3.0
- install topkg                1.1.0
- install yojson               3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved brr.0.0.8  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved js_of_ocaml.6.2.0, js_of_ocaml-compiler.6.2.0, js_of_ocaml-toplevel.6.2.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed cmdliner.1.3.0
-> retrieved sedlex.3.6  (cached)
-> retrieved seq.base  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed ocamlbuild.0.16.1
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed ocaml-compiler-libs.v0.12.4
-> installed menhir.20250912
-> installed ppx_derivers.1.2.1
-> installed seq.base
-> installed sexplib0.v0.17.0
-> installed gen.1.1
-> installed stdlib-shims.0.3.0
-> installed topkg.1.1.0
-> installed ppxlib.0.36.0
-> installed yojson.3.0.0
-> installed sedlex.3.6
-> installed js_of_ocaml-compiler.6.2.0
-> installed js_of_ocaml.6.2.0
-> installed js_of_ocaml-toplevel.6.2.0
-> installed brr.0.0.8
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-17 07:57.30 ---> saved as "483afe6a4950cab865706144d3df4e66fc44385f35c99ac390015a9911b07fa0"


/: (copy (src .) (dst /home/opam/src))
2025-09-17 07:58.28 ---> saved as "d48b34acf9eac2b0deac81092abbf2bf657695cc9639acf8e6f3f95ae050a15f"


/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 1, characters 0-265:
1 | 4��.���4�ô..��4�èopam�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Invalid first line, expected: (lang <lang> <version>)
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-17 07:59.19: Job failed: Failed: Build failed