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:debian-10-5.1_opam-2.1)
Base: ocaml/opam@sha256:f9c98c89a9f90512c7212f775c4325b193745137bab47c1cd4214820f619ec31
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:f9c98c89a9f90512c7212f775c4325b193745137bab47c1cd4214820f619ec31
# debian-10-5.1_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-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:f9c98c89a9f90512c7212f775c4325b193745137bab47c1cd4214820f619ec31-debian-10-5.1_opam-2.1-458720c9f4d47fd731f86755bc8f81ca"
2024-04-30 09:11.16: Using OBuilder spec:
((from ocaml/opam@sha256:f9c98c89a9f90512c7212f775c4325b193745137bab47c1cd4214820f619ec31)
(comment debian-10-5.1_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-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.35: Waiting for worker…
2024-04-30 21:40.10: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at b4e9f7c Version 0.4.0
(from ocaml/opam@sha256:f9c98c89a9f90512c7212f775c4325b193745137bab47c1cd4214820f619ec31)
2024-04-30 22:05.12 ---> using "84ed1701c40023b3205a058cc530bdeb8e58cea3d7c744c7f2e50c610ef044bc" from cache
/: (comment debian-10-5.1_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 22:05.12 ---> using "49b4555ee7b82caaa714db5a99632ba20dc57c9bd07ee06dd83e4327e68c033a" 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 22:05.12 ---> using "398a48e4cb033f949556b387d8dd96872ec2a702a302ada2ae0c6704db0e2908" 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 22:05.12 ---> using "5f88896ec94143ad836ab5f3a78fda4ce6c6a33f093886b056b6919808226760" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-30 22:05.12 ---> using "8d8da3ecceac3deffcdba2f3840b4f9fe5ed5243ae3b000832b31e29f90ef324" 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 22:05.12 ---> using "dff2ff88fbb991d77155abd36bf2991bd10d6c962be627c41bd876eb3658df43" from cache
/src: (copy (src mastodon-archive-viewer.opam) (dst ./))
2024-04-30 22:05.12 ---> saved as "bd433ddd0d887b338a0bbd2ff0c276bf57f598d1db813f95910df8f6740cc0e7"
/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 22:05.16 ---> saved as "915f8df91229d08473aeba48ddf4665a125493c35817a446f23da3dbe45e9512"
/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 "apt-get" "update"
- Hit:1 http://deb.debian.org/debian buster InRelease
- Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
- Hit:3 http://deb.debian.org/debian buster-updates InRelease
- Get:4 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [596 kB]
- Fetched 631 kB in 0s (1447 kB/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 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:
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 22:05.54 ---> saved as "7ce206f3955c767ad10861426bef2379d629264da7acac80993023b9ee63dd93"
/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 =====
<><> 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 dune.3.15.2 (cached)
-> retrieved dune-configurator.3.15.2 (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)
-> installed seq.base
-> retrieved ptime.1.1.0 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> 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 39 @install".
#=== ERROR while compiling ffmpeg-avcodec.1.1.11 ==============================#
# context 2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/opam/opam-repository
# path ~/.opam/5.1/.opam-switch/build/ffmpeg-avcodec.1.1.11
# command ~/.opam/5.1/bin/dune build -p ffmpeg-avcodec -j 39 @install
# exit-code 1
# env-file ~/.opam/log/ffmpeg-avcodec-1-7dedd1.env
# output-file ~/.opam/log/ffmpeg-avcodec-1-7dedd1.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.35.100
# Fatal error: exception Failure("Requested 'libavcodec >= 58.87.100' but version of libavcodec is 58.35.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/5.1/.opam-switch/backup/state-20240430220554.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2024-04-30 22:06.35: Job failed: Failed: Build failed