OrganisationsMisterDAwindows-version1994f5 (main)fedora-39-4.14_opam-2.1

fedora-39-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-05-26 10:58.12: New job: test MisterDA/windows-version https://github.com/MisterDA/windows-version.git#refs/heads/main (1994f53476c9203ee587ea28e421dc8d1cde74bf) (linux-x86_64:fedora-39-4.14_opam-2.1)
Base: ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/MisterDA/windows-version.git" -b "main" && cd "windows-version" && git reset --hard 1994f534
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d
# fedora-39-4.14_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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 windows-version.opam ./
RUN opam pin add -yn windows-version.dev './'
ENV DEPS="astring.0.8.5 base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 cppo.1.6.9 csexp.1.5.2 dune.3.15.3 dune-configurator.3.15.3 fmt.0.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppx_deriving.5.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 result.1.5 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y windows-version.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-05-26 10:58.12: Using cache hint "MisterDA/windows-version-ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d-fedora-39-4.14_opam-2.1-3be0bd0617320265b2a306d3b998ea75"
2024-05-26 10:58.12: Using OBuilder spec:
((from ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d)
 (comment fedora-39-4.14_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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src windows-version.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn windows-version.dev './'"))
 (env DEPS "astring.0.8.5 base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 cppo.1.6.9 csexp.1.5.2 dune.3.15.3 dune-configurator.3.15.3 fmt.0.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppx_deriving.5.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 result.1.5 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7")
 (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 windows-version.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-05-26 10:58.12: Waiting for resource in pool OCluster
2024-05-26 12:39.37: Waiting for worker…
2024-05-26 12:42.12: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/windows-version.git-8248092dec45a4591ed4d07421ecbcfbcf9b679d/.git/
HEAD is now at 1994f53 Initial import from ocaml-dockerfile


(from ocaml/opam@sha256:e8ae1296da35f446c91b13eba7f875bf760cc9b5703f464559e784515b2d9d4d)
2024-05-26 12:42.13 ---> using "8be36eb9fa5be1c0db7100501b6b3334f28c20287953793be6661072a4a65611" from cache


/: (comment fedora-39-4.14_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 39 - x86_64 - Updates                    136 kB/s |  19 kB     00:00    
Fedora 39 - x86_64 - Updates                    3.7 MB/s | 6.0 MB     00:01    
Last metadata expiration check: 0:00:19 ago on Sun May 26 11:19:46 2024.
Package findutils-1:4.9.0-5.fc39.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-05-26 12:42.13 ---> using "c42d71c4bfc0b341206e1bf2b37d4fce65972aa11b31622ff94ccc2a8008641b" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-26 12:42.13 ---> using "50ceee5cfd97ae62d2b5a6a39b83e98b810e8a412868bffa9fcd7692c2e9e53c" 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 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.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-26 12:42.13 ---> using "b7237503aa3e482d95880200ef815c95b060d1db4ad15c14cf2946d909d70866" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-107-generic
The OCaml toplevel, version 4.14.2
2.1.6
2024-05-26 12:42.13 ---> using "23a2f685c9e2a9e1bd630b467869de099e3dfa040956abfce6696a5a3ede64d8" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-26 12:42.13 ---> using "b886634df2fb69c8bb38b67d8f45fa7d5008aade44b8df2f1fb8ef4444b472b8" from cache


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


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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
2024-05-26 12:42.13 ---> using "af8e5efc2a7b263d264b1e052b9d606886c48a4049923a18a41d7d2233c5cae5" from cache


/src: (copy (src windows-version.opam) (dst ./))
2024-05-26 12:42.13 ---> saved as "bd414bc2f2abc442e4424125f4626ae0f6fcad9ea23f212afec756092a3751ea"


/src: (run (network host)
           (shell "opam pin add -yn windows-version.dev './'"))
Package windows-version does not exist, create as a NEW package? [Y/n] y
[windows-version.dev] synchronised (file:///src)
windows-version is now pinned to file:///src (version dev)
2024-05-26 12:42.15 ---> saved as "ee1e6b6662ced0d0da4fa364d82269227abc223db1a9099010aed29fdbcac2ef"


/src: (env DEPS "astring.0.8.5 base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 cppo.1.6.9 csexp.1.5.2 dune.3.15.3 dune-configurator.3.15.3 fmt.0.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppx_deriving.5.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 result.1.5 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7")


/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 windows-version.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 39 - x86_64                              245 kB/s |  25 kB     00:00    
- Fedora 39 openh264 (From Cisco) - x86_64         11 kB/s | 989  B     00:00    
- Fedora 39 - x86_64 - Updates                    202 kB/s |  19 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[windows-version.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 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).
2024-05-26 12:42.39 ---> saved as "70e837dd0a4d8944fc00f229026c7a583fc586d5a9dbe5121f42b2fca9aa5eac"


/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 ocamlbuild          0.14.3
  - install conf-bash           1
  - install dune                3.15.3
  - install ocamlfind           1.9.6
  - install stdlib-shims        0.3.0
  - install sexplib0            v0.16.0
  - install result              1.5
  - install ppx_derivers        1.2.1
  - install ocaml-compiler-libs v0.12.4
  - install csexp               1.5.2
  - install cppo                1.6.9
  - install topkg               1.0.7
  - install ppxlib              0.32.1
  - install dune-configurator   3.15.3
  - install fmt                 0.9.0
  - install astring             0.8.5
  - install ppx_deriving        5.2.1
  - install base                v0.16.3
  - install ppx_sexp_conv       v0.16.0
===== 19 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.3  (cached)
-> retrieved cppo.1.6.9  (cached)
-> installed conf-bash.1
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.5.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved ppxlib.0.32.1  (cached)
-> retrieved result.1.5  (cached)
-> retrieved dune.3.15.3  (cached)
-> retrieved dune-configurator.3.15.3  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.15.3
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.6.9
-> installed dune-configurator.3.15.3
-> installed base.v0.16.3
-> installed ppxlib.0.32.1
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_deriving.5.2.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-26 12:44.18 ---> saved as "fb8de508017f678b50326acf52b318a6b75c8e9b60923d9d405390f1af2d17f2"


/src: (copy (src .) (dst /src))
2024-05-26 12:44.18 ---> saved as "ff7b536fa78ae8364da8a9a2b3194b7d92733e4de56082ae15dcb6fee8062a9a"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-05-26 12:44.20 ---> saved as "09870e7bfad909e22df11267e46b69cad5dd72ce446e560d189a34ab2bbfe050"
Job succeeded
2024-05-26 12:44.21: Job succeeded