Organisationssanettegl-legacy2155f5 ()freebsd-14.2-5.3_opam-2.4

freebsd-14.2-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-23 07:20.44: New job: test sanette/gl-legacy https://github.com/sanette/gl-legacy.git#refs/heads/main (2155f528b57789d2f264a4b0ad4c4f5a82a2c2f7) (freebsd-x86_64:freebsd-14.2-5.3_opam-2.4)
Base: freebsd-14.2-ocaml-5.3
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sanette/gl-legacy.git" -b "main" && cd "gl-legacy" && git reset --hard 2155f528
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.2-ocaml-5.3
# freebsd-14.2-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gl-legacy.opam ./
RUN opam pin add -yn gl-legacy.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.1.0 tsdl.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y gl-legacy.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


2025-09-23 07:20.44: Using cache hint "sanette/gl-legacy-freebsd-14.2-ocaml-5.3-freebsd-14.2-5.3_opam-2.4-3066d7a30bcc7fc6d11fc85b8a4a7eda"
2025-09-23 07:20.44: Using OBuilder spec:
((from freebsd-14.2-ocaml-5.3)
(comment freebsd-14.2-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gl-legacy.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn gl-legacy.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.1.0 tsdl.1.1.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 gl-legacy.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"))
)


2025-09-23 07:20.44: Waiting for resource in pool OCluster
2025-09-23 07:20.44: Waiting for worker…
2025-09-23 07:20.44: Got resource from pool OCluster
Building on rosemary
HEAD is now at 0d955c2 add devopts
HEAD is now at 2155f52 ok, add tsdl dep...


(from freebsd-14.2-ocaml-5.3)
2025-09-23 07:19.37 ---> using "47c9a03b962be450225081ed69acde1f5c6dadb6d1106d9b1a8b4fd61c2defa6" from cache


/: (comment freebsd-14.2-5.3_opam-2.4)


/: (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.4 /usr/local/bin/opam"))
2025-09-23 07:19.37 ---> using "3cf9d05e5eb2b3cab7746fab6ccc73ebe3b43051756027b7ee3d88bc2433384a" 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
2025-09-23 07:19.38 ---> using "6be513be757734d73b41a31e19f8ae22aa3fe2fd424869d3fd3c8b16bb4fa69a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.2-RELEASE-p1
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-23 07:19.38 ---> using "6406a960b971760de52a319d92e3ade2dc00fc29daba60f2a83f980f00dde731" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-23 07:19.38 ---> using "ceecf1d51f19afc7e1cbf641861a5e731a764903c017a5b842658d708b08899c" from cache


/src: (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
4028320478..ece8667156  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


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


Already up-to-date.
Nothing to do.
2025-09-23 07:19.38 ---> using "91759d5f3fe03d58fbf57a8621ed87fe99bdc24a888d2e9aabe5ccaf101a2ddc" from cache


/src: (copy (src gl-legacy.opam) (dst ./))
2025-09-23 07:19.39 ---> saved as "602bc3e7aa48222d59634ca99a8808d09feb41d29088814d6dbc48e64db93a9e"


/src: (run (network host)
(shell "opam pin add -yn gl-legacy.dev './'"))
[NOTE] Package gl-legacy does not exist in opam repositories registered in the current switch.
[gl-legacy.dev] synchronised (file:///src)
gl-legacy is now pinned to file:///src (version dev)
2025-09-23 07:19.40 ---> saved as "3285ca754e9b2afab3c95e05f8076a439b72cbb270ed5d9aebe46c46d2037712"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-23 07:19.40 ---> saved as "8577b4436e9791d6caafc80663390782a1ff894f32aa601e7c05e8566fc42a08"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.1.0 tsdl.1.1.0")


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


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gl-legacy.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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:
sdl2


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


+ /usr/local/bin/sudo "pkg" "install" "-y" "sdl2"
- Updating FreeBSD repository catalogue...
- [rosemary] Fetching data.pkg: .
- .
- ..
- .
- .
- ..
- .
- . done
- Processing entries:
- ...
- ...
- ..
- .. done
- FreeBSD repository update completed. 35669 packages processed.
- All repositories are up to date.
- The following 28 package(s) will be affected (of 0 checked):
- 
- New packages to be INSTALLED:
- 	hwdata: 0.396,1
- 	libX11: 1.8.12,1
- 	libXScrnSaver: 1.2.4_1
- 	libXau: 1.0.12
- 	libXcursor: 1.2.3
- 	libXdamage: 1.1.6
- 	libXdmcp: 1.1.5
- 	libXext: 1.3.6,1
- 	libXfixes: 6.0.1
- 	libXi: 1.8.2,1
- 	libXrandr: 1.5.4
- 	libXrender: 0.9.12
- 	libXxf86vm: 1.1.6
- 	libdrm: 2.4.123,1
- 	libepoll-shim: 0.0.20240608
- 	libglvnd: 1.7.0
- 	libinotify: 20240724_1
- 	libpciaccess: 0.18.1_1
- 	libxcb: 1.17.0
- 	libxkbcommon: 1.8.1_3
- 	libxml2: 2.14.5
- 	libxshmfence: 1.3.3
- 	mesa-libs: 24.1.7_1
- 	sdl2: 2.32.8
- 	vulkan-loader: 1.4.319
- 	wayland: 1.23.1_1
- 	xkeyboard-config: 2.41_4
- 	xorgproto: 2024.1
- 
- Number of packages to be installed: 28
- 
- The process will require 52 MiB more space.
- 10 MiB to be downloaded.
- [rosemary] [1/28] Fetching vulkan-loader-1.4.319.pkg: ......... done
- [rosemary] [2/28] Fetching libxcb-1.17.0.pkg: ..
- .......
- . done
- [rosemary] [3/28] Fetching libXcursor-1.2.3.pkg: ... done
- [rosemary] [4/28] Fetching libglvnd-1.7.0.pkg: .......... done
- [rosemary] [5/28] Fetching libXrandr-1.5.4.pkg: . done
- [rosemary] [6/28] Fetching libXext-1.3.6,1.pkg: ...... done
- [rosemary] [7/28] Fetching libXxf86vm-1.1.6.pkg: . done
- [rosemary] [8/28] Fetching libXdamage-1.1.6.pkg: . done
- [rosemary] [9/28] Fetching libdrm-2.4.123,1.pkg: .......... done
- [rosemary] [10/28] Fetching libXfixes-6.0.1.pkg: . done
- [rosemary] [11/28] Fetching libXau-1.0.12.pkg: . done
- [rosemary] [12/28] Fetching libxml2-2.14.5.pkg: ....
- ...... done
- [rosemary] [13/28] Fetching wayland-1.23.1_1.pkg: ......... done
- [rosemary] [14/28] Fetching libxshmfence-1.3.3.pkg: . done
- [rosemary] [15/28] Fetching libXScrnSaver-1.2.4_1.pkg: . done
- [rosemary] [16/28] Fetching libepoll-shim-0.0.20240608.pkg: .. done
- [rosemary] [17/28] Fetching libX11-1.8.12,1.pkg:
- ........
- .. done
- [rosemary] [18/28] Fetching libXrender-0.9.12.pkg: ... done
- [rosemary] [19/28] Fetching xorgproto-2024.1.pkg: ......... done
- [rosemary] [20/28] Fetching xkeyboard-config-2.41_4.pkg: ....
- ...... done
- [rosemary] [21/28] Fetching libXi-1.8.2,1.pkg: ........ done
- [rosemary] [22/28] Fetching libxkbcommon-1.8.1_3.pkg: ....
- ...... done
- [rosemary] [23/28] Fetching hwdata-0.396,1.pkg: ...
- ...
- .
- .
- .
- . done
- [rosemary] [24/28] Fetching sdl2-2.32.8.pkg:
- .
- ...
- ....
- .. done
- [rosemary] [25/28] Fetching libXdmcp-1.1.5.pkg: .. done
- [rosemary] [26/28] Fetching mesa-libs-24.1.7_1.pkg: .....
- ..... done
- [rosemary] [27/28] Fetching libinotify-20240724_1.pkg: .. done
- [rosemary] [28/28] Fetching libpciaccess-0.18.1_1.pkg: .. done
- Checking integrity...
-  done (0 conflicting)
- [rosemary] [1/28] Installing hwdata-0.396,1...
- [rosemary] [1/28] Extracting hwdata-0.396,1: .......
- ... done
- [rosemary] [2/28] Installing libXau-1.0.12...
- [rosemary] [2/28] Extracting libXau-1.0.12: .......... done
- [rosemary] [3/28] Installing libepoll-shim-0.0.20240608...
- [rosemary] [3/28] Extracting libepoll-shim-0.0.20240608: ...
- ....... done
- [rosemary] [4/28] Installing libinotify-20240724_1...
- [rosemary] [4/28] Extracting libinotify-20240724_1: ..
- ........ done
- [rosemary] [5/28] Installing libpciaccess-0.18.1_1...
- [rosemary] [5/28] Extracting libpciaccess-0.18.1_1: ........ done
- [rosemary] [6/28] Installing libdrm-2.4.123,1...
- [rosemary] [6/28] Extracting libdrm-2.4.123,1: .
- ....
- ....
- . done
- [rosemary] [7/28] Installing libxml2-2.14.5...
- [rosemary] [7/28] Extracting libxml2-2.14.5:
- ...
- ..
- .
- ..
- .. done
- [rosemary] [8/28] Installing libxshmfence-1.3.3...
- [rosemary] [8/28] Extracting libxshmfence-1.3.3: ....
- ..... done
- [rosemary] [9/28] Installing wayland-1.23.1_1...
- [rosemary] [9/28] Extracting wayland-1.23.1_1: .
- ........
- . done
- [rosemary] [10/28] Installing xkeyboard-config-2.41_4...
- [rosemary] [10/28] Extracting xkeyboard-config-2.41_4:
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- [rosemary] [11/28] Installing xorgproto-2024.1...
- [rosemary] [11/28] Extracting xorgproto-2024.1:
- .
- .
- .
- ..
- .
- ..
- .
- . done
- [rosemary] [12/28] Installing libXdmcp-1.1.5...
- [rosemary] [12/28] Extracting libXdmcp-1.1.5: ......... done
- [rosemary] [13/28] Installing libxcb-1.17.0...
- [rosemary] [13/28] Extracting libxcb-1.17.0:
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- [rosemary] [14/28] Installing libX11-1.8.12,1...
- [rosemary] [14/28] Extracting libX11-1.8.12,1:
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- [rosemary] [15/28] Installing libXext-1.3.6,1...
- [rosemary] [15/28] Extracting libXext-1.3.6,1: .......... done
- [rosemary] [16/28] Installing libXScrnSaver-1.2.4_1...
- [rosemary] [16/28] Extracting libXScrnSaver-1.2.4_1: .......... done
- [rosemary] [17/28] Installing libXfixes-6.0.1...
- [rosemary] [17/28] Extracting libXfixes-6.0.1: .......... done
- [rosemary] [18/28] Installing libXdamage-1.1.6...
- [rosemary] [18/28] Extracting libXdamage-1.1.6: ......... done
- [rosemary] [19/28] Installing libXi-1.8.2,1...
- [rosemary] [19/28] Extracting libXi-1.8.2,1: .......... done
- [rosemary] [20/28] Installing libXrender-0.9.12...
- [rosemary] [20/28] Extracting libXrender-0.9.12: .......... done
- [rosemary] [21/28] Installing libXcursor-1.2.3...
- [rosemary] [21/28] Extracting libXcursor-1.2.3: .......... done
- [rosemary] [22/28] Installing libXrandr-1.5.4...
- [rosemary] [22/28] Extracting libXrandr-1.5.4: .......... done
- [rosemary] [23/28] Installing libXxf86vm-1.1.6...
- [rosemary] [23/28] Extracting libXxf86vm-1.1.6: .......... done
- [rosemary] [24/28] Installing libglvnd-1.7.0...
- [rosemary] [24/28] Extracting libglvnd-1.7.0: .......... done
- [rosemary] [25/28] Installing libxkbcommon-1.8.1_3...
- [rosemary] [25/28] Extracting libxkbcommon-1.8.1_3: .......... done
- [rosemary] [26/28] Installing mesa-libs-24.1.7_1...
- [rosemary] [26/28] Extracting mesa-libs-24.1.7_1: .......... done
- [rosemary] [27/28] Installing vulkan-loader-1.4.319...
- [rosemary] [27/28] Extracting vulkan-loader-1.4.319: .......... done
- [rosemary] [28/28] Installing sdl2-2.32.8...
- [rosemary] [28/28] Extracting sdl2-2.32.8: .......... done
- =====
- Message from libinotify-20240724_1:
- 
- --
- You might want to consider increasing the kern.maxfiles tunable if you plan
- to use this library for applications that need to monitor activity of a lot
- of files.
- =====
- Message from wayland-1.23.1_1:
- 
- --
- Wayland requires XDG_RUNTIME_DIR to be defined to a path that will
- contain "wayland-%d" unix(4) sockets. This is usually handled by
- consolekit2 (via ck-launch-session) or pam_xdg (via login).
- =====
- Message from libxkbcommon-1.8.1_3:
- 
- --
- If arrow keys don't work under X11 switch to legacy rules e.g.,
- 
- For sh/bash/ksh/zsh run and (optionally) add into ~/.profile:
-   export XKB_DEFAULT_RULES=xorg
- 
- For csh/tcsh run and (optionally) add into ~/.login:
-   setenv XKB_DEFAULT_RULES xorg
- =====
- Message from vulkan-loader-1.4.319:
- 
- --
- ===>   NOTICE:
- 
- The vulkan-loader port currently does not have a maintainer. As a result, it is
- more likely to have unresolved issues, not be up-to-date, or even be removed in
- the future. To volunteer to maintain this port, please create an issue at:
- 
- https://bugs.freebsd.org/bugzilla
- 
- More information about port maintainership is available at:
- 
- https://docs.freebsd.org/en/articles/contributing/#ports-contributing
2025-09-23 07:25.43 ---> saved as "86ffee64cf3a97c8724141d135ff726464da9e9c699732a24c9bcef68a7475cc"


/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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 15 packages
 bigarray-compat   1.1.0
 conf-libffi       2.0.0
 conf-pkg-config   4
 conf-sdl2         1
 csexp             1.5.2
 ctypes            0.23.0
 ctypes-foreign    0.23.0
 dune              3.20.2
 dune-configurator 3.20.2
 integers          0.7.0
 ocamlbuild        0.16.1
 ocamlfind         1.9.8
 stdlib-shims      0.3.0
 topkg             1.1.0
 tsdl              1.1.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 installed conf-pkg-config.4
 retrieved ctypes.0.23.0, ctypes-foreign.0.23.0  (cached)
 installed conf-sdl2.1
 installed conf-libffi.2.0.0
 retrieved csexp.1.5.2  (cached)
 retrieved bigarray-compat.1.1.0  (cached)
 retrieved integers.0.7.0  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved ocamlbuild.0.16.1  (cached)
 retrieved tsdl.1.1.0  (cached)
 retrieved topkg.1.1.0  (cached)
 retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
 installed ocamlbuild.0.16.1
 installed ocamlfind.1.9.8
 installed topkg.1.1.0
 installed dune.3.20.2
 installed bigarray-compat.1.1.0
 installed stdlib-shims.0.3.0
 installed csexp.1.5.2
 installed integers.0.7.0
 installed dune-configurator.3.20.2
[ERROR] The compilation of ctypes.0.23.0 failed at "dune build -p ctypes -j 39 --promote-install-files=false @install".


#=== ERROR while compiling ctypes.0.23.0 ======================================#
# context     2.4.1 | freebsd/x86_64 | ocaml-base-compiler.5.3.0 | git+file:///home/opam/opam-repository
# path        ~/.opam/5.3.0/.opam-switch/build/ctypes.0.23.0
# command     ~/.opam/5.3.0/bin/dune build -p ctypes -j 39 --promote-install-files=false @install
# exit-code   1
# env-file    ~/.opam/log/ctypes-39176-764bbc.env
# output-file ~/.opam/log/ctypes-39176-764bbc.out
### output ###
# File "src/ctypes/dune", line 37, characters 3-15:
# 37 |    ctypes_roots
#         ^^^^^^^^^^^^
# Error: Error trying to read targets after a rule was run:
# - src/ctypes/ctypes_roots.o: chmod(_build/default/src/ctypes/ctypes_roots.o): Bad file descriptor


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
λ build ctypes 0.23.0
└─ 
┌─ The following changes have been performed (the rest was aborted)
 install bigarray-compat   1.1.0
 install conf-libffi       2.0.0
 install conf-pkg-config   4
 install conf-sdl2         1
 install csexp             1.5.2
 install dune              3.20.2
 install dune-configurator 3.20.2
 install integers          0.7.0
 install ocamlbuild        0.16.1
 install ocamlfind         1.9.8
 install stdlib-shims      0.3.0
 install topkg             1.1.0
└─ 


The former state can be restored with:
/usr/local/bin/opam switch import "/home/opam/.opam/5.3.0/.opam-switch/backup/state-20250923072543.export"
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.1.0 tsdl.1.1.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS': failed
"jail" "-c" "name=obuilder_853_11152" "mount.fstab=/tmp/obuilder-jail-8b363f/fstab" "mount.devfs" "path=/obuilder/result/6f7138918885a8065e9cd78d22667e6fc90d76c36ad60218f01f3c7c64513bdf/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.1.0 tsdl.1.1.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS'" failed with exit status 1
2025-09-23 08:18.57: Job failed: Failed: Build failed