- github
- ocaml
- opam-repository
- 25b899
- distributions,fedora-40-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-40-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-40-ocaml-4.14@sha256:e08aa3c1dab86a8c4f074284ddd6c199eef63c3006e04e7468b22c17e064df3c
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-40\""; 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-40-ocaml-4.14@sha256:e08aa3c1dab86a8c4f074284ddd6c199eef63c3006e04e7468b22c17e064df3c-coccinelle.1.2.0-25b8999a95f160856787575b704e43752a1dc5bf"
2025-04-13 16:01.41: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-4.14@sha256:e08aa3c1dab86a8c4f074284ddd6c199eef63c3006e04e7468b22c17e064df3c)
(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-40\\\"\"; 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-c4.sw.ocaml.org
All commits already cached
Updating files: 74% (17045/22853)
Updating files: 75% (17140/22853)
Updating files: 76% (17369/22853)
Updating files: 77% (17597/22853)
Updating files: 78% (17826/22853)
Updating files: 79% (18054/22853)
Updating files: 80% (18283/22853)
Updating files: 81% (18511/22853)
Updating files: 82% (18740/22853)
Updating files: 83% (18968/22853)
Updating files: 84% (19197/22853)
Updating files: 85% (19426/22853)
Updating files: 86% (19654/22853)
Updating files: 87% (19883/22853)
Updating files: 88% (20111/22853)
Updating files: 89% (20340/22853)
Updating files: 90% (20568/22853)
Updating files: 91% (20797/22853)
Updating files: 92% (21025/22853)
Updating files: 93% (21254/22853)
Updating files: 94% (21482/22853)
Updating files: 95% (21711/22853)
Updating files: 96% (21939/22853)
Updating files: 97% (22168/22853)
Updating files: 98% (22396/22853)
Updating files: 99% (22625/22853)
Updating files: 100% (22853/22853)
Updating files: 100% (22853/22853), done.
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-40-ocaml-4.14@sha256:e08aa3c1dab86a8c4f074284ddd6c199eef63c3006e04e7468b22c17e064df3c)
Unable to find image 'ocaml/opam:fedora-40-ocaml-4.14@sha256:e08aa3c1dab86a8c4f074284ddd6c199eef63c3006e04e7468b22c17e064df3c' locally
docker.io/ocaml/opam@sha256:e08aa3c1dab86a8c4f074284ddd6c199eef63c3006e04e7468b22c17e064df3c: Pulling from ocaml/opam
26db1d8244b9: Pulling fs layer
26db1d8244b9: Download complete
26db1d8244b9: Pull complete
Digest: sha256:e08aa3c1dab86a8c4f074284ddd6c199eef63c3006e04e7468b22c17e064df3c
Status: Downloaded newer image for ocaml/opam@sha256:e08aa3c1dab86a8c4f074284ddd6c199eef63c3006e04e7468b22c17e064df3c
2025-04-13 16:04.06 ---> saved as "fe04901e090ec28f3f6c9be04aa3b0f66a417a3bcc8e5a9163555a35e745bdb5"
/: (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.06 ---> saved as "bdaf86faf269c8d48729f04bd47d4c2eb565d6abbbb2fad5d74c49c83c6573e1"
/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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-13 16:04.36 ---> saved as "8bcce4c4d9c9115d8171987820b4914cc30fcf5f2e8cc2793900c2ecfaf815ad"
/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=40
# 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:04.37 ---> saved as "58b6daa692091846ec611dd73eb0ab9de93e54569094bcc22cad3666ae1716cb"
/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:04.44 ---> saved as "14e91bd45cab91b477b0d87387330977a00bac3757db025da55d921f9e0b4faa"
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-13 16:04.50 ---> saved as "086788227dcddeaa205a582afe4aa5f8b9fd6345eab291b92c326dc84bc70198"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-13 16:05.11 ---> saved as "fcdbb8f4dbf1cbe6e9fe0aa24e8acc1fe9896550c6f4683b6478492989203b6a"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64 296 kB/s | 27 kB 00:00
- Fedora 40 openh264 (From Cisco) - x86_64 14 kB/s | 989 B 00:00
- Fedora 40 - x86_64 - Updates 268 kB/s | 23 kB 00:00
- Fedora 40 - x86_64 - Updates 7.0 MB/s | 5.4 MB 00:00
- Metadata cache created.
2025-04-13 16:05.19 ---> saved as "8416f432e9b9101f67a0b04182e031b936ffacf9557e488510d90cfea2abed2f"
/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:05.19 ---> saved as "4cff289d60c75e90f5bba2474386ebc0b9bc441cb2f8294683da0a202123692b"
/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-40\\\"\"; 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"
- Last metadata expiration check: 0:00:12 ago on Sun Apr 13 16:05:13 2025.
- Dependencies resolved.
- ================================================================================
- Package Architecture Version Repository Size
- ================================================================================
- Installing:
- pcre-devel x86_64 8.45-1.fc40.6 fedora 490 k
- python3-devel x86_64 3.12.9-3.fc40 updates 314 k
- Installing dependencies:
- pcre x86_64 8.45-1.fc40.6 fedora 204 k
- pcre-cpp x86_64 8.45-1.fc40.6 fedora 26 k
- pcre-utf16 x86_64 8.45-1.fc40.6 fedora 189 k
- pcre-utf32 x86_64 8.45-1.fc40.6 fedora 178 k
- Installing weak dependencies:
- python3-pip noarch 23.3.2-2.fc40 updates 3.2 M
-
- Transaction Summary
- ================================================================================
- Install 7 Packages
-
- Total download size: 4.5 M
- Installed size: 19 M
- Downloading Packages:
- (1/7): pcre-cpp-8.45-1.fc40.6.x86_64.rpm 336 kB/s | 26 kB 00:00
- (2/7): pcre-8.45-1.fc40.6.x86_64.rpm 1.9 MB/s | 204 kB 00:00
- (3/7): pcre-utf32-8.45-1.fc40.6.x86_64.rpm 6.4 MB/s | 178 kB 00:00
- (4/7): pcre-devel-8.45-1.fc40.6.x86_64.rpm 3.2 MB/s | 490 kB 00:00
- (5/7): pcre-utf16-8.45-1.fc40.6.x86_64.rpm 2.6 MB/s | 189 kB 00:00
- (6/7): python3-devel-3.12.9-3.fc40.x86_64.rpm 7.1 MB/s | 314 kB 00:00
- (7/7): python3-pip-23.3.2-2.fc40.noarch.rpm 18 MB/s | 3.2 MB 00:00
- --------------------------------------------------------------------------------
- Total 9.0 MB/s | 4.5 MB 00:00
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Installing : pcre-8.45-1.fc40.6.x86_64 1/7
- Installing : pcre-cpp-8.45-1.fc40.6.x86_64 2/7
- Installing : python3-pip-23.3.2-2.fc40.noarch 3/7
- Installing : pcre-utf32-8.45-1.fc40.6.x86_64 4/7
- Installing : pcre-utf16-8.45-1.fc40.6.x86_64 5/7
- Installing : pcre-devel-8.45-1.fc40.6.x86_64 6/7
- Installing : python3-devel-3.12.9-3.fc40.x86_64 7/7
-
- Running scriptlet: python3-devel-3.12.9-3.fc40.x86_64 7/7
-
- Installed:
- pcre-8.45-1.fc40.6.x86_64 pcre-cpp-8.45-1.fc40.6.x86_64
- pcre-devel-8.45-1.fc40.6.x86_64 pcre-utf16-8.45-1.fc40.6.x86_64
- pcre-utf32-8.45-1.fc40.6.x86_64 python3-devel-3.12.9-3.fc40.x86_64
- python3-pip-23.3.2-2.fc40.noarch
-
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "pcre-devel" "python3-devel"
- pcre-devel-8.45-1.fc40.6.x86_64
- python3-devel-3.12.9-3.fc40.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved coccinelle.1.2.0 (cached)
-> 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:07.29 ---> saved as "a86c58a033370513ffabedb971a5d018100238e7e7b2dc3bc4b8ec2fbe54fe60"
Job succeeded
2025-04-13 16:07.36: Job succeeded