Organisationsocurrentbunedb099 (primary)freebsd-14.3-4.14_opam-2.5

freebsd-14.3-4.14_opam-2.5

Logs

Show full logs
2026-01-16 11:37.00: New job: test ocurrent/bun https://github.com/ocurrent/bun.git#refs/heads/primary (edb099ddce28a538412a62564b419879c278c403) (freebsd-x86_64:freebsd-14.3-4.14_opam-2.5)
Base: freebsd-14.3-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/bun.git" -b "primary" && cd "bun" && git reset --hard edb099dd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.3-ocaml-4.14
# freebsd-14.3-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bun.opam ./
RUN opam pin add -yn bun.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="afl.2.52b afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 rresult.0.7.0 topkg.1.1.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y bun.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

2026-01-16 11:37.00: Using cache hint "ocurrent/bun-freebsd-14.3-ocaml-4.14-freebsd-14.3-4.14_opam-2.5-ea96a1d6ff66001b24ea88807bbcc281"
2026-01-16 11:37.00: Using OBuilder spec:
((from freebsd-14.3-ocaml-4.14)
 (comment freebsd-14.3-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src bun.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn bun.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "afl.2.52b afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 rresult.0.7.0 topkg.1.1.1")
 (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 bun.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"))
)

2026-01-16 11:37.00: Waiting for resource in pool OCluster
2026-01-16 11:37.00: Waiting for worker…
2026-01-16 13:39.12: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at edb099d Merge pull request #32 from ocurrent/revert-31-patch-1

(from freebsd-14.3-ocaml-4.14)
2026-01-16 13:39.11 ---> using "7e5247e9853d1c2fb95ef9ffdfdb895ef70516f48155f08a9b10db936cb8c6c6" from cache

/: (comment freebsd-14.3-4.14_opam-2.5)

/: (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.5 /usr/local/bin/opam"))
2026-01-16 13:39.12 ---> using "cc65ce37998b2d98fc767b9dc7c3b5c83138e1952bec339ac27a7bb4d9d920d3" 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.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-01-16 13:39.12 ---> using "87889fea7d09081125d96054d270a07df14f9b2a5c081c0c9434b9f215ecc218" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 4.14.2
2.5.0
2026-01-16 13:39.13 ---> using "4a6e16f39bb2fab11842c96050ea21902749c68aefdffcd64774b8b7640a3492" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-16 13:39.13 ---> using "ca1b89b4fcfce73b3b6ab80b797b154eda5f870ad814c498da3e18daf8f4b36f" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   71325ac6ed..873cb18c37  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0

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

Everything as up-to-date as possible

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.4.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2026-01-16 13:39.13 ---> using "ff9d687398e31f8631a6fc5f7b86db8899aa21df99d4af5cfd65df4bb71d7ea3" from cache

/src: (copy (src bun.opam) (dst ./))
2026-01-16 13:39.14 ---> using "61c81a4ad56c8449cc4eef2e87db002c11348a78fc61248b388fc6ec5d813319" from cache

/src: (run (network host)
           (shell "opam pin add -yn bun.dev './'"))
[bun.dev] synchronised (file:///src)
bun is now pinned to file:///src (version dev)
2026-01-16 13:39.14 ---> using "6666c150e5c48be64f0ee1330d41dcb6baff73af792ff01269477eee83daaca2" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-16 13:39.15 ---> using "90c51898c57e4754bc95f8cebd2ea5864d36e27da9f72c8a30329008b7c35a52" from cache

/src: (env DEPS "afl.2.52b afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 rresult.0.7.0 topkg.1.1.1")

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

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bun.dev] synchronised (file:///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).
2026-01-16 13:39.15 ---> using "6e6d94edaaabcb8938e415bffeff8c4f0b4fbe581619e42032d34390ab0a4017" from cache

/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).
The following actions will be performed:
=== install 20 packages
   afl               2.52b
   afl-persistent    1.4
   astring           0.8.5
   base-bytes        base
   bos               0.2.1
   cmdliner          2.1.0
   cppo              1.8.0
   crowbar           0.2.2
   csexp             1.5.2
   dune              3.21.0
   dune-configurator 3.21.0
   fmt               0.11.0
   fpath             0.7.3
   logs              0.10.0
   lwt               6.0.0
   ocamlbuild        0.16.1
   ocamlfind         1.9.8
   ocplib-endian     1.2
   rresult           0.7.0
   topkg             1.1.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved astring.0.8.5  (cached)
 retrieved afl-persistent.1.4  (cached)
 retrieved afl.2.52b  (cached)
 retrieved cppo.1.8.0  (cached)
 retrieved cmdliner.2.1.0  (cached)
 retrieved csexp.1.5.2  (cached)
 retrieved crowbar.0.2.2  (cached)
 retrieved bos.0.2.1  (cached)
 retrieved fmt.0.11.0  (cached)
 retrieved fpath.0.7.3  (cached)
 retrieved logs.0.10.0  (cached)
 retrieved lwt.6.0.0  (cached)
 retrieved ocamlbuild.0.16.1  (cached)
 retrieved ocplib-endian.1.2  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved rresult.0.7.0  (cached)
 retrieved topkg.1.1.1  (cached)
 retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
 installed ocamlbuild.0.16.1
[ERROR] The compilation of afl.2.52b failed at "gmake".
 installed cmdliner.2.1.0
 installed ocamlfind.1.9.8
 installed base-bytes.base
 installed topkg.1.1.1
 installed rresult.0.7.0
 installed fmt.0.11.0
 installed astring.0.8.5
 installed fpath.0.7.3
 installed dune.3.21.0
 installed afl-persistent.1.4
 installed csexp.1.5.2
 installed cppo.1.8.0
 installed crowbar.0.2.2
 installed ocplib-endian.1.2
 installed dune-configurator.3.21.0
 installed lwt.6.0.0
 installed logs.0.10.0
 installed bos.0.2.1

#=== ERROR while compiling afl.2.52b ==========================================#
# context     2.5.0 | freebsd/x86_64 | ocaml-base-compiler.4.14.2 | git+file:///home/opam/opam-repository
# path        ~/.opam/4.14.2/.opam-switch/build/afl.2.52b
# command     /usr/local/bin/gmake
# exit-code   2
# env-file    ~/.opam/log/afl-52574-762815.env
# output-file ~/.opam/log/afl-52574-762815.out
### output ###
# [...]
# 1 warning generated.
# cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-analyze.c -o afl-analyze 
# cc -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-as.c -o afl-as 
# ln -sf afl-as as
# [*] Testing the CC wrapper and instrumentation output...
# unset AFL_USE_ASAN AFL_USE_MSAN; AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./afl-clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" test-instr.c -o test-instr 
# B
# [-] PROGRAM ABORT : Oops, failed to execute 'as' - check your PATH
#          Location : main(), afl-as.c:536
# 
# clang: error: assembler command failed with exit code 1 (use -v to see invocation)
# gmake: *** [Makefile:91: test_build] Error 1



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
λ build afl 2.52b
└─ 
┌─ The following changes have been performed
 install afl-persistent    1.4
 install astring           0.8.5
 install base-bytes        base
 install bos               0.2.1
 install cmdliner          2.1.0
 install cppo              1.8.0
 install crowbar           0.2.2
 install csexp             1.5.2
 install dune              3.21.0
 install dune-configurator 3.21.0
 install fmt               0.11.0
 install fpath             0.7.3
 install logs              0.10.0
 install lwt               6.0.0
 install ocamlbuild        0.16.1
 install ocamlfind         1.9.8
 install ocplib-endian     1.2
 install rresult           0.7.0
 install topkg             1.1.1
└─ 

<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
   not enable AFL instrumentation by default, most packages will not be
   instrumented and fuzzing with afl-fuzz may not be effective.

   To globally enable AFL instrumentation, create an OCaml switch like:

     opam switch create 4.14.2+afl ocaml-variants.4.14.2+options ocaml-option-afl

The former state can be restored with:
    /usr/local/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20260116133916.export"
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='afl.2.52b afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 rresult.0.7.0 topkg.1.1.1' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS': failed
"jail" "-c" "name=obuilder_56181_52597" "mount.fstab=/tmp/obuilder-jail-cbc13e/fstab" "mount.devfs" "path=/obuilder/result/6fc4a75d4a5a02597370af759c1261d1df2789765969e0a4709178ed3c0f4797/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='afl.2.52b afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 lwt.6.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 rresult.0.7.0 topkg.1.1.1' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS'" failed with exit status 1
2026-01-16 13:43.46: Job failed: Failed: Build failed