Organisationssanettegl-legacyd14c8c ()freebsd-14.2-4.14_opam-2.4

freebsd-14.2-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-23 11:35.28: New job: test sanette/gl-legacy https://github.com/sanette/gl-legacy.git#refs/heads/main (d14c8c6f39f24d49ee28b2f2d1f56a2a162d6419) (freebsd-x86_64:freebsd-14.2-4.14_opam-2.4)
Base: freebsd-14.2-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sanette/gl-legacy.git" -b "main" && cd "gl-legacy" && git reset --hard d14c8c6f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.2-ocaml-4.14
# freebsd-14.2-4.14_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-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-libgl.1 conf-pkg-config.4 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.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 11:35.28: Using cache hint "sanette/gl-legacy-freebsd-14.2-ocaml-4.14-freebsd-14.2-4.14_opam-2.4-1e5b54532dffdd3ebc07ff5eac4a4e93"
2025-09-23 11:35.28: Using OBuilder spec:
((from freebsd-14.2-ocaml-4.14)
(comment freebsd-14.2-4.14_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-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-libgl.1 conf-pkg-config.4 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.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 11:35.28: Waiting for resource in pool OCluster
2025-09-23 11:35.28: Waiting for worker…
2025-09-23 11:35.28: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at d14c8c6 another test


(from freebsd-14.2-ocaml-4.14)
2025-09-23 11:34.22 ---> using "e232d73c9161ea3ff94ff4ae2b5a6983da9a9ca98d5185b2db1dbadeae5228e2" from cache


/: (comment freebsd-14.2-4.14_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 11:34.22 ---> using "ab3b72ff1bef5200ab51bf41b5ce466d603a607c082bc77b8cb9a89bd0ee8e2b" 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 11:34.23 ---> using "4f5272944a297469599fadae70be6af0a741315c350ad35dc552c1741ce274b4" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-23 11:34.23 ---> using "3a9f22eefbfbdecb5fa973f708084041cdbe652271a081208757b5e926d582b0" 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


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.3.0
- ocaml-config.3
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.
2025-09-23 11:34.23 ---> using "7725261d76654d1dd37a3cb5fdf4f69d667ba527d60d14c45d86c8dd0154d0d1" from cache


/src: (copy (src gl-legacy.opam) (dst ./))
2025-09-23 11:34.24 ---> saved as "fe6c0fa160dfcf62dadd7eeffdda8dcf1f70350db68f14024eeed8f3b22c9068"


/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 11:34.25 ---> saved as "dc88abfa2bd1eb80deb2cb771a75eaad0293c4da1cbcdd891e92df46d0e465a7"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-23 11:34.25 ---> saved as "3b283babd9e86abf679d4365cf774af6e072d9fe02137b807f72887e583bca52"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-libgl.1 conf-pkg-config.4 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.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 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 system packages will first need to be installed:
libglvnd


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


+ /usr/local/bin/sudo "pkg" "install" "-y" "libglvnd"
- Updating FreeBSD repository catalogue...
- [rosemary] Fetching data.pkg: ...
- .
- .
- .
- .
- .
- .
- . done
- Processing entries: .
- ..
- ...
- ..
- .. done
- FreeBSD repository update completed. 35657 packages processed.
- All repositories are up to date.
- The following 7 package(s) will be affected (of 0 checked):
- 
- New packages to be INSTALLED:
- 	libX11: 1.8.12,1
- 	libXau: 1.0.12
- 	libXdmcp: 1.1.5
- 	libXext: 1.3.6,1
- 	libglvnd: 1.7.0
- 	libxcb: 1.17.0
- 	xorgproto: 2024.1
- 
- Number of packages to be installed: 7
- 
- The process will require 16 MiB more space.
- 3 MiB to be downloaded.
- [rosemary] [1/7] Fetching libXau-1.0.12.pkg: . done
- [rosemary] [2/7] Fetching libxcb-1.17.0.pkg: .......... done
- [rosemary] [3/7] Fetching libglvnd-1.7.0.pkg: .......... done
- [rosemary] [4/7] Fetching libX11-1.8.12,1.pkg: ........
- .. done
- [rosemary] [5/7] Fetching xorgproto-2024.1.pkg: ......... done
- [rosemary] [6/7] Fetching libXdmcp-1.1.5.pkg: . done
- [rosemary] [7/7] Fetching libXext-1.3.6,1.pkg: ...... done
- Checking integrity... done (0 conflicting)
- [rosemary] [1/7] Installing libXau-1.0.12...
- [rosemary] [1/7] Extracting libXau-1.0.12: .......... done
- [rosemary] [2/7] Installing xorgproto-2024.1...
- [rosemary] [2/7] Extracting xorgproto-2024.1: .......... done
- [rosemary] [3/7] Installing libXdmcp-1.1.5...
- [rosemary] [3/7] Extracting libXdmcp-1.1.5: ......... done
- [rosemary] [4/7] Installing libxcb-1.17.0...
- [rosemary] [4/7] Extracting libxcb-1.17.0: .......... done
- [rosemary] [5/7] Installing libX11-1.8.12,1...
- [rosemary] [5/7] Extracting libX11-1.8.12,1: .......
- ... done
- [rosemary] [6/7] Installing libXext-1.3.6,1...
- [rosemary] [6/7] Extracting libXext-1.3.6,1: .......... done
- [rosemary] [7/7] Installing libglvnd-1.7.0...
- [rosemary] [7/7] Extracting libglvnd-1.7.0: .......... done
2025-09-23 11:35.01 ---> saved as "ca057e2e599991cff2afc7ea3b555fedea552fb3b929112b1ffad61d552276ed"


/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 11 packages
 bigarray-compat   1.1.0
 conf-libffi       2.0.0
 conf-libgl        1
 conf-pkg-config   4
 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
 stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 installed conf-pkg-config.4
 retrieved ctypes.0.23.0, ctypes-foreign.0.23.0  (cached)
 installed conf-libgl.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 stdlib-shims.0.3.0  (cached)
 retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
 installed dune.3.20.2
 installed stdlib-shims.0.3.0
 installed bigarray-compat.1.1.0
 installed csexp.1.5.2
 installed integers.0.7.0
 installed dune-configurator.3.20.2
 installed ctypes.0.23.0
 installed ctypes-foreign.0.23.0
Done.
2025-09-23 11:35.44 ---> saved as "2bf154657ed1314d1420b7a459f1f08a4b3f1f669b0b2b2531a8655097cf9cd4"


/src: (copy (src .) (dst /src))
2025-09-23 11:35.44 ---> saved as "a6787c71f6b470c008463f5bd1bdf2cd3d4ef261079cd64cb294e178441926e1"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-09-23 11:35.45 ---> saved as "0025d5dad65252625bdd5f5826b1c9c13cd0de5743194da7f47426ddf0559b7e"
Job succeeded
2025-09-23 11:36.53: Job succeeded