Organisationssanettegl-legacye87e7c ()ubuntu-25.04-5.3_opam-2.4

ubuntu-25.04-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-22 20:39.05: New job: test sanette/gl-legacy https://github.com/sanette/gl-legacy.git#refs/heads/main (e87e7ce36a4797ff98edacd1326af37d5722bda5) (linux-x86_64:ubuntu-25.04-5.3_opam-2.4)
Base: ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sanette/gl-legacy.git" -b "main" && cd "gl-legacy" && git reset --hard e87e7ce3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa
# ubuntu-25.04-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /usr/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 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 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-22 20:39.05: Using cache hint "sanette/gl-legacy-ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa-ubuntu-25.04-5.3_opam-2.4-b38fc5a688352a8aa7d0afb848d394ad"
2025-09-22 20:39.05: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa)
(comment ubuntu-25.04-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/bin/opam-2.4 /usr/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 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 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-22 20:39.05: Waiting for resource in pool OCluster
2025-09-22 20:39.05: Waiting for worker…
2025-09-22 20:39.05: Got resource from pool OCluster
Building on clete.caelum.ci.dev
HEAD is now at 195847e first commit
HEAD is now at e87e7ce add image


(from ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa)
2025-09-22 20:39.06 ---> using "c3ee7f5e63b70919500d258da19dc2a26a9d2a3322400aba0faf0794e71d3b11" from cache


/: (comment ubuntu-25.04-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/bin/opam-2.4 /usr/bin/opam"))
2025-09-22 20:39.06 ---> using "d72b73b45f832c50a2cf4dc93a91a7617a3648a100ae53af2f03d565cab85ae3" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-22 20:39.06 ---> using "115a8a6896933f161cea20a704b467023775d010f013205baf0f4718b397652c" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-83-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-22 20:39.06 ---> using "6507644d2cc8fe5b03b3522f3b022ec798bfcce5a39a33e3cd65d975d879a59d" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-22 20:39.06 ---> using "87eca05bd0691f2c9c4a494fcfad57c47a637158582b862804bbf7cc6f1e071c" 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
854fc71d55..3f21ebe342  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.
# To update the current shell environment, run: eval $(opam env)
2025-09-22 20:39.06 ---> using "332b6342a9a6760b461e194c442231407b4401be6ee0ce0fa1ecf9b95f1f5dab" from cache


/src: (copy (src gl-legacy.opam) (dst ./))
2025-09-22 20:39.06 ---> using "ec6763b3fc3a1d200a85bb05f6a2bdcf12ae99c4ced951408c8c81b475e9d453" from cache


/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-22 20:39.06 ---> using "7063b2b0a33ac1e0674ff249e98a97895d233ef418358f271be87f063ab910ef" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-22 20:39.06 ---> using "48f39d4308947564fb88f92357317531c509b7ededd7d00066215fa04a5f1c95" from cache


/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 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 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"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [268 kB]
- Get:5 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [435 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Packages [30.8 kB]
- Get:7 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [304 kB]
- Get:8 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:9 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [253 kB]
- Get:10 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [151 kB]
- Get:11 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [270 kB]
- Get:12 http://security.ubuntu.com/ubuntu plucky-security/multiverse amd64 Packages [30.6 kB]
- Fetched 2121 kB in 1s (2660 kB/s)
- Reading package lists...
- 


<><> 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:
libffi-dev pkg-config


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


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config"
- Selecting previously unselected package libpkgconf3:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16533 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Selecting previously unselected package libffi-dev:amd64.
- Preparing to unpack .../libffi-dev_3.4.7-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.7-1) ...
- Setting up libffi-dev:amd64 (3.4.7-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-6ubuntu1.1) ...
2025-09-22 20:39.06 ---> using "1817ca1f2d975454cdbb75205c1d52854b6808d49e91e4df5d0ea29382f7bfc7" 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 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 10 packages
- install bigarray-compat   1.1.0
- install conf-libffi       2.0.0
- install conf-pkg-config   4
- install csexp             1.5.2
- install ctypes            0.23.0
- install ctypes-foreign    0.23.0
- install dune              3.20.2
- install dune-configurator 3.20.2
- install integers          0.7.0
- install stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0  (cached)
-> installed conf-pkg-config.4
-> retrieved integers.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed conf-libffi.2.0.0
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.23.0
-> installed ctypes-foreign.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-22 20:39.06 ---> using "545f86080e709685d815e1c76744cdda7c5a6ebf15f925dc0c03bf4d39071878" from cache


/src: (copy (src .) (dst /src))
2025-09-22 20:39.06 ---> saved as "94ff8172b62d6181ad0c061f3ede71b2133b374e22d03dda5d0ef48ff1178c81"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "bin/dune", line 3, characters 17-21:
3 |  (libraries tsdl tgls gl_legacy))
^^^^
Error: Library "tgls" not found.
-> required by _build/default/bin/.example.eobjs/byte/dune__exe__Example.cmi
-> required by alias bin/check
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-22 20:39.06: Job failed: Failed: Build failed