- github
- ocaml
- opam-repository
- c2749f
- distributions,fedora-41-ocaml-5.3,lem.2025-03-13
(not at the head of any monitored branch or PR)
2025-03-13 14:19.12: New job: build lem.2025-03-13, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27619/head (c2749f906dc47b8393bd361121c04d0fea91e450)
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/27619/head" && git reset --hard c2749f90
git fetch origin master
git merge --no-edit 906fb78ee221e4b7676dcd2285fb6d40cbdc59f2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925
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 lem.2025-03-13 2025-03-13
RUN opam reinstall lem.2025-03-13; \
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" != 'lem.2025-03-13' && 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-03-13 14:19.12: Using cache hint "ocaml/opam:fedora-41-ocaml-5.3@sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925-lem.2025-03-13-c2749f906dc47b8393bd361121c04d0fea91e450"
2025-03-13 14:19.12: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925)
(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 lem.2025-03-13 2025-03-13"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lem.2025-03-13;\
\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\" != 'lem.2025-03-13' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-03-13 14:19.12: Waiting for resource in pool OCluster
2025-03-13 14:19.13: Waiting for worker…
2025-03-13 14:22.39: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
Updating files: 93% (21096/22645)
Updating files: 94% (21287/22645)
Updating files: 95% (21513/22645)
Updating files: 96% (21740/22645)
Updating files: 97% (21966/22645)
Updating files: 98% (22193/22645)
Updating files: 99% (22419/22645)
Updating files: 100% (22645/22645)
Updating files: 100% (22645/22645), done.
HEAD is now at 906fb78ee2 Merge pull request #27594 from mbarbin/dunolint
Updating 906fb78ee2..c2749f906d
Fast-forward
packages/lem/lem.2025-03-13/opam | 52 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 packages/lem/lem.2025-03-13/opam
(from ocaml/opam:fedora-41-ocaml-5.3@sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.3@sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925' locally
docker.io/ocaml/opam@sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925: Pulling from ocaml/opam
5df61545bdd9: Pulling fs layer
5df61545bdd9: Verifying Checksum
5df61545bdd9: Download complete
5df61545bdd9: Pull complete
Digest: sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925
Status: Downloaded newer image for ocaml/opam@sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925
2025-03-13 14:24.21 ---> saved as "189447b5abf4f84b3141564fa16299d77370e888a929cebc6495802de6bce562"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-13 14:24.21 ---> saved as "81a13b0e16f3ec080c5777a9d4628d517998a3517e3050c7ae1a19cd32ffbec4"
/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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-13 14:25.25 ---> saved as "fcff41f05acabbd7dac87f7be74d2e6bd09d60df885b7697862d4136196d1cc3"
/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.4.0~alpha1~dev (f1cf50f2711981a605f81a80c68b73774d5841ff)
# 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 31
# repositories 1 (local), 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-03-13 14:25.26 ---> saved as "faf5130fe11cb85b3a9412ddc43295391cf86e548e38a9731af818c3eb27a3c2"
/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-03-13 14:25.32 ---> saved as "ed73f8b17cbdbad3b352e214c5c4527f85fc13070b61b7ca75204bc8b529f9ba"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-13 14:25.40 ---> saved as "0d81323596fd80f68f422aefec3a8510ac86b4ea63321ede9b518ff6a454f714"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-13 14:26.21 ---> saved as "95e901ba5f6e53819d2bcb3ac6f17f58a36847ccda5c2f62a2e0eb2d937e5b09"
/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% | 258.6 KiB/s | 24.3 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 100% | 5.4 MiB/s | 3.7 MiB | 00m01s
- Repositories loaded.
- Metadata cache created.
2025-03-13 14:26.25 ---> saved as "8f5f519e71dc04316d09dc61ed8146006e9e6c082a93c2bf9cadbd9da0049dd9"
/home/opam: (run (shell "opam pin add -k version -yn lem.2025-03-13 2025-03-13"))
lem is now pinned to version 2025-03-13
2025-03-13 14:26.26 ---> saved as "2b998cf5442ea5eb76a5dbae36d5e5a89a4bcc7744ebc9210eefdfd2af05c356"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lem.2025-03-13;\
\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\" != 'lem.2025-03-13' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
lem.2025-03-13 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
- install conf-findutils 1 [required by lem]
- install conf-gmp 4 [required by zarith]
- install conf-pkg-config 4 [required by zarith]
- install lem 2025-03-13 (pinned)
- install num 1.5-1 [required by lem]
- install ocamlbuild 0.16.1 [required by lem]
- install ocamlfind 1.9.8 [required by lem]
- install zarith 1.14 [required by lem]
The following system packages will first need to be installed:
gmp-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" "gmp-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- gmp-devel x86_64 1:6.3.0-2.fc41 fedora 352.3 KiB
- Installing dependencies:
- gmp-c++ x86_64 1:6.3.0-2.fc41 fedora 31.8 KiB
-
- Transaction Summary:
- Installing: 2 packages
-
- Total size of inbound packages is 193 KiB. Need to download 193 KiB.
- After this operation, 384 KiB extra will be used (install 384 KiB, remove 0 B).
- [1/2] gmp-c++-1:6.3.0-2.fc41.x86_64 100% | 321.2 KiB/s | 18.6 KiB | 00m00s
- [2/2] gmp-devel-1:6.3.0-2.fc41.x86_64 100% | 1.9 MiB/s | 174.4 KiB | 00m00s
- --------------------------------------------------------------------------------
- [2/2] Total 100% | 1.0 MiB/s | 193.0 KiB | 00m00s
- Running transaction
- [1/4] Verify package files 100% | 1.0 KiB/s | 2.0 B | 00m00s
- [2/4] Prepare transaction 100% | 37.0 B/s | 2.0 B | 00m00s
- [3/4] Installing gmp-c++-1:6.3.0-2.fc41 100% | 15.9 MiB/s | 32.6 KiB | 00m00s
- [4/4] Installing gmp-devel-1:6.3.0-2.fc 100% | 6.4 MiB/s | 354.1 KiB | 00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "gmp-devel"
- gmp-devel-6.3.0-2.fc41.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4 (cached)
-> retrieved lem.2025-03-13 (cached)
-> installed conf-findutils.1
-> installed conf-gmp.4
-> installed conf-pkg-config.4
-> retrieved num.1.5-1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved zarith.1.14 (cached)
-> installed num.1.5-1
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed lem.2025-03-13
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 14:27.32 ---> saved as "cdf0243c67b7618bc18b5fb236d9cf683db385ed68f67c2ff472a6f680f39dbe"
Job succeeded
2025-03-13 14:27.37: Job succeeded