Build:
  1. 0
2026-03-11 09:12.19: New job: build rdf_postgresql.1.2.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29537/head (150fd0172e6e8784bf77cbba212270cff708cb7d)
                              on centos-10-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/29537/head" && git reset --hard 150fd017
git fetch origin master
git merge --no-edit 3c0d72031e829cf7ddad3a74f39a8b01fe2bf302
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-10-ocaml-4.14@sha256:8ca7be32e1e308d9c684fde7cd1f72074905b1ec9e8b30ab10bc6dd2e791f5a3
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 rdf_postgresql.1.2.0 1.2.0
RUN opam reinstall rdf_postgresql.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 "\"centos-10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'rdf_postgresql.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 .

2026-03-11 09:12.19: Using cache hint "ocaml/opam:centos-10-ocaml-4.14@sha256:8ca7be32e1e308d9c684fde7cd1f72074905b1ec9e8b30ab10bc6dd2e791f5a3-rdf_postgresql.1.2.0-150fd0172e6e8784bf77cbba212270cff708cb7d"
2026-03-11 09:12.19: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-4.14@sha256:8ca7be32e1e308d9c684fde7cd1f72074905b1ec9e8b30ab10bc6dd2e791f5a3)
 (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 rdf_postgresql.1.2.0 1.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall rdf_postgresql.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 \"\\\"centos-10\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'rdf_postgresql.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"))
)

2026-03-11 09:12.19: Waiting for resource in pool OCluster
2026-03-11 12:17.28: Waiting for worker…
2026-03-11 12:20.24: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 3c0d72031e Merge pull request #29534 from filipeom/opam-publish-smtml.0.23.0
Updating 3c0d72031e..150fd0172e
Fast-forward
 packages/rdf/rdf.1.2.0/opam                       | 51 +++++++++++++++++++++++
 packages/rdf_impls/rdf_impls.1.2.0/opam           | 39 +++++++++++++++++
 packages/rdf_json_ld/rdf_json_ld.1.2.0/opam       | 40 ++++++++++++++++++
 packages/rdf_lwt/rdf_lwt.1.2.0/opam               | 39 +++++++++++++++++
 packages/rdf_mysql/rdf_mysql.1.2.0/opam           | 37 ++++++++++++++++
 packages/rdf_postgresql/rdf_postgresql.1.2.0/opam | 37 ++++++++++++++++
 packages/rdf_ppx/rdf_ppx.1.2.0/opam               | 37 ++++++++++++++++
 packages/rdf_rdfa/rdf_rdfa.1.2.0/opam             | 36 ++++++++++++++++
 8 files changed, 316 insertions(+)
 create mode 100644 packages/rdf/rdf.1.2.0/opam
 create mode 100644 packages/rdf_impls/rdf_impls.1.2.0/opam
 create mode 100644 packages/rdf_json_ld/rdf_json_ld.1.2.0/opam
 create mode 100644 packages/rdf_lwt/rdf_lwt.1.2.0/opam
 create mode 100644 packages/rdf_mysql/rdf_mysql.1.2.0/opam
 create mode 100644 packages/rdf_postgresql/rdf_postgresql.1.2.0/opam
 create mode 100644 packages/rdf_ppx/rdf_ppx.1.2.0/opam
 create mode 100644 packages/rdf_rdfa/rdf_rdfa.1.2.0/opam

(from ocaml/opam:centos-10-ocaml-4.14@sha256:8ca7be32e1e308d9c684fde7cd1f72074905b1ec9e8b30ab10bc6dd2e791f5a3)
2026-03-11 12:20.53 ---> saved as "274aec6dff2c54c1ea51bc6f4d0f840e6cc1898ed595eaf111da8b62ec07b060"

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-11 12:20.53 ---> saved as "7fa111cfce3db8f463dec0b7cd5ec3c89f03defb59f75687532ad1aa2f53d9c3"

/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 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-11 12:21.12 ---> saved as "7ca202c79aa7ac0de548fdb9e8d9dbe85a4c0a6c6e830e7520735f520c232d4b"

/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.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=centos os-version=10
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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
2026-03-11 12:21.12 ---> saved as "585a86a2f0f0059aa59fe5b0e0702d66924d025df4b3529af4cd5b6141b56963"

