Organisationskit-ty-katemastodon-archive-viewerb4e9f7 (master)fedora-39-4.14_opam-2.1

fedora-39-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-04-30 09:11.16: New job: test kit-ty-kate/mastodon-archive-viewer https://github.com/kit-ty-kate/mastodon-archive-viewer.git#refs/heads/master (b4e9f7c8b27fdff14478365ba6f35f4abbfdc9be) (linux-x86_64:fedora-39-4.14_opam-2.1)
Base: ocaml/opam@sha256:ed7c1e0d99e0721e1f70d37387d85dc50ee1cd18e94bb53a454c6064400c0db3
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/kit-ty-kate/mastodon-archive-viewer.git" -b "master" && cd "mastodon-archive-viewer" && git reset --hard b4e9f7c8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:ed7c1e0d99e0721e1f70d37387d85dc50ee1cd18e94bb53a454c6064400c0db3
# 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 e90e14059cec32db91a535e4d257f4189d19feb9 || git fetch origin master) && git reset -q --hard e90e14059cec32db91a535e4d257f4189d19feb9 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mastodon-archive-viewer.opam ./
RUN opam pin add -yn mastodon-archive-viewer.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cmdliner.1.2.0 conf-ffmpeg.1 conf-pkg-config.3 containers.3.13.1 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 either.1.0.0 ezjsonm.1.3.0 ffmpeg-av.1.1.11 ffmpeg-avcodec.1.1.11 ffmpeg-avutil.1.1.11 fmt.0.9.0 hex.1.5.0 jsonm.1.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ptime.1.1.0 re.1.11.0 seq.base sexplib0.v0.17.0 topkg.1.0.7 tyxml.4.6.0 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mastodon-archive-viewer.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-04-30 09:11.16: Using cache hint "kit-ty-kate/mastodon-archive-viewer-ocaml/opam@sha256:ed7c1e0d99e0721e1f70d37387d85dc50ee1cd18e94bb53a454c6064400c0db3-fedora-39-4.14_opam-2.1-f46531d5e8c2b2ac9d81ff35270b9c73"
2024-04-30 09:11.16: Using OBuilder spec:
((from ocaml/opam@sha256:ed7c1e0d99e0721e1f70d37387d85dc50ee1cd18e94bb53a454c6064400c0db3)
 (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 e90e14059cec32db91a535e4d257f4189d19feb9 || git fetch origin master) && git reset -q --hard e90e14059cec32db91a535e4d257f4189d19feb9 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mastodon-archive-viewer.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mastodon-archive-viewer.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base cmdliner.1.2.0 conf-ffmpeg.1 conf-pkg-config.3 containers.3.13.1 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 either.1.0.0 ezjsonm.1.3.0 ffmpeg-av.1.1.11 ffmpeg-avcodec.1.1.11 ffmpeg-avutil.1.1.11 fmt.0.9.0 hex.1.5.0 jsonm.1.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ptime.1.1.0 re.1.11.0 seq.base sexplib0.v0.17.0 topkg.1.0.7 tyxml.4.6.0 uutf.1.0.3")
 (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 mastodon-archive-viewer.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-04-30 09:11.16: Waiting for resource in pool OCluster
2024-04-30 21:29.15: Waiting for worker…
2024-04-30 21:39.42: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at b4e9f7c Version 0.4.0


(from ocaml/opam@sha256:ed7c1e0d99e0721e1f70d37387d85dc50ee1cd18e94bb53a454c6064400c0db3)
2024-04-30 21:40.21 ---> saved as "de5c85e07ee957c3bc1265b45c1243eb411cb9ddce0938b3d6424d1fb62b675a"


/: (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                    221 kB/s |  24 kB     00:00    
Fedora 39 - x86_64 - Updates                    1.8 MB/s | 5.1 MB     00:02    
Last metadata expiration check: 0:00:18 ago on Tue Apr 30 21:40:25 2024.
Package findutils-1:4.9.0-5.fc39.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-04-30 21:40.49 ---> saved as "c83495299c31d099e69c8ae8d78b7d87dbcacc4a0da1d6de3ba106095978cc72"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-30 21:40.49 ---> saved as "9900d95d490eb7388fac05e6319c9fec3bfcd14a566dc9d93a3295f7196fec06"


/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-04-30 21:42.04 ---> saved as "93df74f63cd2c4616683b082f460a7adde58962d579e2601f9bf4cc755893cf0"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-30 21:42.05 ---> saved as "e051b4c4fe40af6432c57ad1c5b3847c92265813c1723580447b65ec069fe6e2"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 21:42.05 ---> saved as "12f1339482168279e6b6ff9d29ff95d72a63bc254a0f4c7c402c007570a4d23b"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e e90e14059cec32db91a535e4d257f4189d19feb9 || git fetch origin master) && git reset -q --hard e90e14059cec32db91a535e4d257f4189d19feb9 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   6a2ad82c27..bafea8d973  master     -> origin/master
e90e14059c Merge pull request #25773 from public-release/opam-publish-sexplib0.v0.17.0


<><> 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-04-30 21:43.22 ---> saved as "e729453ae70dfc818ce3843494f94ff2afe10b120f647c66e326ba830d07ec79"


/src: (copy (src mastodon-archive-viewer.opam) (dst ./))
2024-04-30 21:43.22 ---> saved as "72bcb07b43ba7ebaa0bcb2e991bd489b756f926672029d148a58ec9eed20d337"


/src: (run (network host)
           (shell "opam pin add -yn mastodon-archive-viewer.dev './'"))
[mastodon-archive-viewer.dev] synchronised (file:///src)
mastodon-archive-viewer is now pinned to file:///src (version dev)
2024-04-30 21:43.24 ---> saved as "85eb95ca85ffab4359c4ecbb64b2c2f27e7cf813d3b2696fe91de36ad048e80a"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cmdliner.1.2.0 conf-ffmpeg.1 conf-pkg-config.3 containers.3.13.1 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 either.1.0.0 ezjsonm.1.3.0 ffmpeg-av.1.1.11 ffmpeg-avcodec.1.1.11 ffmpeg-avutil.1.1.11 fmt.0.9.0 hex.1.5.0 jsonm.1.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ptime.1.1.0 re.1.11.0 seq.base sexplib0.v0.17.0 topkg.1.0.7 tyxml.4.6.0 uutf.1.0.3")


/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 mastodon-archive-viewer.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 39 - x86_64                              282 kB/s |  25 kB     00:00    
- Fedora 39 openh264 (From Cisco) - x86_64        3.7 kB/s | 989  B     00:00    
- Fedora 39 - x86_64 - Updates                    240 kB/s |  24 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mastodon-archive-viewer.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).


The following system packages will first need to be installed:
    ffmpeg-devel


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "yum" "install" "-y" "ffmpeg-devel"
- Last metadata expiration check: 0:00:16 ago on Tue Apr 30 21:43:25 2024.
- No match for argument: ffmpeg-devel
- Error: Unable to find a match: ffmpeg-devel
These commands should get the requirements installed:


    yum install -y ffmpeg-devel
    rpm -q --whatprovides ffmpeg-devel


[ERROR] System package install failed with exit code 1 at command:
            sudo yum install -y ffmpeg-devel
2024-04-30 21:43.42 ---> saved as "399c989f178406dd5729ceb43693660952575d055bf841543802929b7d799d46"


/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-pkg-config   3
  - install cmdliner          1.2.0
  - install ocamlfind         1.9.6
  - install seq               base
  - install dune              3.15.2
  - install conf-ffmpeg       1
  - install topkg             1.0.7
  - install sexplib0          v0.17.0
  - install re                1.11.0
  - install either            1.0.0
  - install csexp             1.5.2
  - install uutf              1.0.3
  - install ptime             1.1.0
  - install fmt               0.9.0
  - install dune-configurator 3.15.2
  - install tyxml             4.6.0
  - install jsonm             1.0.2
  - install cstruct           6.2.0
  - install ffmpeg-avutil     1.1.11
  - install containers        3.13.1
  - install hex               1.5.0
  - install ffmpeg-avcodec    1.1.11
  - install ezjsonm           1.3.0
  - install ffmpeg-av         1.1.11
===== 25 to install =====


The following system packages will first need to be installed:
    ffmpeg-devel


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "yum" "install" "-y" "ffmpeg-devel"
- Last metadata expiration check: 0:00:31 ago on Tue Apr 30 21:43:25 2024.
- No match for argument: ffmpeg-devel
- Error: Unable to find a match: ffmpeg-devel
You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages altogether.
[ERROR] System package install failed with exit code 1 at command:
            sudo yum install -y ffmpeg-devel
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 10
2024-04-30 21:43.57: Job failed: Failed: Build failed