2026-04-11 22:19.15: New job: build tsdl-ttf.0.7, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29648/head (449adcfdf5ef58e2fc4ba6677d61df4b5bfe4c2f)
on opensuse-tumbleweed-ocaml-4.14/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29648/head" && git reset --hard 449adcfd
git fetch origin master
git merge --no-edit c18adeb75d158d5999645fdf3e6e1503c882cdc3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:94d29e6f6c8f9abd391f1907d7e0f9bc245a8cba6e72f9919f147a5e3e5c2bdb
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn tsdl-ttf.0.7 0.7
RUN opam reinstall tsdl-ttf.0.7; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"opensuse-tumbleweed\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'tsdl-ttf.0.7' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-04-11 22:19.15: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:94d29e6f6c8f9abd391f1907d7e0f9bc245a8cba6e72f9919f147a5e3e5c2bdb-tsdl-ttf.0.7-449adcfdf5ef58e2fc4ba6677d61df4b5bfe4c2f"
2026-04-11 22:19.15: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:94d29e6f6c8f9abd391f1907d7e0f9bc245a8cba6e72f9919f147a5e3e5c2bdb)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn tsdl-ttf.0.7 0.7"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tsdl-ttf.0.7;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'tsdl-ttf.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-11 22:19.15: Waiting for resource in pool OCluster
2026-04-11 22:19.15: Waiting for worker…
2026-04-11 22:19.15: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at c18adeb75d Merge pull request #29698 from daysv/release-sm-0.1.1
Merge made by the 'ort' strategy.
packages/tsdl-ttf/tsdl-ttf.0.7/opam | 42 +++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 packages/tsdl-ttf/tsdl-ttf.0.7/opam
(from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:94d29e6f6c8f9abd391f1907d7e0f9bc245a8cba6e72f9919f147a5e3e5c2bdb)
2026-04-11 22:19.53 ---> saved as "a472725830a8d9d64a54db751a4cccb006035dde2281fda46e152bcf69b0f0e6"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-11 22:19.53 ---> saved as "9e5dadc4152b98c71763a00f6585fb54a2ba90bc0b339d0574260967f5a9ac94"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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 71 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=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-04-11 22:20.12 ---> saved as "56591135542c6387b081e2548cd671a16964b112a9cfbff7543d2011a6c6be67"
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=opensuse-tumbleweed os-version=20260331
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 2 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.3
2026-04-11 22:20.12 ---> saved as "381a6c919b5892c77b30baf0a08ba342779aaf21f351d20fe0d11c5ef7bc71f5"
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-04-11 22:20.20 ---> saved as "6cdc168a83deb1f65e8b44a5db1b0d9132c5db1dcd39b006f2d33c7ff3b02648"
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 22:20.25 ---> saved as "e9d7894aa7171b788aac82c56c7aa188b3826eb9cd93d10c10c70dded6fc15d3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 22:20.41 ---> saved as "658aa0e049c2236145e1fe89c370e11f1d39b8fb97275999c6893a077a7223ed"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [...
- Looking for gpg keys in repository openSUSE-Tumbleweed-Non-Oss.
- gpgkey=http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key
- .
- ......done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [.
- ..
- Looking for gpg keys in repository openSUSE-Tumbleweed-Oss.
- gpgkey=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key
- ..........
- ..........
- done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2026-04-11 22:20.49 ---> saved as "fe5cc675f09440de254ae1ef768d5683add02cf43cfa627a368b0e323be4624e"
/home/opam: (run (shell "opam pin add -k version -yn tsdl-ttf.0.7 0.7"))
tsdl-ttf is now pinned to version 0.7
2026-04-11 22:20.49 ---> saved as "cf92be976505ac28825dba9f186410262fade560428183bacf69804cbfdc0fe7"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tsdl-ttf.0.7;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'tsdl-ttf.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
tsdl-ttf.0.7 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 16 packages
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install conf-pkg-config 4 [required by conf-sdl2-ttf, ctypes-foreign]
- install conf-sdl2 1 [required by tsdl]
- install conf-sdl2-ttf 1 [required by tsdl-ttf]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by tsdl-ttf]
- install ctypes-foreign 0.24.0 [required by tsdl-ttf]
- install dune 3.22.1 [required by tsdl-ttf]
- install dune-configurator 3.22.1 [required by ctypes, ctypes-foreign]
- install integers 0.7.0 [required by ctypes]
- install ocamlbuild 0.16.1 [required by tsdl]
- install ocamlfind 1.9.8 [required by tsdl]
- install stdlib-shims 0.3.0 [required by integers]
- install topkg 1.1.1 [required by tsdl]
- install tsdl 1.1.0 [required by tsdl-ttf]
- install tsdl-ttf 0.7 (pinned)
The following system packages will first need to be installed:
libffi-devel libSDL2-devel SDL2_ttf-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run zypper to install them (may need root/sudo access)
2. Display the recommended zypper command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "zypper" "--non-interactive" "install" "libffi-devel" "libSDL2-devel" "SDL2_ttf-devel"
- Loading repository data...
- Reading installed packages...
- 'libSDL2-devel' not found in package names. Trying capabilities.
- No provider of 'libSDL2-devel' found.
[ERROR] System package install failed with exit code 104 at command:
sudo zypper --non-interactive install libffi-devel libSDL2-devel SDL2_ttf-devel
[ERROR] These packages are still missing: libffi-devel libSDL2-devel SDL2_ttf-devel
[NOTE] You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages.
"/usr/bin/env" "bash" "-c" "opam reinstall tsdl-ttf.0.7;
res=$?;
test "$res" != 31 && exit "$res";
export OPAMCLI=2.0;
build_dir=$(opam var prefix)/.opam-switch/build;
failed=$(ls "$build_dir");
partial_fails="";
for pkg in $failed; do
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"opensuse-tumbleweed\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'tsdl-ttf.0.7' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 10
2026-04-11 22:20.56: Job failed: Failed: Build failed
2026-04-11 22:20.56: Log analysis:
2026-04-11 22:20.56: >>>
[ERROR] System package install failed with exit code 104 at command:
(score = 20)
2026-04-11 22:20.56: >>>
[ERROR] These packages are still missing: libffi-devel libSDL2-devel SDL2_ttf-devel
(score = 20)
2026-04-11 22:20.56: System package install failed with exit code 104 at command: