(for PR #29202)
2026-01-14 00:57.59: New job: build conf-dwarfutils.1, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/29202/head (4f48a01f4520ed3840d1d67ec392d24869f36ff1)
on debian-13-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/29202/head" && git reset --hard 4f48a01f
git fetch origin master
git merge --no-edit df0b753b90c59d2c65314c8e4154cd110d69be87
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn conf-dwarfutils.1 1
RUN opam depext conf-dwarfutils.1 && opam reinstall conf-dwarfutils.1; \
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 "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-dwarfutils.1' && 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-01-14 00:57.59: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa-conf-dwarfutils.1-4f48a01f4520ed3840d1d67ec392d24869f36ff1"
2026-01-14 00:57.59: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn conf-dwarfutils.1 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext conf-dwarfutils.1 && opam reinstall conf-dwarfutils.1;\
\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 \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-dwarfutils.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-01-14 00:57.59: Waiting for resource in pool OCluster
2026-01-14 00:57.59: Waiting for worker…
2026-01-14 00:59.41: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at df0b753b90 Merge pull request #29180 from dx3mod/master
Merge made by the 'ort' strategy.
packages/conf-dwarfutils/conf-dwarfutils.1/opam | 27 +++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 packages/conf-dwarfutils/conf-dwarfutils.1/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
2026-01-14 00:59.42 ---> using "2ecda48447fc68e8dcd256d2898af0a11126a077e05d747a0dcdff2845100de1" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2026-01-14 00:59.42 ---> saved as "99b163706e7e6628ce4681ccc0dea56eeaf58a434f496c41c322452e7ceb2a3b"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2026-01-14 01:00.54 ---> saved as "8fe203bf468d515cce1c9a1d15ab996accf0c84984f917a9b4983f63ac8357b5"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
2026-01-14 01:00.55 ---> saved as "ad187da8cd269029e708b4704e922579b01c28e7f771ce9281c1a4e90dbc77f8"
/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-01-14 01:01.02 ---> saved as "f20e282415be2318e100f26aa84be6980c306c3ec8ca2d907d888f7154d7c073"
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-14 01:01.28 ---> saved as "52cfcece7d023c7127ec6df38e4200083116eb64cb2a38a924efb042c2fe5e0f"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2026-01-14 01:01.44 ---> saved as "d90012d9f7116cabb0c7d0bc33987a25689c5d92046004ca16202528d86384a8"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
apt-get update
Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [95.5 kB]
Fetched 9997 kB in 2s (5594 kB/s)
Reading package lists...
# OS package update successful
2026-01-14 01:01.50 ---> saved as "03b2db0f92828b6cdc386a1f881257eb8f743f63d0ba43d5811ea69837cc37b5"
/home/opam: (run (shell "opam pin add -k version -yn conf-dwarfutils.1 1"))
conf-dwarfutils is now pinned to version 1
2026-01-14 01:01.51 ---> saved as "b039d2565f1672ee56828bf3b81be1ef6eed210b37f32b9015ed14d305137b9f"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext conf-dwarfutils.1 && opam reinstall conf-dwarfutils.1;\
\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 \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-dwarfutils.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
dwarfdump
libdwarf-dev
libdwarf1
pkg-config
The following command needs to be run through "sudo":
apt-get install -qq -yy dwarfdump libdwarf-dev libdwarf1 pkg-config
Selecting previously unselected package libdwarf1: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 ... 20622 files and directories currently installed.)
Preparing to unpack .../0-libdwarf1_1%3a0.11.1-1_amd64.deb ...
Unpacking libdwarf1:amd64 (1:0.11.1-1) ...
Selecting previously unselected package dwarfdump.
Preparing to unpack .../1-dwarfdump_1%3a0.11.1-1_amd64.deb ...
Unpacking dwarfdump (1:0.11.1-1) ...
Selecting previously unselected package libdwarf-dev:amd64.
Preparing to unpack .../2-libdwarf-dev_1%3a0.11.1-1_amd64.deb ...
Unpacking libdwarf-dev:amd64 (1:0.11.1-1) ...
Selecting previously unselected package libpkgconf3:amd64.
Preparing to unpack .../3-libpkgconf3_1.8.1-4_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-4) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../4-pkgconf-bin_1.8.1-4_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-4) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../5-pkgconf_1.8.1-4_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-4) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../6-pkg-config_1.8.1-4_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-4) ...
Setting up libdwarf1:amd64 (1:0.11.1-1) ...
Setting up libpkgconf3:amd64 (1.8.1-4) ...
Setting up pkgconf-bin (1.8.1-4) ...
Setting up libdwarf-dev:amd64 (1:0.11.1-1) ...
Setting up dwarfdump (1:0.11.1-1) ...
Setting up pkgconf:amd64 (1.8.1-4) ...
Setting up pkg-config:amd64 (1.8.1-4) ...
Processing triggers for libc-bin (2.41-12) ...
# OS packages installation successful
conf-dwarfutils.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install conf-pkg-config 4 [required by conf-dwarfutils]
- install conf-dwarfutils 1*
===== 2 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
[ERROR] The compilation of conf-dwarfutils failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build pkg-config --print-errors --exists libdwarf".
#=== ERROR while compiling conf-dwarfutils.1 ==================================#
# context 2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.2 | pinned
# path ~/.opam/4.14/.opam-switch/build/conf-dwarfutils.1
# command ~/.opam/opam-init/hooks/sandbox.sh build pkg-config --print-errors --exists libdwarf
# exit-code 1
# env-file ~/.opam/log/conf-dwarfutils-170-7afd23.env
# output-file ~/.opam/log/conf-dwarfutils-170-7afd23.out
### output ###
# Package zlib was not found in the pkg-config search path.
# Perhaps you should add the directory containing `zlib.pc'
# to the PKG_CONFIG_PATH environment variable
# Package 'zlib', required by 'libdwarf', not found
# Package 'libzstd', required by 'libdwarf', not found
The former state can be restored with:
opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260114010205.export"
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-dwarfutils 1
+-
+- The following changes have been performed
| - install conf-pkg-config 4
+-
The packages you requested declare the following system dependencies. Please make sure they are installed before retrying:
dwarfdump libdwarf-dev libdwarf1
# Run eval $(opam env) to update the current shell environment
"/usr/bin/env" "bash" "-c" "opam depext conf-dwarfutils.1 && opam reinstall conf-dwarfutils.1;
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 "\"debian-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'conf-dwarfutils.1' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2026-01-14 01:02.33: Job failed: Failed: Build failed
2026-01-14 01:02.33: Log analysis:
2026-01-14 01:02.33: >>>
[ERROR] The compilation of conf-dwarfutils failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build pkg-config --print-errors --exists libdwarf".
(score = 20)
2026-01-14 01:02.33: The compilation of conf-dwarfutils failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build pkg-config --print-errors --exists libdwarf".