2025-05-02 15:03.18: New job: test kit-ty-kate/camllzma https://github.com/kit-ty-kate/camllzma.git#refs/heads/main (39b1d49cd26494654efc753be2728a9d86a2c6b4) (linux-x86_64:fedora-41-4.14_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-4.14@sha256:14d377975426471f4b1d67396474437023ebf81493e48d1e3e6ab15a35b057e1
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/kit-ty-kate/camllzma.git" -b "main" && cd "camllzma" && git reset --hard 39b1d49c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:14d377975426471f4b1d67396474437023ebf81493e48d1e3e6ab15a35b057e1
# fedora-41-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
RUN sudo ln -f /usr/bin/opam-2.3 /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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 camllzma.opam ./
RUN opam pin add -yn camllzma.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.4 csexp.1.5.2 dune.3.18.2 dune-configurator.3.18.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y camllzma.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-05-02 15:03.18: Using cache hint "kit-ty-kate/camllzma-ocaml/opam:fedora-41-ocaml-4.14@sha256:14d377975426471f4b1d67396474437023ebf81493e48d1e3e6ab15a35b057e1-fedora-41-4.14_opam-2.3-54fe744208fefd11f41bd5ef9356ddef"
2025-05-02 15:03.18: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:14d377975426471f4b1d67396474437023ebf81493e48d1e3e6ab15a35b057e1)
(comment fedora-41-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src camllzma.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn camllzma.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.4 csexp.1.5.2 dune.3.18.2 dune-configurator.3.18.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")
(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.3 --depext-only -y camllzma.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-05-02 15:03.18: Waiting for resource in pool OCluster
2025-05-02 19:25.20: Waiting for worker…
2025-05-02 19:28.03: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at 39b1d49 Improve the interface
(from ocaml/opam:fedora-41-ocaml-4.14@sha256:14d377975426471f4b1d67396474437023ebf81493e48d1e3e6ab15a35b057e1)
2025-05-02 19:28.04 ---> using "1a5da118544e048938c91250565bc7be370509f46ff96c9f5048110c5f746a01" from cache
/: (comment fedora-41-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 41 openh264 (From Cisco) - x86_ 100% | 9.0 KiB/s | 989.0 B | 00m00s
Fedora 41 - x86_64 100% | 182.1 KiB/s | 26.2 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 83.3 KiB/s | 12.2 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 2.1 MiB/s | 5.2 MiB | 00m02s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.
Nothing to do.
2025-05-02 19:28.04 ---> using "97c65539079f33242057540a7cdad3f24b80ee3c48233ce1e9b3b8bbd9b6aaf3" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-02 19:28.04 ---> using "e03048cac9921b6106c51c2db65d59d6674eac82c9cd3f02215d3676f9265f96" 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 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-02 19:28.04 ---> using "17b43395530846d4f31630da67b0f016418b81deb813f3a3d548542e01d9afab" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-05-02 19:28.04 ---> using "83ff5a8b13f6ea41013dd49a5d61043ed65b0ff50446878d234d1e47fb7c21e4" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-02 19:28.04 ---> using "44b12a379979d2a75ca2d506eb078fecd96a47811125849c32ea38fbcad28ed4" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
34a3fc46c3..35eb2f107a master -> origin/master
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2
<><> 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.
# To update the current shell environment, run: eval $(opam env)
2025-05-02 19:28.04 ---> using "697a300e6053815dca407e7c68e3a5090c280c4f29314aa6e7a8d071d26f8d3d" from cache
/src: (copy (src camllzma.opam) (dst ./))
2025-05-02 19:28.05 ---> saved as "21be0639eb548d6e3cf058f0e32cec9cf2a43129089ac6d71afa7718433cbd01"
/src: (run (network host)
(shell "opam pin add -yn camllzma.dev './'"))
Package camllzma does not exist, create as a NEW package? [y/n] y
[camllzma.dev] synchronised (file:///src)
camllzma is now pinned to file:///src (version dev)
2025-05-02 19:28.07 ---> saved as "53df44cf47ac739f209464c58d7d47b34d2d42095c68c8cac1ad586578227bdb"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-02 19:28.08 ---> saved as "0c44c7ba5e31d6b657f2ddf2f97bbee0dc6a250b00dda0882ee298ff312cb23f"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.4 csexp.1.5.2 dune.3.18.2 dune-configurator.3.18.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")
/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.3 --depext-only -y camllzma.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 41 - x86_64 - Updates 100% | 147.5 KiB/s | 23.0 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 100% | 2.3 MiB/s | 3.0 MiB | 00m01s
- Repositories loaded.
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[camllzma.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
xz-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "yum" "install" "-y" "xz-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- xz-devel x86_64 1:5.6.2-2.fc41 fedora 255.6 KiB
-
- Transaction Summary:
- Installing: 1 package
-
- Total size of inbound packages is 67 KiB. Need to download 67 KiB.
- After this operation, 256 KiB extra will be used (install 256 KiB, remove 0 B).
- [1/1] xz-devel-1:5.6.2-2.fc41.x86_64 100% | 791.7 KiB/s | 66.5 KiB | 00m00s
- --------------------------------------------------------------------------------
- [1/1] Total 100% | 278.3 KiB/s | 66.5 KiB | 00m00s
- Running transaction
- [1/3] Verify package files 100% | 1.0 KiB/s | 1.0 B | 00m00s
- [2/3] Prepare transaction 100% | 19.0 B/s | 1.0 B | 00m00s
- [3/3] Installing xz-devel-1:5.6.2-2.fc4 100% | 2.1 MiB/s | 259.4 KiB | 00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "xz-devel"
- xz-devel-5.6.2-2.fc41.x86_64
2025-05-02 19:28.43 ---> saved as "1f0576166eebf7b446e8f4b4fd09b43d367d9c7992158feb044cc8348c9f39a5"
/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 5 packages
- install conf-liblzma 1
- install conf-pkg-config 4
- install csexp 1.5.2
- install dune 3.18.2
- install dune-configurator 3.18.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> installed conf-liblzma.1
-> retrieved dune.3.18.2, dune-configurator.3.18.2 (cached)
-> installed dune.3.18.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.18.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-02 19:30.21 ---> saved as "556b5db5ac4afbfd2aa0d932d84646b950a187dff1a5bbcc0f4c31786e87945e"
/src: (copy (src .) (dst /src))
2025-05-02 19:30.21 ---> saved as "3f9f0034438ec1e54b8fd166af34f032d3b41eaac8d509f23ee8e99a6d03ffe9"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I tests/.test.eobjs/byte -I src/.camllzma.objs/byte -no-alias-deps -opaque -o tests/.test.eobjs/byte/dune__exe__Test.cmo -c -impl tests/test.ml)
File "tests/test.ml", line 29, characters 10-23:
29 | let e = Lzma2.encoder ~bufsize:1024 Lzma2.PRESET_DEFAULT Lzma2.CHECK_CRC64 in
^^^^^^^^^^^^^
Error: Unbound value Lzma2.encoder
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-05-02 19:30.23: Job failed: Failed: Build failed