Organisationsdinosaurehxd6c3c1f (master)fedora-38-5.2_opam-2.1

fedora-38-5.2_opam-2.1

Link Copied
Code Copied

Logs

2024-06-17 12:49.33: New job: test dinosaure/hxd https://github.com/dinosaure/hxd.git#refs/heads/master (6c3c1ff212f67a3d2106e18b2a0358b2dc5f56bd) (linux-x86_64:fedora-38-5.2_opam-2.1)
Base: ocaml/opam@sha256:84602ef7a2064c6dd805493673c456475f3cd658f821eb8d58a7ec6ccdad3a4e
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/dinosaure/hxd.git" -b "master" && cd "hxd" && git reset --hard 6c3c1ff2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:84602ef7a2064c6dd805493673c456475f3cd658f821eb8d58a7ec6ccdad3a4e
# fedora-38-5.2_opam-2.1
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.1 /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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 hxd.opam ./
RUN opam pin add -yn hxd.dev './'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y hxd.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


2024-06-17 12:49.33: Using cache hint "dinosaure/hxd-ocaml/opam@sha256:84602ef7a2064c6dd805493673c456475f3cd658f821eb8d58a7ec6ccdad3a4e-fedora-38-5.2_opam-2.1-a7f8c49ea560cf54734e65ff9dd4f7d2"
2024-06-17 12:49.33: Using OBuilder spec:
((from ocaml/opam@sha256:84602ef7a2064c6dd805493673c456475f3cd658f821eb8d58a7ec6ccdad3a4e)
 (comment fedora-38-5.2_opam-2.1)
 (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.1 /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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src hxd.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn hxd.dev './'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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.1 --depext-only -y hxd.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"))
)


2024-06-17 12:49.33: Waiting for resource in pool OCluster
2024-06-19 06:36.57: Waiting for worker…
2024-06-19 06:40.39: Got resource from pool OCluster
Building on marpe.caelum.ci.dev
All commits already cached
HEAD is now at 6c3c1ff Merge pull request #13 from dinosaure/prepare-v0.3.2


(from ocaml/opam@sha256:84602ef7a2064c6dd805493673c456475f3cd658f821eb8d58a7ec6ccdad3a4e)
Unable to find image 'ocaml/opam@sha256:84602ef7a2064c6dd805493673c456475f3cd658f821eb8d58a7ec6ccdad3a4e' locally
docker.io/ocaml/opam@sha256:84602ef7a2064c6dd805493673c456475f3cd658f821eb8d58a7ec6ccdad3a4e: Pulling from ocaml/opam
fc3bd1637d41: Pulling fs layer
fc3bd1637d41: Waiting
fc3bd1637d41: Verifying Checksum
fc3bd1637d41: Download complete
fc3bd1637d41: Pull complete
Digest: sha256:84602ef7a2064c6dd805493673c456475f3cd658f821eb8d58a7ec6ccdad3a4e
Status: Downloaded newer image for ocaml/opam@sha256:84602ef7a2064c6dd805493673c456475f3cd658f821eb8d58a7ec6ccdad3a4e
2024-06-19 06:40.42 ---> using "5ffbda8385325bbf06b4bc72893a68902d07f91c2976de1051890d43240d44ef" from cache


/: (comment fedora-38-5.2_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Fedora 38 - x86_64                               36 kB/s | 6.0 kB     00:00    
Fedora 38 openh264 (From Cisco) - x86_64        5.4 kB/s | 989  B     00:00    
Fedora Modular 38 - x86_64                       47 kB/s | 5.9 kB     00:00    
Fedora 38 - x86_64 - Updates                     28 kB/s | 5.9 kB     00:00    
Fedora Modular 38 - x86_64 - Updates             50 kB/s | 5.8 kB     00:00    
Package findutils-1:4.9.0-3.fc38.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-06-19 06:40.42 ---> using "a499d0a62809c2eb231c1ebf5345b4a55daf03bedcdcd25bd04a5e92b5d635c2" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-06-19 06:40.42 ---> using "9a737e0b03533b02941c4c1e59c544ef189bda8d00cddef3fb8d7f7b1b372dea" 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.


Continue? [Y/n] y
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-06-19 06:40.42 ---> using "90e0bbdb4a3631c6ff01badc19daa8f3e93ac22411732093364278a0ddf437d7" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 5.2.0
2.1.6
2024-06-19 06:40.42 ---> using "d7d12eb916d2d508eac4312a887a22c73ebc1f97fce5f5350fa98db113ecbf3b" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-19 06:40.42 ---> using "70992686571710e7db2065fa893242180850af4ad78069cc35b08f9ad5e59796" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c45f5bab71..5d6f1cf035  master     -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.0)


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


The following actions will be performed:
  - install   host-arch-x86_64      1
  - install   host-system-other     1
  - recompile ocaml-options-vanilla 1       [upstream or system changes]
  - recompile ocaml-base-compiler   5.2.0*  [upstream or system changes]
  - recompile ocaml-config          3       [uses ocaml-base-compiler]
  - recompile ocaml                 5.2.0   [uses ocaml-base-compiler]
  - recompile opam-depext           1.2.1-1 [uses ocaml]
  - recompile base-domains          base    [uses ocaml]
  - recompile base-nnp              base    [uses base-domains]
===== 2 to install | 7 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> removed   ocaml-options-vanilla.1
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved opam-depext.1.2.1-1  (cached)
-> retrieved ocaml-base-compiler.5.2.0  (cached)
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   opam-depext.1.2.1-1
-> removed   ocaml.5.2.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.2.0
-> installed ocaml-base-compiler.5.2.0
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
-> installed opam-depext.1.2.1-1
Done.


<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-06-19 06:40.42 ---> using "085f4165406670a0e47b779e12f054eaba9b7adac4af887eb9f3ac7d158a9d21" from cache


/src: (copy (src hxd.opam) (dst ./))
2024-06-19 06:40.42 ---> saved as "bf65b3e11b56071852f3fa240b76fb5e16536d647d4e1447b259a3f0181ec77d"


/src: (run (network host)
           (shell "opam pin add -yn hxd.dev './'"))
[hxd.dev] synchronised (file:///src)
hxd is now pinned to file:///src (version dev)
2024-06-19 06:40.43 ---> saved as "372d54cda44609234c84d256746f5bb3979a4164bf2b49a0b725ff14cafc4c15"


/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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.1 --depext-only -y hxd.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 38 - x86_64                               62 kB/s | 6.0 kB     00:00    
- Fedora 38 openh264 (From Cisco) - x86_64        9.4 kB/s | 989  B     00:00    
- Fedora Modular 38 - x86_64                       60 kB/s | 5.9 kB     00:00    
- Fedora 38 - x86_64 - Updates                     53 kB/s | 5.9 kB     00:00    
- Fedora Modular 38 - x86_64 - Updates             61 kB/s | 5.8 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[hxd.dev] synchronised (no changes)


[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.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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).
2024-06-19 06:40.55 ---> saved as "14474342967a99cbcc09ed241c11758af2d89d332580c9dd3169f6e9cc9f9676"


/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.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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 cmdliner          1.3.0
  - install dune              3.16.0
  - install csexp             1.5.2
  - install dune-configurator 3.16.0
===== 4 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed dune-configurator.3.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-19 06:42.06 ---> saved as "b5372f4ba3b6e18cb8fefa1c54e830ff448765a95b62bb61db86911545237197"


/src: (copy (src .) (dst /src))
2024-06-19 06:42.07 ---> saved as "76a9b52e257de8ee7fe8e36f5ff6a15b66f5efc34b9a3981cc6020a7dec821bc"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-06-19 06:42.10 ---> saved as "16b84e2be9718829ee89073e7e051cd8b5fcfd42f2ebec945d57b17b0e935331"
Job succeeded
2024-06-19 06:42.11: Job succeeded