Organisationstaridesopam-monorepo037eb0 (main)debian-13-5.3_opam-2.4

debian-13-5.3_opam-2.4

Logs

Show full logs
2025-12-15 14:42.41: New job: test tarides/opam-monorepo https://github.com/tarides/opam-monorepo.git#refs/heads/main (037eb072917c0414e4b570324817286d64f09401) (linux-x86_64:debian-13-5.3_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.3@sha256:82862fdd2735789b1bfd7b572e93c7d8b36bb89223e583c9d778b90ebac71bd9
opam-monorepo build

To reproduce locally:

git clone --recursive "https://github.com/tarides/opam-monorepo.git" -b "main" && cd "opam-monorepo" && git reset --hard 037eb072
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3@sha256:82862fdd2735789b1bfd7b572e93c7d8b36bb89223e583c9d778b90ebac71bd9
# debian-13-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-pkg-config.4 dune.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 opam-monorepo.0.3.6"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y  $DEPS
RUN opam install $DEPS
WORKDIR /src
RUN sudo chown opam /src
COPY --chown=1000:1000 dune-project opam-monorepo.opam.locked /src/
RUN opam monorepo depext --yes --lock ./opam-monorepo.opam.locked
RUN opam install --yes --ignore-pin-depends --deps-only ./opam-monorepo.opam.locked
RUN opam exec -- opam monorepo pull
COPY --chown=1000:1000 . /src/
RUN opam exec -- dune build @install
RUN opam exec -- dune runtest

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-12-15 14:42.41: Using cache hint "tarides/opam-monorepo-ocaml/opam:debian-13-ocaml-5.3@sha256:82862fdd2735789b1bfd7b572e93c7d8b36bb89223e583c9d778b90ebac71bd9-debian-13-5.3_opam-2.4-opam-monorepo-debian-13-5.3_opam-2.4"
2025-12-15 14:42.41: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:82862fdd2735789b1bfd7b572e93c7d8b36bb89223e583c9d778b90ebac71bd9)
 (comment debian-13-5.3_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
 (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-pkg-config.4 dune.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 opam-monorepo.0.3.6")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y  $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (copy (src dune-project opam-monorepo.opam.locked) (dst /src/))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam monorepo depext --yes --lock ./opam-monorepo.opam.locked"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install --yes --ignore-pin-depends --deps-only ./opam-monorepo.opam.locked"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam exec -- opam monorepo pull"))
 (copy (src .) (dst /src/))
 (run (cache (dune:tarides:opam-monorepo (target /src/_build) (buildkit_options ((sharing private)))))
      (shell "opam exec -- dune build @install"))
 (run (cache (dune:tarides:opam-monorepo (target /src/_build) (buildkit_options ((sharing private)))))
      (shell "opam exec -- dune runtest"))
)

2025-12-15 14:42.41: Waiting for resource in pool OCluster
2025-12-15 21:50.57: Waiting for worker…
2025-12-15 22:01.25: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 037eb072 lockfile: bump OCaml to 5.3

(from ocaml/opam:debian-13-ocaml-5.3@sha256:82862fdd2735789b1bfd7b572e93c7d8b36bb89223e583c9d778b90ebac71bd9)
2025-12-15 22:01.26 ---> using "3c7396f7f2e012a60dc7c5964d5e4dd32d367437374fe9f1ba725dd799a085cd" from cache

/: (comment debian-13-5.3_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2025-12-15 22:01.26 ---> using "596445c00437ebe4b381ae4da710a3715f1d41a9e0f34d537de2998566df2486" from cache

/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-15 22:01.26 ---> using "6b96f19a99fdf4faa788bc324fd072873f1f63b4a150452ad12a8ac385c2b77c" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-86-generic
The OCaml toplevel, version 5.3.0
2.2.1
2025-12-15 22:01.26 ---> using "6813159ced9a2611d79feabe4df566483deaa47b2515b757d4289823178492c6" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-12-15 22:01.26 ---> using "0a4dfc09b16acef024fe6e1a6909b570c95dd12054c90ec07ef4196bb06b8567" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ee48e882f0..c65fcb1165  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2025-12-15 22:01.26 ---> using "6376928380716324058f351d551340508fea5a836c9852d874e6950a479d95cb" from cache

/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-pkg-config.4 dune.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 opam-monorepo.0.3.6")

/src: (env CI true)

/src: (env OCAMLCI true)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y  $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [84.8 kB]
- Fetched 176 kB in 0s (639 kB/s)
- Reading package lists...
- 
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).

