Organisationskit-ty-katemastodon-archive-viewerb4e9f7 (master)fedora-38-5.1_opam-2.1

fedora-38-5.1_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-38-5.1_opam-2.1)
Base: ocaml/opam@sha256:85d9573f01137abd00ee09096b477fcfcec820e93fc2c5fcadb5ac9b04d6ae37
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:85d9573f01137abd00ee09096b477fcfcec820e93fc2c5fcadb5ac9b04d6ae37
# fedora-38-5.1_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-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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:85d9573f01137abd00ee09096b477fcfcec820e93fc2c5fcadb5ac9b04d6ae37-fedora-38-5.1_opam-2.1-458720c9f4d47fd731f86755bc8f81ca"
2024-04-30 09:11.16: Using OBuilder spec:
((from ocaml/opam@sha256:85d9573f01137abd00ee09096b477fcfcec820e93fc2c5fcadb5ac9b04d6ae37)
 (comment fedora-38-5.1_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-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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.16: Waiting for worker…
2024-04-30 21:39.42: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
HEAD is now at b4e9f7c Version 0.4.0


(from ocaml/opam@sha256:85d9573f01137abd00ee09096b477fcfcec820e93fc2c5fcadb5ac9b04d6ae37)
2024-04-30 21:39.43 ---> using "de60c409cb1c0e1ac257fc774bca3ca74478d8699cc1dc0a6a2f3e9c2cfd336e" from cache


/: (comment fedora-38-5.1_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                              270 kB/s |  26 kB     00:00    
Fedora 38 openh264 (From Cisco) - x86_64        8.9 kB/s | 989  B     00:00    
Fedora Modular 38 - x86_64                      219 kB/s |  25 kB     00:00    
Fedora 38 - x86_64 - Updates                    224 kB/s |  24 kB     00:00    
Fedora 38 - x86_64 - Updates                    1.0 MB/s | 8.5 MB     00:08    
Fedora Modular 38 - x86_64 - Updates            245 kB/s |  24 kB     00:00    
Package findutils-1:4.9.0-3.fc38.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-04-30 21:39.43 ---> using "497a8e4daa754da5bdda159d4b933cda5348e7622d389d75e1330ead5206e3c2" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-30 21:39.43 ---> using "dd87580101a756f59e4d8f59698019dbd3fcbc0662cf618e275093d37b736216" 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-04-30 21:39.43 ---> using "5f46fa255f3da73e72eb893efdb06e82a5c3e5f5d1f9a984698c35f3a5ab1e35" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-30 21:39.43 ---> using "e224fa3c0ea6675cb74e379311c9bff3f08254e450ab79085b058f440cd89a0b" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 21:39.43 ---> using "3d092247105e3a58e6226fd46d8707b546b46cb4773aede6f511dbed82014a84" from cache


/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
   c516155a4b..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:41.03 ---> saved as "793c2e59fe2a1e23c33c6bf39d439d70f24679d228bedc7915d11726f97b7671"


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


/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:41.04 ---> saved as "e64441039875beb423870b47c3b35040bc4405fd0fe4db713d83f5a5b03c22dd"


/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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 38 - x86_64                              199 kB/s |  26 kB     00:00    
- Fedora 38 openh264 (From Cisco) - x86_64        9.3 kB/s | 989  B     00:00    
- Fedora Modular 38 - x86_64                      191 kB/s |  25 kB     00:00    
- Fedora 38 - x86_64 - Updates                    176 kB/s |  24 kB     00:00    
- Fedora Modular 38 - x86_64 - Updates            224 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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 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:24 ago on Tue Apr 30 21:41:08 2024.
- No match for argument: ffmpeg-devel
- Error: Unable to find a match: ffmpeg-devel
[ERROR] System package install failed with exit code 1 at command:
            sudo yum install -y ffmpeg-devel
These commands should get the requirements installed:


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


2024-04-30 21:41.33 ---> saved as "bd4e029463343fbf1076af5ebee0e77dd150a37a638cb74f371dc33cea4bf480"


/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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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 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:42 ago on Tue Apr 30 21:41:08 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:41.51: Job failed: Failed: Build failed