- github
- ocaml
- opam-repository
- 25b899
- distributions,fedora-41-ocaml-4.14,coccinelle.1.2.0
(not at the head of any monitored branch or PR)
2025-04-13 16:01.41: New job: build coccinelle.1.2.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27750/head (25b8999a95f160856787575b704e43752a1dc5bf)
on fedora-41-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/27750/head" && git reset --hard 25b8999a
git fetch origin master
git merge --no-edit 34a3fc46c301a891122df75c17fef6b5358bd68f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:de3a972d152feda5df43e2dbd1566af45ba35c93b93cc476dea04ce72f7ac569
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 coccinelle.1.2.0 1.2.0
RUN opam reinstall coccinelle.1.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" != 'coccinelle.1.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-04-13 16:01.41: Using cache hint "ocaml/opam:fedora-41-ocaml-4.14@sha256:de3a972d152feda5df43e2dbd1566af45ba35c93b93cc476dea04ce72f7ac569-coccinelle.1.2.0-25b8999a95f160856787575b704e43752a1dc5bf"
2025-04-13 16:01.41: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:de3a972d152feda5df43e2dbd1566af45ba35c93b93cc476dea04ce72f7ac569)
(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 coccinelle.1.2.0 1.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall coccinelle.1.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\" != 'coccinelle.1.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-04-13 16:01.41: Waiting for resource in pool OCluster
2025-04-13 16:01.43: Waiting for worker…
2025-04-13 16:01.43: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at 34a3fc46c3 Merge pull request #27736 from Leonidas-from-XIV/core-unix-glibc
Updating 34a3fc46c3..25b8999a95
Fast-forward
packages/coccinelle/{coccinelle.1.2 => coccinelle.1.2.0}/opam | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename packages/coccinelle/{coccinelle.1.2 => coccinelle.1.2.0}/opam (84%)
(from ocaml/opam:fedora-41-ocaml-4.14@sha256:de3a972d152feda5df43e2dbd1566af45ba35c93b93cc476dea04ce72f7ac569)
Unable to find image 'ocaml/opam:fedora-41-ocaml-4.14@sha256:de3a972d152feda5df43e2dbd1566af45ba35c93b93cc476dea04ce72f7ac569' locally
docker.io/ocaml/opam@sha256:de3a972d152feda5df43e2dbd1566af45ba35c93b93cc476dea04ce72f7ac569: Pulling from ocaml/opam
aa1fe3c61a26: Pulling fs layer
aa1fe3c61a26: Verifying Checksum
aa1fe3c61a26: Download complete
aa1fe3c61a26: Pull complete
Digest: sha256:de3a972d152feda5df43e2dbd1566af45ba35c93b93cc476dea04ce72f7ac569
Status: Downloaded newer image for ocaml/opam@sha256:de3a972d152feda5df43e2dbd1566af45ba35c93b93cc476dea04ce72f7ac569
2025-04-13 16:04.28 ---> saved as "da7254a201e007c75c34a4a57b62967f78295e79800170ff4158ca18cb7a7f91"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-13 16:04.28 ---> saved as "fb35dcaf4d4e614c25c876f83e4a60d4201e4da7e4d758ce5e7c22c3cca9f07c"
/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-04-13 16:05.01 ---> saved as "c5f9b273563a272856821beb829f52e13455a15bab3cd8d0d050b084866c8333"
/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 31
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, 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.2
2025-04-13 16:05.02 ---> saved as "1b72a9b0cb9e45c2066d4a9f8d2ea0c039a80e755f666e21668f9a92ac49f0ff"
/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-04-13 16:05.14 ---> saved as "a9b80583f3d9f47f67720c09dd83929e21f9f064efb29b6e2a00241c1d71d98d"
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-13 16:05.30 ---> saved as "c68c707d4b2add8d8b04e90c71ea14620531a8f180803d34cd9c3a1348b97316"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-13 16:06.00 ---> saved as "e03656ba5511492f9d7c95fe3bb7559c753cbe8dd19c1f4dc1647b5038e6b28a"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 41 - x86_64 100% | 284.7 KiB/s | 26.8 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 100% | 252.3 KiB/s | 23.5 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 100% | 5.4 MiB/s | 4.0 MiB | 00m01s
- Repositories loaded.
- Metadata cache created.
2025-04-13 16:06.05 ---> saved as "a5bf842ab86f91979fecc051d1fe523ecb7b21db859c3e68fefa495522fd9114"
/home/opam: (run (shell "opam pin add -k version -yn coccinelle.1.2.0 1.2.0"))
coccinelle is now pinned to version 1.2.0
2025-04-13 16:06.06 ---> saved as "abf240c2aea884450765bfcb6cd2e8fae830b4ace752780d95d05e3db6d4b400"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall coccinelle.1.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\" != 'coccinelle.1.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"))
coccinelle.1.2.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 21 packages
- install coccinelle 1.2.0 (pinned)
- install conf-aclocal 2 [required by coccinelle]
- install conf-autoconf 0.2 [required by coccinelle]
- install conf-automake 1 [required by conf-aclocal]
- install conf-libpcre 2 [required by pcre]
- install conf-pkg-config 4 [required by coccinelle]
- install conf-python-3 9.0.0 [required by coccinelle]
- install conf-python-3-dev 1 [required by coccinelle]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.18.0 [required by pcre, menhir, parmap, pyml]
- install dune-configurator 3.18.0 [required by parmap, pcre]
- install menhir 20240715 [required by coccinelle]
- install menhirCST 20240715 [required by menhir]
- install menhirLib 20240715 [required by menhir]
- install menhirSdk 20240715 [required by menhir]
- install num 1.5-1 [required by coccinelle]
- install ocamlfind 1.9.8 [required by coccinelle]
- install parmap 1.2.5 [required by coccinelle]
- install pcre 8.0.3 [required by coccinelle]
- install pyml 20231101 [required by coccinelle]
- install stdcompat 20.1 [required by coccinelle]
The following system packages will first need to be installed:
pcre-devel python3-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" "pcre-devel" "python3-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- pcre-devel x86_64 8.45-1.fc41.7 fedora 1.7 MiB
- python3-devel x86_64 3.13.2-1.fc41 updates 1.8 MiB
- Installing dependencies:
- pcre x86_64 8.45-1.fc41.7 fedora 545.8 KiB
- pcre-cpp x86_64 8.45-1.fc41.7 fedora 44.1 KiB
- pcre-utf16 x86_64 8.45-1.fc41.7 fedora 494.4 KiB
- pcre-utf32 x86_64 8.45-1.fc41.7 fedora 470.3 KiB
- Installing weak dependencies:
- python3-pip noarch 24.2-1.fc41 fedora 11.4 MiB
-
- Transaction Summary:
- Installing: 7 packages
-
- Total size of inbound packages is 4 MiB. Need to download 4 MiB.
- After this operation, 16 MiB extra will be used (install 16 MiB, remove 0 B).
- [1/7] pcre-cpp-0:8.45-1.fc41.7.x86_64 100% | 414.7 KiB/s | 26.5 KiB | 00m00s
- [2/7] pcre-0:8.45-1.fc41.7.x86_64 100% | 1.9 MiB/s | 204.5 KiB | 00m00s
- [3/7] pcre-utf16-0:8.45-1.fc41.7.x86_64 100% | 2.9 MiB/s | 189.9 KiB | 00m00s
- [4/7] pcre-utf32-0:8.45-1.fc41.7.x86_64 100% | 5.8 MiB/s | 178.4 KiB | 00m00s
- [5/7] pcre-devel-0:8.45-1.fc41.7.x86_64 100% | 3.2 MiB/s | 489.7 KiB | 00m00s
- [6/7] python3-devel-0:3.13.2-1.fc41.x86 100% | 9.9 MiB/s | 404.1 KiB | 00m00s
- [7/7] python3-pip-0:24.2-1.fc41.noarch 100% | 26.9 MiB/s | 2.7 MiB | 00m00s
- --------------------------------------------------------------------------------
- [7/7] Total 100% | 9.7 MiB/s | 4.2 MiB | 00m00s
- Running transaction
- [1/9] Verify package files 100% | 189.0 B/s | 7.0 B | 00m00s
- [2/9] Prepare transaction 100% | 73.0 B/s | 7.0 B | 00m00s
- [3/9] Installing pcre-0:8.45-1.fc41.7.x 100% | 89.2 MiB/s | 548.1 KiB | 00m00s
- [4/9] Installing pcre-cpp-0:8.45-1.fc41 100% | 21.9 MiB/s | 44.9 KiB | 00m00s
- [5/9] Installing pcre-utf32-0:8.45-1.fc 100% | 115.2 MiB/s | 471.9 KiB | 00m00s
- [6/9] Installing pcre-utf16-0:8.45-1.fc 100% | 96.9 MiB/s | 496.0 KiB | 00m00s
- [7/9] Installing pcre-devel-0:8.45-1.fc 100% | 140.4 MiB/s | 1.7 MiB | 00m00s
- [8/9] Installing python3-pip-0:24.2-1.f 100% | 72.0 MiB/s | 11.7 MiB | 00m00s
- [9/9] Installing python3-devel-0:3.13.2 100% | 18.7 MiB/s | 1.8 MiB | 00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "pcre-devel" "python3-devel"
- pcre-devel-8.45-1.fc41.7.x86_64
- python3-devel-3.13.2-1.fc41.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved coccinelle.1.2.0 (https://github.com/coccinelle/coccinelle/archive/refs/tags/1.2.0.tar.gz)
-> retrieved conf-python-3.9.0.0 (cached)
-> retrieved conf-python-3-dev.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-autoconf.0.2
-> installed conf-pkg-config.4
-> installed conf-python-3.9.0.0
-> installed conf-libpcre.2
-> installed conf-python-3-dev.1
-> installed conf-automake.1
-> installed conf-aclocal.2
-> retrieved dune.3.18.0, dune-configurator.3.18.0 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved num.1.5-1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved parmap.1.2.5 (cached)
-> retrieved pcre.8.0.3 (cached)
-> retrieved pyml.20231101 (cached)
-> retrieved stdcompat.20.1 (cached)
-> installed num.1.5-1
-> installed ocamlfind.1.9.8
-> installed dune.3.18.0
-> installed csexp.1.5.2
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed dune-configurator.3.18.0
-> installed parmap.1.2.5
-> installed pcre.8.0.3
-> installed stdcompat.20.1
-> installed pyml.20231101
-> installed menhir.20240715
-> installed coccinelle.1.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-13 16:08.56 ---> saved as "756586b086e0b89fab8d37c98dd17a111bfc0c4b208e7cadd853f2d888bcaad2"
Job succeeded
2025-04-13 16:09.03: Job succeeded