Organisationssanettegl-legacy0d955c ()fedora-41-4.14_opam-2.4

fedora-41-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-23 07:16.32: New job: test sanette/gl-legacy https://github.com/sanette/gl-legacy.git#refs/heads/main (0d955c2a5acf39946f7cd93f83b6479802be9613) (linux-x86_64:fedora-41-4.14_opam-2.4)
Base: ocaml/opam:fedora-41-ocaml-4.14@sha256:4f9df9250fac02cf5af6a01abc888e82e1fe046d02e830646bc7d896664dee4e
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sanette/gl-legacy.git" -b "main" && cd "gl-legacy" && git reset --hard 0d955c2a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:4f9df9250fac02cf5af6a01abc888e82e1fe046d02e830646bc7d896664dee4e
# fedora-41-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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-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.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 07:16.32: Using cache hint "sanette/gl-legacy-ocaml/opam:fedora-41-ocaml-4.14@sha256:4f9df9250fac02cf5af6a01abc888e82e1fe046d02e830646bc7d896664dee4e-fedora-41-4.14_opam-2.4-25d8cbc5254175ee42dae3c604a11d51"
2025-09-23 07:16.32: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:4f9df9250fac02cf5af6a01abc888e82e1fe046d02e830646bc7d896664dee4e)
(comment fedora-41-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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-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.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 07:16.32: Waiting for resource in pool OCluster
2025-09-23 07:16.32: Waiting for worker…
2025-09-23 07:16.32: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 0d955c2 add devopts


(from ocaml/opam:fedora-41-ocaml-4.14@sha256:4f9df9250fac02cf5af6a01abc888e82e1fe046d02e830646bc7d896664dee4e)
2025-09-23 07:16.33 ---> using "b9924c044203762b86b9766d6c96fe26a9f85b813cb7fc4f9261da43d5659348" from cache


/: (comment fedora-41-4.14_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 41 - x86_64 - Updates           100% |  32.5 KiB/s |  18.2 KiB |  00m01s
Fedora 41 - x86_64                     100% | 102.6 KiB/s |  25.3 KiB |  00m00s
Fedora 41 openh264 (From Cisco) - x86_ 100% |   7.4 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.


Nothing to do.
2025-09-23 07:16.33 ---> using "98851a22e1b18f653c1f652f7b67ca88393410072a06e616a731a1f0b5f6675a" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-23 07:16.33 ---> using "57309c72f8d24d47b7f08f7b05781f1b485118335e3ace5251828dfc1c87bf0d" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-23 07:16.33 ---> using "8ee7203b7e8621b4b1917c031c7680bd1411f275fe3ad19a7bdf095c1019fa99" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-23 07:16.33 ---> using "ded5be49b72d72a638c9d770e7ec89fd7f08d4bd92c4dbcd1405f2924383ca15" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-23 07:16.33 ---> using "ac0324736c8b3d14da4081b450177aa822436fbdfd981d02f84b7c5884d8cf48" 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
b3b872a94f..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


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-23 07:16.33 ---> using "d545b0f99b6ecd952ef8e9006d4ca2a0d51d94b4beada61eeb88ba55c714c956" from cache


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


/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:16.34 ---> saved as "56a26722bfa2fe0732f7cc24f580eeb69f29b76c0d5f5f052769007a6d880773"


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


/src: (env DEPS "base-bigarray.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.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"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 41 - x86_64 - Updates           100% |  29.2 KiB/s |  12.2 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.


<><> 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:
libffi-devel


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


+ /usr/bin/sudo "yum" "install" "-y" "libffi-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package       Arch   Version      Repository      Size
- Installing:
-  libffi-devel x86_64 3.4.6-3.fc41 fedora      33.1 KiB
- 
- Transaction Summary:
-  Installing:         1 package
- 
- Total size of inbound packages is 29 KiB. Need to download 29 KiB.
- After this operation, 33 KiB extra will be used (install 33 KiB, remove 0 B).
- [1/1] libffi-devel-0:3.4.6-3.fc41.x86_6 100% | 109.4 KiB/s |  28.8 KiB |  00m00s
- --------------------------------------------------------------------------------
- [1/1] Total                             100% |  73.4 KiB/s |  28.8 KiB |  00m00s
- Running transaction
- [1/3] Verify package files              100% |   0.0   B/s |   1.0   B |  00m00s
- [2/3] Prepare transaction               100% |  40.0   B/s |   1.0   B |  00m00s
- [3/3] Installing libffi-devel-0:3.4.6-3 100% | 644.3 KiB/s |  34.8 KiB |  00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "libffi-devel"
- libffi-devel-3.4.6-3.fc41.x86_64
2025-09-23 07:16.49 ---> saved as "83579419ca845c8cb76c93f0bdced78481b4ed329944c17636ffc8ddff1cb8da"


/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 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 stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.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-23 07:17.31 ---> saved as "942d6068907eb51490b474607eb7370585b61ca324fbe9d9ef1c147ff0a85572"


/src: (copy (src .) (dst /src))
2025-09-23 07:17.32 ---> saved as "63faec2ff41f79feb55291db332181dc1f7a6934371e491dc563eee347f9edcf"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "bin/dune", line 3, characters 12-16:
3 |  (libraries tsdl gl_legacy))
^^^^
Error: Library "tsdl" not found.
-> required by _build/default/bin/example.exe
-> required by alias bin/runtest-example in bin/dune:2
-> required by alias bin/runtest
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-23 07:17.32: Job failed: Failed: Build failed