- github
- ocaml
- opam-repository
- 20c5f5
- distributions,fedora-41-ocaml-5.3,conf-protoc.6.2.0
(not at the head of any monitored branch or PR)
2025-08-28 19:41.11: New job: build conf-protoc.6.2.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28412/head (20c5f5682f4cbf3fd87881cf101e0a2484e6f0f5)
on fedora-41-ocaml-5.3/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/28412/head" && git reset --hard 20c5f568
git fetch origin master
git merge --no-edit f2cd184cfc6f3b25d3bda0873beb3e8b254806ec
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 conf-protoc.6.2.0 6.2.0
RUN opam reinstall conf-protoc.6.2.0; \
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 "\"fedora-41\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-protoc.6.2.0' && 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 .
2025-08-28 19:41.11: Using cache hint "ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c-conf-protoc.6.2.0-20c5f5682f4cbf3fd87881cf101e0a2484e6f0f5"
2025-08-28 19:41.11: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 conf-protoc.6.2.0 6.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-protoc.6.2.0;\
\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 \"\\\"fedora-41\\\"\"; 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-protoc.6.2.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-08-28 19:41.11: Waiting for resource in pool OCluster
2025-08-28 19:41.12: Waiting for worker…
2025-08-28 19:41.14: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files: 97% (17773/18136)
Updating files: 98% (17774/18136)
Updating files: 99% (17955/18136)
Updating files: 100% (18136/18136)
Updating files: 100% (18136/18136), done.
HEAD is now at f2cd184cfc Merge pull request #28399 from filipeom/opam-publish-smtml.0.10.0
Updating f2cd184cfc..20c5f5682f
Fast-forward
.../conf-protoc-dev/conf-protoc-dev.6.2.0/opam | 46 ++++++++++++++++
packages/conf-protoc/conf-protoc.6.2.0/opam | 43 +++++++++++++++
.../ocaml-protoc-plugin.6.2.0/opam | 64 ++++++++++++++++++++++
3 files changed, 153 insertions(+)
create mode 100644 packages/conf-protoc-dev/conf-protoc-dev.6.2.0/opam
create mode 100644 packages/conf-protoc/conf-protoc.6.2.0/opam
create mode 100644 packages/ocaml-protoc-plugin/ocaml-protoc-plugin.6.2.0/opam
(from ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c)
2025-08-28 19:42.35 ---> saved as "77932ed08d0a913a0be50df49d164ac702f06db62378e7fc2fe69b435778c931"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-28 19:42.36 ---> saved as "5ffd5f9ee5f47974240da7cee9519782c556793a68cbeebd594ece12056cb9ac"
/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 development 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-08-28 19:43.03 ---> saved as "e64174eb107e580374c5da891e9d09fcf455fa4cc77bd3e89c649d302e3a3c4d"
/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=fedora os-version=41
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-08-28 19:43.05 ---> saved as "022c87c46b21599200a19f75fabc9ac6956e4a0f5b03a3024604607d8215f909"
/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/"))
2025-08-28 19:43.15 ---> saved as "bcbea56b4f11b027a3decf07ada8f7d2a6daa769589708178d403c1ea84850db"
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-28 19:43.23 ---> saved as "8b2ba45f8248578859d456cec5ed6c754acf0d994033552d87ffa5b648c0a64e"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-28 19:43.46 ---> saved as "3c3389f14a98a229f01f31122ee9a46bce3df29477d6614459b4299f8a9fac69"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 41 - x86_64 - Updates 100% | 99.0 KiB/s | 24.7 KiB | 00m00s
- Fedora 41 - x86_64 100% | 164.6 KiB/s | 26.0 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
2025-08-28 19:43.52 ---> saved as "f6e298c8e6abb7e88c2f4346aaadc392283281176f97fd948378e7f389b22702"
/home/opam: (run (shell "opam pin add -k version -yn conf-protoc.6.2.0 6.2.0"))
conf-protoc is now pinned to version 6.2.0
2025-08-28 19:43.53 ---> saved as "7bc24f4b523badadee145f824d9ed4b31ea58906eeeafd78e647ae9973bc63eb"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-protoc.6.2.0;\
\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 \"\\\"fedora-41\\\"\"; 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-protoc.6.2.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
conf-protoc.6.2.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
- install conf-protoc 6.2.0 (pinned)
The following system packages will first need to be installed:
protobuf-compiler protobuf-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
2. Display the recommended yum 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 "yum" "install" "-y" "protobuf-compiler" "protobuf-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- protobuf-compiler x86_64 3.19.6-10.fc41 fedora 2.5 MiB
- protobuf-devel x86_64 3.19.6-10.fc41 fedora 2.7 MiB
- Installing dependencies:
- cmake-filesystem x86_64 3.30.8-1.fc41 updates 0.0 B
- protobuf x86_64 3.19.6-10.fc41 fedora 3.3 MiB
- zlib-ng-compat-devel x86_64 2.2.3-2.fc41 updates 107.0 KiB
-
- Transaction Summary:
- Installing: 5 packages
-
- Total size of inbound packages is 2 MiB. Need to download 2 MiB.
- After this operation, 9 MiB extra will be used (install 9 MiB, remove 0 B).
- [1/5] protobuf-devel-0:3.19.6-10.fc41.x 100% | 5.2 MiB/s | 389.8 KiB | 00m00s
- [2/5] zlib-ng-compat-devel-0:2.2.3-2.fc 100% | 7.5 MiB/s | 38.3 KiB | 00m00s
- [3/5] cmake-filesystem-0:3.30.8-1.fc41. 100% | 4.1 MiB/s | 16.8 KiB | 00m00s
- [4/5] protobuf-compiler-0:3.19.6-10.fc4 100% | 5.8 MiB/s | 775.4 KiB | 00m00s
- [5/5] protobuf-0:3.19.6-10.fc41.x86_64 100% | 3.9 MiB/s | 1.0 MiB | 00m00s
- --------------------------------------------------------------------------------
- [5/5] Total 100% | 4.1 MiB/s | 2.2 MiB | 00m01s
- Running transaction
- [1/7] Verify package files 100% | 156.0 B/s | 5.0 B | 00m00s
- [2/7] Prepare transaction 100% | 50.0 B/s | 5.0 B | 00m00s
- [3/7] Installing protobuf-0:3.19.6-10.f 100% | 79.5 MiB/s | 3.3 MiB | 00m00s
- [4/7] Installing protobuf-compiler-0:3. 100% | 77.1 MiB/s | 2.5 MiB | 00m00s
- [5/7] Installing cmake-filesystem-0:3.3 100% | 1.0 MiB/s | 7.3 KiB | 00m00s
- [6/7] Installing zlib-ng-compat-devel-0 100% | 21.2 MiB/s | 108.5 KiB | 00m00s
- [7/7] Installing protobuf-devel-0:3.19. 100% | 31.4 MiB/s | 2.8 MiB | 00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "protobuf-compiler" "protobuf-devel"
- protobuf-compiler-3.19.6-10.fc41.x86_64
- protobuf-devel-3.19.6-10.fc41.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-protoc.6.2.0 (cached)
-> installed conf-protoc.6.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-28 19:44.03 ---> saved as "77ccdbdf878825d272f57615fb0f1c4f61b2ae2fd204539b9877496602ebd31a"
Job succeeded
2025-08-28 19:44.09: Job succeeded