The following system packages will first need to be installed:
    pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- Selecting previously unselected package libpkgconf3:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20653 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...
2025-12-15 22:01.56 ---> saved as "79cf43dba0f82c79cc96ef88c31cf8473c401100e332ee1af7376dc15d8c1e7e"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 3 packages
  - install conf-pkg-config 4
  - install dune            3.20.2
  - install opam-monorepo   0.3.6

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> retrieved dune.3.20.2  (cached)
-> retrieved opam-monorepo.0.3.6  (cached)
-> installed dune.3.20.2
-> installed opam-monorepo.0.3.6
Done.
# Run eval $(opam env) to update the current shell environment
2025-12-15 22:05.36 ---> saved as "e9509afcb175c1c5fbe2740f4fad911877a7f225f3086a45070c6e429a18ef9d"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-12-15 22:05.36 ---> saved as "30038b178071b76e818af2f0c88b9d82c27155a3148191fd1c9154184e3bb2cc"

/src: (copy (src dune-project opam-monorepo.opam.locked) (dst /src/))
2025-12-15 22:05.37 ---> saved as "2e0c906e64558a06bd89ed8626b1511e276f5d67e76dab028ad36e1b685ad7fd"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam monorepo depext --yes --lock ./opam-monorepo.opam.locked"))
==> Using lockfile opam-monorepo.opam.locked
2025-12-15 22:05.39 ---> saved as "4d7f25bce72b8fee7d4436ce01ae65f12feab1a426e20a4765373a7e347cbdf0"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install --yes --ignore-pin-depends --deps-only ./opam-monorepo.opam.locked"))
[WARNING] Failed checks on src package definition from source at file:///src:
  warning 25: Missing field 'authors'
  warning 35: Missing field 'homepage'
  warning 36: Missing field 'bug-reports'
  warning 47: Synopsis should start with a capital and not end with a dot
  warning 68: Missing field 'license'
The following actions will be performed:
=== downgrade 1 package
  - downgrade conf-pkg-config 4 to 2 [required by src]
=== recompile 1 package
  - recompile opam-monorepo   0.3.6  [uses conf-pkg-config]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-monorepo.0.3.6  (cached)
-> removed   opam-monorepo.0.3.6
-> removed   conf-pkg-config.4
-> installed conf-pkg-config.2
-> installed opam-monorepo.0.3.6
Done.
# Run eval $(opam env) to update the current shell environment
2025-12-15 22:07.25 ---> saved as "393dddad484a75fb82e8ad228c2e274a45604ef973e7968025e364d740370b09"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam exec -- opam monorepo pull"))
==> Using lockfile /src/opam-monorepo.opam.locked
Successfully pulled 38/38 repositories
2025-12-15 22:07.40 ---> saved as "7ff82b7890d283f379951f02789dbc5e0075409f8f6b6c88ec2dea33181371d4"

/src: (copy (src .) (dst /src/))
2025-12-15 22:07.41 ---> saved as "a17bdab5a9140d03d28b80bfe024f39b8359956b35227103faf97aa287018e07"

/src: (run (cache (dune:tarides:opam-monorepo (target /src/_build) (buildkit_options ((sharing private)))))
           (shell "opam exec -- dune build @install"))
Error:
unlink(_build/default/.dune/cc_vendor/header_check.h): No such file or directory
-> required by _build/default/duniverse/ocaml-sha/sha1_stubs.o
-> required by _build/default/duniverse/ocaml-sha/libsha_stubs.a
-> required by _build/default/bin/opam_monorepo.exe
-> required by _build/install/default/bin/opam-monorepo
-> required by _build/default/opam-monorepo.install
-> required by alias install
Uncaught exception: Failure("\"rm\" \"-rf\" \"/var/cache/obuilder/merged/92a3100454b59f028a01d741d9085761c2415303e061d84e350b8c473ecf350d\" \"/var/cache/obuilder/work/92a3100454b59f028a01d741d9085761c2415303e061d84e350b8c473ecf350d\" \"/var/cache/obuilder/in-progress/92a3100454b59f028a01d741d9085761c2415303e061d84e350b8c473ecf350d\" failed with exit status 1")
2025-12-15 22:08.02: Job failed: Failed: Internal error