/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/"))
2026-03-11 12:21.24 ---> saved as "03141e035592eeb594c424b2a98f7dc33ddde2d580cbb52e54383bc34a2feb0a"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-11 12:21.32 ---> saved as "fc6b7ee6dbda0c731525366f564bc13e9b4ca7207a00354465962597c9cdbb2d"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-11 12:21.52 ---> saved as "438866685ee968af0efc23752ba1685c0d160c04ac41b847d89ecc4cce53acc1"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS                       106 kB/s |  15 kB     00:00    
- CentOS Stream 10 - BaseOS                        12 MB/s | 6.9 MB     00:00    
- CentOS Stream 10 - AppStream                    117 kB/s |  15 kB     00:00    
- CentOS Stream 10 - AppStream                    8.5 MB/s | 3.6 MB     00:00    
- CentOS Stream 10 - CRB                          113 kB/s |  15 kB     00:00    
- CentOS Stream 10 - CRB                          3.5 MB/s | 831 kB     00:00    
- CentOS Stream 10 - Extras packages              122 kB/s |  17 kB     00:00    
- CentOS Stream 10 - Extras packages               62 kB/s | 9.9 kB     00:00    
- Metadata cache created.
2026-03-11 12:21.58 ---> saved as "416150971a32a7dcb660b6207c615050cbe4bc0ba8f0f3924ffd31cdc9f1a4f8"

/home/opam: (run (shell "opam pin add -k version -yn rdf_postgresql.1.2.0 1.2.0"))
rdf_postgresql is now pinned to version 1.2.0
2026-03-11 12:21.59 ---> saved as "10a909eca18d54b09cb6cd047effef503b1c9d4afb07c11810c4b24baad1e09b"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall rdf_postgresql.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 \"\\\"centos-10\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'rdf_postgresql.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"))
rdf_postgresql.1.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 44 packages
  - install angstrom            0.16.1         [required by uri]
  - install bigstringaf         0.10.0         [required by angstrom]
  - install conf-libpcre        2              [required by pcre]
  - install conf-pkg-config     4              [required by conf-postgresql]
  - install conf-postgresql     2              [required by postgresql]
  - install csexp               1.5.2          [required by dune-configurator]
  - install dune                3.21.1         [required by rdf_postgresql]
  - install dune-build-info     3.21.1         [required by rdf]
  - install dune-configurator   3.21.1         [required by postgresql]
  - install fmt                 0.11.0         [required by rdf]
  - install gen                 1.1            [required by sedlex]
  - install iri                 1.2.0          [required by rdf]
  - install jsonm               1.0.2          [required by rdf]
  - install logs                0.10.0         [required by rdf]
  - install menhir              20260209       [required by rdf]
  - install menhirCST           20260209       [required by menhir]
  - install menhirGLR           20260209       [required by menhir]
  - install menhirLib           20260209       [required by menhir]
  - install menhirSdk           20260209       [required by menhir]
  - install ocaml-compiler-libs v0.12.4        [required by ppxlib]
  - install ocaml-syntax-shims  1.0.0          [required by angstrom]
  - install ocamlbuild          0.16.1         [required by uuidm, ptime, jsonm, etc.]
  - install ocamlfind           1.9.8          [required by uuidm, ptime, jsonm, etc.]
  - install pcre                8.0.4          [required by rdf]
  - install postgresql          5.2.0          [required by rdf_postgresql]
  - install ppx_derivers        1.2.1          [required by ppxlib]
  - install ppxlib              0.37.0         [required by sedlex]
  - install ptime               1.2.0          [required by rdf]
  - install rdf                 1.2.0          [required by rdf_postgresql]
  - install rdf_postgresql      1.2.0 (pinned)
  - install re                  1.14.0         [required by rdf]
  - install sedlex              3.7            [required by rdf]
  - install seq                 base           [required by gen]
  - install sexplib0            v0.17.0        [required by ppxlib]
  - install stdlib-shims        0.3.0          [required by ppxlib]
  - install stringext           1.6.0          [required by uri]
  - install topkg               1.1.1          [required by uuidm, ptime, jsonm, etc.]
  - install uri                 4.4.0          [required by rdf]
  - install uucp                17.0.0         [required by rdf]
  - install uuidm               0.9.10         [required by rdf]
  - install uunf                17.0.0         [required by iri, uucp]
  - install uutf                1.0.4          [required by rdf]
  - install xmlm                1.4.0          [required by rdf]
  - install yojson              3.0.0          [required by rdf]

The following system packages will first need to be installed:
    libpq-devel pcre-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" "libpq-devel" "pcre-devel"
- Last metadata expiration check: 0:00:08 ago on Wed Mar 11 12:21:57 2026.
- No match for argument: pcre-devel
- Error: Unable to find a match: pcre-devel
[ERROR] System package install failed with exit code 1 at command:
            sudo yum install -y libpq-devel pcre-devel
[ERROR] These packages are still missing: libpq-devel pcre-devel

[NOTE] You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages.

"/usr/bin/env" "bash" "-c" "opam reinstall rdf_postgresql.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 "\"centos-10\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'rdf_postgresql.1.2.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 10
2026-03-11 12:22.11: Job failed: Failed: Build failed
2026-03-11 12:22.11: Log analysis:
2026-03-11 12:22.11: >>> 
[ERROR] System package install failed with exit code 1 at command:
 (score = 20)
2026-03-11 12:22.11: >>> 
[ERROR] These packages are still missing: libpq-devel pcre-devel
 (score = 20)
2026-03-11 12:22.11: System package install failed with exit code 1 at command: