- github
- ocaml
- opam-repository
- 35be0d
- distributions,archlinux-ocaml-5.3,mariadb.1.3.0
(not at the head of any monitored branch or PR)
2025-05-08 10:55.48: New job: build mariadb.1.3.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27862/head (35be0d7bf19936e002865b4e7d605d861ae74477)
on archlinux-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/27862/head" && git reset --hard 35be0d7b
git fetch origin master
git merge --no-edit b8a7f49af3f606bf8a22869a1b52b250dd90092e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.3@sha256:26da822b499c5d6cbf7bc28ee74b10b1a030c05fa819aab42e210d8815975e60
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 mariadb.1.3.0 1.3.0
RUN opam reinstall mariadb.1.3.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 "\"archlinux\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mariadb.1.3.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-05-08 10:55.48: Using cache hint "ocaml/opam:archlinux-ocaml-5.3@sha256:26da822b499c5d6cbf7bc28ee74b10b1a030c05fa819aab42e210d8815975e60-mariadb.1.3.0-35be0d7bf19936e002865b4e7d605d861ae74477"
2025-05-08 10:55.48: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.3@sha256:26da822b499c5d6cbf7bc28ee74b10b1a030c05fa819aab42e210d8815975e60)
(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 mariadb.1.3.0 1.3.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mariadb.1.3.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 \"\\\"archlinux\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mariadb.1.3.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-05-08 10:55.48: Waiting for resource in pool OCluster
2025-05-08 10:55.48: Waiting for worker…
2025-05-08 10:55.48: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 92% (21294/23005)
Updating files: 93% (21395/23005)
Updating files: 94% (21625/23005)
Updating files: 95% (21855/23005)
Updating files: 96% (22085/23005)
Updating files: 97% (22315/23005)
Updating files: 98% (22545/23005)
Updating files: 99% (22775/23005)
Updating files: 100% (23005/23005)
Updating files: 100% (23005/23005), done.
HEAD is now at b8a7f49af3 Merge pull request #27858 from lukstafi/opam-publish-metal.0.1.0
Updating b8a7f49af3..35be0d7bf1
Fast-forward
packages/mariadb/mariadb.1.3.0/opam | 39 +++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 packages/mariadb/mariadb.1.3.0/opam
(from ocaml/opam:archlinux-ocaml-5.3@sha256:26da822b499c5d6cbf7bc28ee74b10b1a030c05fa819aab42e210d8815975e60)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.3@sha256:26da822b499c5d6cbf7bc28ee74b10b1a030c05fa819aab42e210d8815975e60' locally
docker.io/ocaml/opam@sha256:26da822b499c5d6cbf7bc28ee74b10b1a030c05fa819aab42e210d8815975e60: Pulling from ocaml/opam
d6169990dd02: Pulling fs layer
d6169990dd02: Verifying Checksum
d6169990dd02: Download complete
d6169990dd02: Pull complete
Digest: sha256:26da822b499c5d6cbf7bc28ee74b10b1a030c05fa819aab42e210d8815975e60
Status: Downloaded newer image for ocaml/opam@sha256:26da822b499c5d6cbf7bc28ee74b10b1a030c05fa819aab42e210d8815975e60
2025-05-08 10:56.04 ---> using "2f776075175e93860a5f2f0b572d2e3d1e3d1459e6f124b7f1c8194917a95d97" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-08 10:56.04 ---> using "8cc486e01bb7a6f526638d1d72d84ff62098a448851903c5e77094755d7d530d" from cache
/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 31 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=31 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-08 10:56.04 ---> using "85a297037ab42b9f675588087147a7b2c994a628eede1bc4849d5f34734a0d4e" from cache
/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=arch os-version=20250427.0.341977
# 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-05-08 10:56.04 ---> using "6c502986bf03c217217aad94899ddaf7a79c970f3b8fb3d48bb1de4b4ace34c4" from cache
/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-05-08 10:56.05 ---> using "09581b5e8a0ac5cb456563d28882a77f8074691a6b5fb0467fe2d8e199d8732b" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-05-08 10:56.15 ---> saved as "71d7e7192c97ca78b4b2f91ff1b267ac9a371165561f66294c56060983699b02"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-08 10:56.37 ---> saved as "23ccb6ed0e142aba5523049786104ec702df7f7c13ac174739d62d7a8c8df385"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-05-08 10:56.38 ---> saved as "fcfc8c2397b569865d702161fbe00dfadba7e05c6114605d5d9132b082188b82"
/home/opam: (run (shell "opam pin add -k version -yn mariadb.1.3.0 1.3.0"))
mariadb is now pinned to version 1.3.0
2025-05-08 10:56.38 ---> saved as "3c9844e8754829a2a40980121a4521db2cfd2591f962b42ce44f0c517da19d07"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mariadb.1.3.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 \"\\\"archlinux\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mariadb.1.3.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mariadb.1.3.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 11 packages
∗ bigarray-compat 1.1.0 [required by ctypes]
∗ conf-gcc 1.0 [required by mariadb]
∗ conf-mariadb 2 [required by mariadb]
∗ conf-pkg-config 4 [required by mariadb]
∗ csexp 1.5.2 [required by dune-configurator]
∗ ctypes 0.23.0 [required by mariadb]
∗ dune 3.18.2 [required by mariadb]
∗ dune-configurator 3.18.2 [required by mariadb]
∗ integers 0.7.0 [required by ctypes]
∗ mariadb 1.3.0 (pinned)
∗ stdlib-shims 0.3.0 [required by integers]
The following system packages will first need to be installed:
mariadb-libs pkgconf
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
2. Display the recommended pacman 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/sbin/sudo "pacman" "-Su" "--noconfirm" "mariadb-libs" "pkgconf"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
-
- Package (8) Old Version New Version Net Change Download Size
-
- core/bash 5.2.037-2 5.2.037-3 -0.02 MiB 1.80 MiB
- core/device-mapper 2.03.31-1 2.03.32-1 0.01 MiB 0.27 MiB
- core/filesystem 2024.11.21-1 2025.05.03-1 0.00 MiB 0.01 MiB
- core/gettext 0.24-3 0.24.1-1 0.12 MiB 2.33 MiB
- extra/liburing 2.9-1 0.37 MiB 0.19 MiB
- core/pacman-mirrorlist 20250311-1 20250503-1 0.00 MiB 0.01 MiB
- extra/mariadb-libs 11.7.2-3 21.43 MiB 5.44 MiB
- core/pkgconf 2.4.3-1 0.17 MiB 0.06 MiB
-
- Total Download Size: 10.12 MiB
- Total Installed Size: 40.93 MiB
- Net Upgrade Size: 22.09 MiB
-
- :: Proceed with installation? [Y/n]
- :: Retrieving packages...
- mariadb-libs-11.7.2-3-x86_64 downloading...
- gettext-0.24.1-1-x86_64 downloading...
- bash-5.2.037-3-x86_64 downloading...
- device-mapper-2.03.32-1-x86_64 downloading...
- liburing-2.9-1-x86_64 downloading...
- pkgconf-2.4.3-1-x86_64 downloading...
- filesystem-2025.05.03-1-any downloading...
- pacman-mirrorlist-20250503-1-any downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- installing liburing...
- upgrading filesystem...
- warning: /etc/hosts installed as /etc/hosts.pacnew
- warning: directory permissions differ on /srv/ftp/
- filesystem: 755 package: 555
- upgrading bash...
- installing mariadb-libs...
- Optional dependencies for mariadb-libs
- krb5: for gssapi authentication [installed]
- installing pkgconf...
- upgrading device-mapper...
- upgrading gettext...
- New optional dependencies for gettext
- appstream-glib: for appstream support
- upgrading pacman-mirrorlist...
- :: Running post-transaction hooks...
- (1/7) Creating system user accounts...
- (2/7) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (3/7) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (4/7) Applying kernel sysctl settings...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (5/7) Creating temporary files...
- /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
- All rules containing unresolvable specifiers will be skipped.
- (6/7) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Device manager is not running.
- (7/7) Arming ConditionNeedsUpdate...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved bigarray-compat.1.1.0 (cached)
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved ctypes.0.23.0 (cached)
∗ installed conf-gcc.1.0
∗ installed conf-pkg-config.4
∗ installed conf-mariadb.2
⬇ retrieved dune.3.18.2, dune-configurator.3.18.2 (cached)
⬇ retrieved integers.0.7.0 (cached)
⬇ retrieved mariadb.1.3.0 (https://github.com/ocaml-community/ocaml-mariadb/releases/download/1.3.0/mariadb-1.3.0.tbz)
⬇ retrieved stdlib-shims.0.3.0 (cached)
∗ installed dune.3.18.2
∗ installed csexp.1.5.2
∗ installed bigarray-compat.1.1.0
∗ installed stdlib-shims.0.3.0
∗ installed integers.0.7.0
∗ installed dune-configurator.3.18.2
∗ installed ctypes.0.23.0
∗ installed mariadb.1.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-08 10:57.29 ---> saved as "7427485d30693b56be86b93559fdad42d43830612cc8692ea6e678f7c5940043"
Job succeeded
2025-05-08 10:57.34: Job succeeded