Organisationstaridesopam-monorepod979e8 ()debian-12-5.0_opam-2.3

debian-12-5.0_opam-2.3

Link Copied
Code Copied

Logs

2025-04-14 16:12.51: New job: test tarides/opam-monorepo https://github.com/tarides/opam-monorepo.git#refs/heads/main (d979e802bacf1aea00131bd14a223dc59d39cc1d) (linux-x86_64:debian-12-5.0_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61
opam-monorepo build


To reproduce locally:


git clone --recursive "https://github.com/tarides/opam-monorepo.git" -b "main" && cd "opam-monorepo" && git reset --hard d979e802
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61
# debian-12-5.0_opam-2.3
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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-pkg-config.4 dune.3.6.1 ocaml.5.0.0 ocaml-base-compiler.5.0.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-04-14 16:12.51: Using cache hint "tarides/opam-monorepo-ocaml/opam:debian-12-ocaml-5.0@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61-debian-12-5.0_opam-2.3-opam-monorepo-debian-12-5.0_opam-2.3"
2025-04-14 16:12.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61)
(comment debian-12-5.0_opam-2.3)
(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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
(env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-pkg-config.4 dune.3.6.1 ocaml.5.0.0 ocaml-base-compiler.5.0.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-04-14 16:12.51: Waiting for resource in pool OCluster
2025-04-14 16:12.51: Waiting for worker…
2025-04-14 16:12.51: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
HEAD is now at d87b535e update changelog
HEAD is now at d979e802 Drop dependency on base (#411)


(from ocaml/opam:debian-12-ocaml-5.0@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.0@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61' locally
docker.io/ocaml/opam@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61: Pulling from ocaml/opam
f6f77b1521d2: Pulling fs layer
f6f77b1521d2: Verifying Checksum
f6f77b1521d2: Download complete
f6f77b1521d2: Pull complete
Digest: sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61
Status: Downloaded newer image for ocaml/opam@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61
2025-04-14 16:12.52 ---> using "23554cdcf0b176073db3d3a932070cd0fef3d0c19131440aed2f391cb694a47e" from cache


/: (comment debian-12-5.0_opam-2.3)


/: (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-04-14 16:12.52 ---> using "c63aa1d93e61b3438c58b1c42e5364a8f899d1bd03e2558744f843219db77e70" 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
[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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-14 16:12.52 ---> using "8ade2911d05ba5565805c0ded4cc12878310bc560ba819a15544f725a3cf677a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.0.0
2.2.1
2025-04-14 16:12.52 ---> using "8aecf745218b5df80911d2864964cd50de93ef68ad629ac4be260fbe7e09a0d6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-14 16:12.52 ---> using "8b6ff894e63334c3a233243104ecc064a40b18b5e3c5192ec98fbc3f55e49088" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a8ed476033..34a3fc46c3  master     -> origin/master
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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-04-14 16:12.52 ---> using "7599ff0df4cd9d1296a8e3585a69ffa4c1810d28224a34c77ef5bfc1e2c0c017" from cache


/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-pkg-config.4 dune.3.6.1 ocaml.5.0.0 ocaml-base-compiler.5.0.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 bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [16.2 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [254 kB]
- Fetched 374 kB in 0s (1043 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-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.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-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"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
2025-04-14 16:12.52 ---> using "561b55880a16339c5bf70f77b8d3fcdcbb32b2dc97910ce7d833e605cee0fae3" from cache


/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-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.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-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.6.1
- install opam-monorepo   0.3.6


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> retrieved dune.3.6.1  (cached)
-> retrieved opam-monorepo.0.3.6  (cached)
-> installed dune.3.6.1
-> installed opam-monorepo.0.3.6
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-14 16:12.52 ---> using "eb7537e1ae50e7aea8e07675a6f23922eb5eb6b08c030d97b7a17604e9919c12" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-14 16:12.52 ---> using "2c8e9593b210855e9cfb4a25b56d88a2d81c6a7404d447e37d4f91b6090767ca" from cache


/src: (copy (src dune-project opam-monorepo.opam.locked) (dst /src/))
2025-04-14 16:12.52 ---> using "f6ff4b65b2d6244e9b6441a5d008afc0bd65257a329880a0ae33af54e4d9984b" from cache


/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-04-14 16:12.52 ---> using "18a8023a11b740a613c236ff45488b5ca7d8c1be032b5b159721c4d2dba2df8e" from cache


/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-04-14 16:12.52 ---> using "9e853fbe26344fbb98fe33e3d32237a2419b8c1ecfa57cc60a9b564e1d8719cd" from cache


/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-04-14 16:12.52 ---> using "6912ac140a43335a0075af508918002816ed76a8debb63c2044f5f3948a8cdf6" from cache


/src: (copy (src .) (dst /src/))
2025-04-14 16:12.52 ---> using "93eadca26a8de7fd164259b898a1e7f2041ac3ce9b8efc6912beaec9704d4b93" from cache


/src: (run (cache (dune:tarides:opam-monorepo (target /src/_build) (buildkit_options ((sharing private)))))
(shell "opam exec -- dune build @install"))
Uncaught exception: Failure("\"rm\" \"-rf\" \"/var/cache/obuilder/merged/47fd8189f74aba442bdee6beee2f2c22ab8a18a5282dbe47f514a4aa10d0207f\" \"/var/cache/obuilder/work/47fd8189f74aba442bdee6beee2f2c22ab8a18a5282dbe47f514a4aa10d0207f\" \"/var/cache/obuilder/in-progress/47fd8189f74aba442bdee6beee2f2c22ab8a18a5282dbe47f514a4aa10d0207f\" failed with exit status 1")
2025-04-14 16:13.11: Job failed: Failed: Internal error