Organisationskit-ty-katemastodon-archive-viewerb4e9f7 (master)ubuntu-20.04-4.14_opam-2.1

ubuntu-20.04-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:ubuntu-20.04-4.14_opam-2.1)
Base: ocaml/opam@sha256:883c733b5cd06745d394a90a9904762c9af57ad4136c5818e258502d8aa2ddb2
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:883c733b5cd06745d394a90a9904762c9af57ad4136c5818e258502d8aa2ddb2
# ubuntu-20.04-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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:883c733b5cd06745d394a90a9904762c9af57ad4136c5818e258502d8aa2ddb2-ubuntu-20.04-4.14_opam-2.1-f46531d5e8c2b2ac9d81ff35270b9c73"
2024-04-30 09:11.16: Using OBuilder spec:
((from ocaml/opam@sha256:883c733b5cd06745d394a90a9904762c9af57ad4136c5818e258502d8aa2ddb2)
 (comment ubuntu-20.04-4.14_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (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.12: Waiting for worker…
2024-04-30 21:39.38: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at b4e9f7c Version 0.4.0


(from ocaml/opam@sha256:883c733b5cd06745d394a90a9904762c9af57ad4136c5818e258502d8aa2ddb2)
2024-04-30 21:39.38 ---> using "c7bf33d94e681de1f20943d11cb0c4972a6d1fbbcc13de77fa2572b4279c2375" from cache


/: (comment ubuntu-20.04-4.14_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-30 21:39.38 ---> using "78424ae8159ee0fe24c33aee4f3fc106941db77acc7fab98d09b60aaf72a00e4" 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-04-30 21:39.38 ---> using "0fc510c6563ca773bf4ea8e90d93e3c9ad6f37c27834f944b8a96973527e84e0" from cache


/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:39.38 ---> using "c6b64910bdbdfe15a49248edeb35ca745bc05d12c5c122d700d0f9009f3e11a2" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 21:39.38 ---> using "f120162ae84143a294da43d8468749c7385c79683fd52e48c56376a239a1a6b3" 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:39.38 ---> using "85dd3c386190f010e1bfd11734e26c2f4c9506a22a6d65403ba8c277d4e49bd8" from cache


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


/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:39.40 ---> saved as "7d1ff01b45d7cf24a1cd9877f87fa5bcc7e228f3ae225072d5cd7d6e785ce98a"


/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 "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
- Get:5 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1496 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.5 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3686 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4069 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1201 kB]
- Get:10 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [29.8 kB]
- Get:11 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3595 kB]
- Get:12 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3536 kB]
- Fetched 17.9 MB in 2s (10.9 MB/s)
- Reading package lists...
- 


<><> 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:
    libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libavcodec-dev" "libavdevice-dev" "libavfilter-dev" "libavformat-dev" "libavutil-dev" "libswresample-dev" "libswscale-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed


- Regenerating fonts cache... 


2024-04-30 21:40.27 ---> saved as "7a79ce0a02ed3e13bbdfc0afb870fc530eede867bb61c53b11865ce24d04713e"


/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 =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved containers.3.13.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.3
-> retrieved cstruct.6.2.0  (cached)
-> installed conf-ffmpeg.1
-> retrieved either.1.0.0  (cached)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved ffmpeg-av.1.1.11  (cached)
-> retrieved ffmpeg-avcodec.1.1.11  (cached)
-> retrieved ffmpeg-avutil.1.1.11  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved re.1.11.0  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> installed cmdliner.1.2.0
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed ptime.1.1.0
-> installed jsonm.1.0.2
-> installed dune.3.15.2
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed either.1.0.0
-> installed sexplib0.v0.17.0
-> installed hex.1.5.0
-> installed re.1.11.0
-> installed ezjsonm.1.3.0
-> installed dune-configurator.3.15.2
-> installed ffmpeg-avutil.1.1.11
-> installed containers.3.13.1
-> installed tyxml.4.6.0
[ERROR] The compilation of ffmpeg-avcodec.1.1.11 failed at "dune build -p ffmpeg-avcodec -j 31 @install".


#=== ERROR while compiling ffmpeg-avcodec.1.1.11 ==============================#
# context     2.1.5 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path        ~/.opam/4.14/.opam-switch/build/ffmpeg-avcodec.1.1.11
# command     ~/.opam/4.14/bin/dune build -p ffmpeg-avcodec -j 31 @install
# exit-code   1
# env-file    ~/.opam/log/ffmpeg-avcodec-1-f23feb.env
# output-file ~/.opam/log/ffmpeg-avcodec-1-f23feb.out
### output ###
# File "avcodec/dune", line 15, characters 0-99:
# 15 | (rule
# 16 |  (targets c_flags c_flags.sexp c_library_flags.sexp)
# 17 |  (action
# 18 |   (run ./config/discover.exe)))
# (cd _build/default/avcodec && config/discover.exe)
# which: pkg-config
# -> found: /usr/bin/pkg-config
# run: /usr/bin/pkg-config --print-errors 'libavcodec >= 58.87.100'
# -> process exited with code 1
# -> stdout:
# -> stderr:
#  | Requested 'libavcodec >= 58.87.100' but version of libavcodec is 58.54.100
# Fatal error: exception Failure("Requested 'libavcodec >= 58.87.100' but version of libavcodec is 58.54.100\n")


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ffmpeg-avcodec 1.1.11
+- 
+- The following changes have been performed (the rest was aborted)
| - install cmdliner          1.2.0
| - install conf-ffmpeg       1
| - install conf-pkg-config   3
| - install containers        3.13.1
| - install csexp             1.5.2
| - install cstruct           6.2.0
| - install dune              3.15.2
| - install dune-configurator 3.15.2
| - install either            1.0.0
| - install ezjsonm           1.3.0
| - install ffmpeg-avutil     1.1.11
| - install fmt               0.9.0
| - install hex               1.5.0
| - install jsonm             1.0.2
| - install ocamlbuild        0.14.3
| - install ocamlfind         1.9.6
| - install ptime             1.1.0
| - install re                1.11.0
| - install seq               base
| - install sexplib0          v0.17.0
| - install topkg             1.0.7
| - install tyxml             4.6.0
| - install uutf              1.0.3
+- 
# Run eval $(opam env) to update the current shell environment


The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20240430214028.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2024-04-30 21:41.07: Job failed: Failed: Build failed