Build:
  1. 0
2024-01-29 15:19.06: New job: Voodoo prep ffmpeg.0.1.1; af6e93192c0de2d277e8e53dce16cb90
2024-01-29 15:19.06: Waiting for resource in pool OCluster
2024-01-29 19:26.37: Waiting for worker…
2024-01-29 19:27.07: Got resource from pool OCluster
2024-01-29 19:27.07: Using cache hint "docs-universe-prep-4.14.1"

To reproduce locally:

cat > prep.spec <<'END-OF-SPEC'
((build tools
        ((from ocaml/opam:debian-12-ocaml-4.14@sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef)
         (user (uid 1000) (gid 1000))
         (workdir /home/opam)
         (run (shell "sudo chown opam:opam /home/opam"))
         (run (network host)
              (shell "sudo apt-get update && sudo apt-get install -yy m4 pkg-config"))
         (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
              (network host)
              (shell "opam pin -ny https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9  && opam depext -iy voodoo-prep"))
         (run (shell "cp $(opam config var bin)/voodoo-prep /home/opam"))))
 (from ocaml/opam:debian-12-ocaml-4.14@sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo chown opam:opam /home/opam"))
 (run (shell "sudo mkdir /src"))
 (copy (src packages) (dst /src/packages))
 (copy (src repo) (dst /src/repo))
 (run (network host)
      (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam init --reinit -ni"))
 (run (shell "opam repo remove default && opam repo add opam /src"))
 (copy (from (build tools)) (src /home/opam/voodoo-prep) (dst /home/opam/))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
      (network host)
      (shell "opam install ocamlfind.1.9.6"))
 (env DUNE_CACHE disabled)
 (env DUNE_CACHE_TRANSPORT direct)
 (env DUNE_CACHE_DUPLICATION copy)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
      (network host)
      (shell "(sudo apt update) && ((opam depext -viy ffmpeg.0.1.1 ocamlfind.1.9.6 conf-pkg-config.3 2>&1 | tee ~/opam.err.log) || echo 'Failed to install all packages')"))
 (run (shell "opam exec -- ~/voodoo-prep -u ffmpeg:af6e93192c0de2d277e8e53dce16cb90"))
 (run (network host)
      (secrets (ssh_privkey (target /home/opam/.ssh/id_rsa)) (ssh_pubkey (target /home/opam/.ssh/id_rsa.pub)) (ssh_config (target /home/opam/.ssh/config)))
      (shell "(echo '0.809142') && (for DATA in prep/universes/af6e93192c0de2d277e8e53dce16cb90/ffmpeg/0.1.1,ffmpeg.0.1.1-af6e93192c0de2d277e8e53dce16cb90,ffmpeg.0.1.1; do IFS=\",\"; set -- $DATA; ([ -d $1 ] || (echo \"FAILED:$2\" && mkdir -p $1 && cp ~/opam.err.log $1 && opam show $3 --raw > $1/opam)) && (shopt -s nullglob && ((tar -cvf $1.tar $1/*  && rm -R $1/* && mv $1.tar $1/content.tar) || (echo 'Empty directory'))) done) && (for DATA in prep/universes/af6e93192c0de2d277e8e53dce16cb90/ffmpeg/0.1.1,ffmpeg.0.1.1-af6e93192c0de2d277e8e53dce16cb90,ffmpeg.0.1.1; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/af6e93192c0de2d277e8e53dce16cb90/ffmpeg/0.1.1,ffmpeg.0.1.1-af6e93192c0de2d277e8e53dce16cb90,ffmpeg.0.1.1; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
)
END-OF-SPEC

ocluster-client submit-obuilder https://github.com/ocaml/opam-repository.git b9b4a35f2e7b2933c4efdf66c532408f2be8d75c --local-file prep.spec \
--pool linux-x86_64 --connect ocluster-submission.cap --cache-hint docs-universe-prep-4.14.1 \
--secret ssh_privkey:id_rsa --secret ssh_pubkey:id_rsa.pub--secret ssh_config:ssh_config

2024-01-29 19:27.07: RETRYING: 2024-01-29/151906-voodoo-prep-f8334e Number of retries: 0 (retriable error condition)
Building on phoebe.caelum.ci.dev
All commits already cached
Updating files:  70% (22824/32511)
Updating files:  71% (23083/32511)
Updating files:  72% (23408/32511)
Updating files:  73% (23734/32511)
Updating files:  74% (24059/32511)
Updating files:  75% (24384/32511)
Updating files:  76% (24709/32511)
Updating files:  77% (25034/32511)
Updating files:  78% (25359/32511)
Updating files:  79% (25684/32511)
Updating files:  80% (26009/32511)
Updating files:  81% (26334/32511)
Updating files:  82% (26660/32511)
Updating files:  83% (26985/32511)
Updating files:  84% (27310/32511)
Updating files:  85% (27635/32511)
Updating files:  86% (27960/32511)
Updating files:  87% (28285/32511)
Updating files:  88% (28610/32511)
Updating files:  89% (28935/32511)
Updating files:  90% (29260/32511)
Updating files:  91% (29586/32511)
Updating files:  92% (29911/32511)
Updating files:  93% (30236/32511)
Updating files:  94% (30561/32511)
Updating files:  95% (30886/32511)
Updating files:  96% (31211/32511)
Updating files:  97% (31536/32511)
Updating files:  98% (31861/32511)
Updating files:  99% (32186/32511)
Updating files: 100% (32511/32511)
Updating files: 100% (32511/32511), done.
HEAD is now at b9b4a35f2e Add Linux Mint support to conf-pkg-config.3

(build "tools" …)

(from ocaml/opam:debian-12-ocaml-4.14@sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef' locally
docker.io/ocaml/opam@sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef: Pulling from ocaml/opam
82e8c0c7d92b: Pulling fs layer
82e8c0c7d92b: Verifying Checksum
82e8c0c7d92b: Download complete
82e8c0c7d92b: Pull complete
Digest: sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef
Status: Downloaded newer image for ocaml/opam@sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef
2024-01-29 19:22.18 ---> using "1f16aa8fbc1a229ca02cdf7d8b4234eb4608a9074cec5292a9e72517b48fb577" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-01-29 19:22.18 ---> using "258ae3900365106d3b475f7327e1977f1a9ae54d4b6cd6e024f1ed5ef4f3381c" from cache

/home/opam: (run (network host)
                 (shell "sudo apt-get update && sudo apt-get install -yy m4 pkg-config"))
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [134 kB]
Fetched 234 kB in 1s (281 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpkgconf3 pkgconf pkgconf-bin
Suggested packages:
  m4-doc
The following NEW packages will be installed:
  libpkgconf3 m4 pkg-config pkgconf pkgconf-bin
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 392 kB of archives.
After this operation, 969 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libpkgconf3 amd64 1.8.1-1 [36.1 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 pkgconf-bin amd64 1.8.1-1 [29.5 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 pkgconf amd64 1.8.1-1 [25.9 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 pkg-config amd64 1.8.1-1 [13.7 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 392 kB in 0s (5657 kB/s)
Selecting previously unselected package libpkgconf3:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18743 files and directories currently installed.)
Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
Unpacking m4 (1.4.19-3) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-1) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-1) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-1) ...
Setting up m4 (1.4.19-3) ...
Setting up libpkgconf3:amd64 (1.8.1-1) ...
Setting up pkgconf-bin (1.8.1-1) ...
Setting up pkgconf:amd64 (1.8.1-1) ...
Setting up pkg-config:amd64 (1.8.1-1) ...
Processing triggers for libc-bin (2.36-9+deb12u3) ...
2024-01-29 19:22.18 ---> using "d64ddc7053307a6e5bac376e2af0af138c2728532db1941a0e2c7ed3dcb6923f" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
                 (network host)
                 (shell "opam pin -ny https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9  && opam depext -iy voodoo-prep"))
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
This will pin the following packages: voodoo-prep, voodoo-lib, voodoo-gen, voodoo-do. Continue? [Y/n] y
Package voodoo-prep does not exist, create as a NEW package? [Y/n] y
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-prep is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
Package voodoo-lib does not exist, create as a NEW package? [Y/n] y
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-lib is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
Package voodoo-gen does not exist, create as a NEW package? [Y/n] y
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-gen is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
Package voodoo-do does not exist, create as a NEW package? [Y/n] y
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-do is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
# Now letting opam install the packages

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[voodoo-prep.~dev] no changes from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9

The following actions will be performed:
  - install ocamlbuild       0.14.3 [required by bos]
  - install cmdliner         1.2.0  [required by voodoo-prep]
  - install dune             3.13.0 [required by voodoo-prep]
  - install ocamlfind        1.9.6  [required by bos]
  - install seq              base   [required by re]
  - install stdlib-shims     0.3.0  [required by ocamlgraph]
  - install opam-file-format 2.1.6  [required by opam-format]
  - install cppo             1.6.9  [required by opam-core]
  - install topkg            1.0.7  [required by bos]
  - install re               1.11.0 [required by opam-format]
  - install ocamlgraph       2.1.0  [required by opam-core]
  - install rresult          0.7.0  [required by bos]
  - install fmt              0.9.0  [required by bos]
  - install astring          0.8.5  [required by bos]
  - install opam-core        2.1.5  [required by opam-format]
  - install logs             0.7.0  [required by bos]
  - install fpath            0.7.3  [required by voodoo-prep]
  - install opam-format      2.1.5  [required by voodoo-prep]
  - install bos              0.2.1  [required by voodoo-prep]
  - install voodoo-prep      ~dev*
===== 20 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[bos.0.2.1] found in cache
[cmdliner.1.2.0] found in cache
[cppo.1.6.9] found in cache
[dune.3.13.0] found in cache
[fmt.0.9.0] found in cache
[fpath.0.7.3] found in cache
[logs.0.7.0] found in cache
[ocamlbuild.0.14.3] found in cache
[ocamlfind.1.9.6] found in cache
[ocamlgraph.2.1.0] found in cache
[opam-core.2.1.5] found in cache
[opam-file-format.2.1.6] found in cache
[opam-format.2.1.5] found in cache
[re.1.11.0] found in cache
[rresult.0.7.0] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.0.7] found in cache
[voodoo-prep.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.13.0
-> installed stdlib-shims.0.3.0
-> installed opam-file-format.2.1.6
-> installed cppo.1.6.9
-> installed re.1.11.0
-> installed ocamlgraph.2.1.0
-> installed opam-core.2.1.5
-> installed opam-format.2.1.5
-> installed voodoo-prep.~dev
Done.
# Run eval $(opam env) to update the current shell environment
2024-01-29 19:22.18 ---> using "d95d2426ec6638d4946232810cc7377b78e0b12578cf93755f6aecdc254fcd78" from cache

/home/opam: (run (shell "cp $(opam config var bin)/voodoo-prep /home/opam"))
2024-01-29 19:22.18 ---> using "200b9dc9bbc6b05727626f4e73227cdcfa87e5df3b69dfe480b404d6323d60f8" from cache
2024-01-29 19:22.18 --> finished "tools"

(from ocaml/opam:debian-12-ocaml-4.14@sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef' locally
docker.io/ocaml/opam@sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef: Pulling from ocaml/opam
82e8c0c7d92b: Pulling fs layer
82e8c0c7d92b: Verifying Checksum
82e8c0c7d92b: Download complete
82e8c0c7d92b: Pull complete
Digest: sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef
Status: Downloaded newer image for ocaml/opam@sha256:8e390dbf29f7a115e5c8098ffb1a3c7234a873cf738a5ae22f3a4846122db9ef
2024-01-29 19:22.18 ---> using "1f16aa8fbc1a229ca02cdf7d8b4234eb4608a9074cec5292a9e72517b48fb577" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-01-29 19:22.18 ---> using "258ae3900365106d3b475f7327e1977f1a9ae54d4b6cd6e024f1ed5ef4f3381c" from cache

/home/opam: (run (shell "sudo mkdir /src"))
2024-01-29 19:22.18 ---> using "50a061015e57b489daec5893a083c81b93ec0b29b89dbcf9b55da6d4003431c6" from cache

/home/opam: (copy (src packages) (dst /src/packages))
2024-01-29 19:22.20 ---> using "08fb32b02300f595c6b9c245db514ecec45b08d6e343716bae33c23591221ba5" from cache

/home/opam: (copy (src repo) (dst /src/repo))
2024-01-29 19:22.20 ---> using "267bfde87ede2db3d7efd38faab25a8a260b314e818aa2dac27cc59e2b0d88f5" from cache

/home/opam: (run (network host)
                 (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && 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-01-29 19:22.20 ---> using "bf218c8b44f0ceac90603c99a089db1f1c0b219bf041e2d936b57a9981731da8" from cache

/home/opam: (run (shell "opam repo remove default && opam repo add opam /src"))
Repositories removed from the selections of switch 4.14. Use '--all' to forget about them altogether.
[opam] Initialised
[NOTE] Repository opam has been added to the selections of switch 4.14 only.
       Run `opam repository add opam --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2024-01-29 19:22.20 ---> using "2dabbcff1af834857e4089bff5fed7996ba88b2dd0ce5003457d1e289adbd0e2" from cache

/home/opam: (copy (from (build tools))
                  (src /home/opam/voodoo-prep)
                  (dst /home/opam/))
2024-01-29 19:22.20 ---> using "d6d797e8c73658b7ecc86e3e577612394e64fa463cc9402e350fc28c80320805" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
                 (network host)
                 (shell "opam install ocamlfind.1.9.6"))
The following actions will be performed:
  - install ocamlfind 1.9.6

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.6  (cached)
-> installed ocamlfind.1.9.6
Done.
# Run eval $(opam env) to update the current shell environment
2024-01-29 19:22.20 ---> using "5d57ea657159387535c8fc1862324260a59f263c79aed553390f6b2577c26c97" from cache

/home/opam: (env DUNE_CACHE disabled)

/home/opam: (env DUNE_CACHE_TRANSPORT direct)

/home/opam: (env DUNE_CACHE_DUPLICATION copy)

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
                 (network host)
                 (shell "(sudo apt update) && ((opam depext -viy ffmpeg.0.1.1 ocamlfind.1.9.6 conf-pkg-config.3 2>&1 | tee ~/opam.err.log) || echo 'Failed to install all packages')"))

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [134 kB]
Fetched 234 kB in 0s (729 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.1-1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1  (cached)
-> removed   opam-depext.1.2.1-1
-> installed opam-depext.1.2.1-1
Done.

<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy ffmpeg.0.1.1 ocamlfind.1.9.6 conf-pkg-config.3" 

You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libavutil-dev
libswscale-dev
pkg-config
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install conf-pkg-config 3
  - install ffmpeg          0.1.1
===== 2 to install =====

The following system packages will first need to be installed:
    libavutil-dev libswscale-dev pkg-config

<><> 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 "apt-get" "install" "-qq" "-yy" "libavutil-dev" "libswscale-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libva2:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18743 files and directories currently installed.)
- Preparing to unpack .../00-libva2_2.17.0-1_amd64.deb ...
- Unpacking libva2:amd64 (2.17.0-1) ...
- Selecting previously unselected package libdrm-common.
- Preparing to unpack .../01-libdrm-common_2.4.114-1_all.deb ...
- Unpacking libdrm-common (2.4.114-1) ...
- Selecting previously unselected package libdrm2:amd64.
- Preparing to unpack .../02-libdrm2_2.4.114-1+b1_amd64.deb ...
- Unpacking libdrm2:amd64 (2.4.114-1+b1) ...
- Selecting previously unselected package libpciaccess0:amd64.
- Preparing to unpack .../03-libpciaccess0_0.17-2_amd64.deb ...
- Unpacking libpciaccess0:amd64 (0.17-2) ...
- Selecting previously unselected package libdrm-intel1:amd64.
- Preparing to unpack .../04-libdrm-intel1_2.4.114-1+b1_amd64.deb ...
- Unpacking libdrm-intel1:amd64 (2.4.114-1+b1) ...
- Selecting previously unselected package i965-va-driver:amd64.
- Preparing to unpack .../05-i965-va-driver_2.4.1+dfsg1-1_amd64.deb ...
- Unpacking i965-va-driver:amd64 (2.4.1+dfsg1-1) ...
- Selecting previously unselected package libigdgmm12:amd64.
- Preparing to unpack .../06-libigdgmm12_22.3.3+ds1-1_amd64.deb ...
- Unpacking libigdgmm12:amd64 (22.3.3+ds1-1) ...
- Selecting previously unselected package intel-media-va-driver:amd64.
- Preparing to unpack .../07-intel-media-va-driver_23.1.1+dfsg1-1_amd64.deb ...
- Unpacking intel-media-va-driver:amd64 (23.1.1+dfsg1-1) ...
- Selecting previously unselected package libmfx1:amd64.
- Preparing to unpack .../08-libmfx1_22.5.4-1_amd64.deb ...
- Unpacking libmfx1:amd64 (22.5.4-1) ...
- Selecting previously unselected package libva-drm2:amd64.
- Preparing to unpack .../09-libva-drm2_2.17.0-1_amd64.deb ...
- Unpacking libva-drm2:amd64 (2.17.0-1) ...
- Selecting previously unselected package libx11-xcb1:amd64.
- Preparing to unpack .../10-libx11-xcb1_2%3a1.8.4-2+deb12u2_amd64.deb ...
- Unpacking libx11-xcb1:amd64 (2:1.8.4-2+deb12u2) ...
- Selecting previously unselected package libxcb-dri3-0:amd64.
- Preparing to unpack .../11-libxcb-dri3-0_1.15-1_amd64.deb ...
- Unpacking libxcb-dri3-0:amd64 (1.15-1) ...
- Selecting previously unselected package libxfixes3:amd64.
- Preparing to unpack .../12-libxfixes3_1%3a6.0.0-2_amd64.deb ...
- Unpacking libxfixes3:amd64 (1:6.0.0-2) ...
- Selecting previously unselected package libva-x11-2:amd64.
- Preparing to unpack .../13-libva-x11-2_2.17.0-1_amd64.deb ...
- Unpacking libva-x11-2:amd64 (2.17.0-1) ...
- Selecting previously unselected package libvdpau1:amd64.
- Preparing to unpack .../14-libvdpau1_1.5-2_amd64.deb ...
- Unpacking libvdpau1:amd64 (1.5-2) ...
- Selecting previously unselected package ocl-icd-libopencl1:amd64.
- Preparing to unpack .../15-ocl-icd-libopencl1_2.3.1-1_amd64.deb ...
- Unpacking ocl-icd-libopencl1:amd64 (2.3.1-1) ...
- Selecting previously unselected package libavutil57:amd64.
- Preparing to unpack .../16-libavutil57_7%3a5.1.4-0+deb12u1_amd64.deb ...
- Unpacking libavutil57:amd64 (7:5.1.4-0+deb12u1) ...
- Selecting previously unselected package libavutil-dev:amd64.
- Preparing to unpack .../17-libavutil-dev_7%3a5.1.4-0+deb12u1_amd64.deb ...
- Unpacking libavutil-dev:amd64 (7:5.1.4-0+deb12u1) ...
- Selecting previously unselected package libdrm-amdgpu1:amd64.
- Preparing to unpack .../18-libdrm-amdgpu1_2.4.114-1+b1_amd64.deb ...
- Unpacking libdrm-amdgpu1:amd64 (2.4.114-1+b1) ...
- Selecting previously unselected package libdrm-nouveau2:amd64.
- Preparing to unpack .../19-libdrm-nouveau2_2.4.114-1+b1_amd64.deb ...
- Unpacking libdrm-nouveau2:amd64 (2.4.114-1+b1) ...
- Selecting previously unselected package libdrm-radeon1:amd64.
- Preparing to unpack .../20-libdrm-radeon1_2.4.114-1+b1_amd64.deb ...
- Unpacking libdrm-radeon1:amd64 (2.4.114-1+b1) ...
- Selecting previously unselected package libelf1:amd64.
- Preparing to unpack .../21-libelf1_0.188-2.1_amd64.deb ...
- Unpacking libelf1:amd64 (0.188-2.1) ...
- Selecting previously unselected package libglvnd0:amd64.
- Preparing to unpack .../22-libglvnd0_1.6.0-1_amd64.deb ...
- Unpacking libglvnd0:amd64 (1.6.0-1) ...
- Selecting previously unselected package libglapi-mesa:amd64.
- Preparing to unpack .../23-libglapi-mesa_22.3.6-1+deb12u1_amd64.deb ...
- Unpacking libglapi-mesa:amd64 (22.3.6-1+deb12u1) ...
- Selecting previously unselected package libxcb-dri2-0:amd64.
- Preparing to unpack .../24-libxcb-dri2-0_1.15-1_amd64.deb ...
- Unpacking libxcb-dri2-0:amd64 (1.15-1) ...
- Selecting previously unselected package libxcb-glx0:amd64.
- Preparing to unpack .../25-libxcb-glx0_1.15-1_amd64.deb ...
- Unpacking libxcb-glx0:amd64 (1.15-1) ...
- Selecting previously unselected package libxcb-present0:amd64.
- Preparing to unpack .../26-libxcb-present0_1.15-1_amd64.deb ...
- Unpacking libxcb-present0:amd64 (1.15-1) ...
- Selecting previously unselected package libxcb-randr0:amd64.
- Preparing to unpack .../27-libxcb-randr0_1.15-1_amd64.deb ...
- Unpacking libxcb-randr0:amd64 (1.15-1) ...
- Selecting previously unselected package libxcb-shm0:amd64.
- Preparing to unpack .../28-libxcb-shm0_1.15-1_amd64.deb ...
- Unpacking libxcb-shm0:amd64 (1.15-1) ...
- Selecting previously unselected package libxcb-sync1:amd64.
- Preparing to unpack .../29-libxcb-sync1_1.15-1_amd64.deb ...
- Unpacking libxcb-sync1:amd64 (1.15-1) ...
- Selecting previously unselected package libxcb-xfixes0:amd64.
- Preparing to unpack .../30-libxcb-xfixes0_1.15-1_amd64.deb ...
- Unpacking libxcb-xfixes0:amd64 (1.15-1) ...
- Selecting previously unselected package libxshmfence1:amd64.
- Preparing to unpack .../31-libxshmfence1_1.3-1_amd64.deb ...
- Unpacking libxshmfence1:amd64 (1.3-1) ...
- Selecting previously unselected package libxxf86vm1:amd64.
- Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1+b2_amd64.deb ...
- Unpacking libxxf86vm1:amd64 (1:1.1.4-1+b2) ...
- Selecting previously unselected package libicu72:amd64.
- Preparing to unpack .../33-libicu72_72.1-3_amd64.deb ...
- Unpacking libicu72:amd64 (72.1-3) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../34-libxml2_2.9.14+dfsg-1.3~deb12u1_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Selecting previously unselected package libz3-4:amd64.
- Preparing to unpack .../35-libz3-4_4.8.12-3.1_amd64.deb ...
- Unpacking libz3-4:amd64 (4.8.12-3.1) ...
- Selecting previously unselected package libllvm15:amd64.
- Preparing to unpack .../36-libllvm15_1%3a15.0.6-4+b1_amd64.deb ...
- Unpacking libllvm15:amd64 (1:15.0.6-4+b1) ...
- Selecting previously unselected package libsensors-config.
- Preparing to unpack .../37-libsensors-config_1%3a3.6.0-7.1_all.deb ...
- Unpacking libsensors-config (1:3.6.0-7.1) ...
- Selecting previously unselected package libsensors5:amd64.
- Preparing to unpack .../38-libsensors5_1%3a3.6.0-7.1_amd64.deb ...
- Unpacking libsensors5:amd64 (1:3.6.0-7.1) ...
- Selecting previously unselected package libgl1-mesa-dri:amd64.
- Preparing to unpack .../39-libgl1-mesa-dri_22.3.6-1+deb12u1_amd64.deb ...
- Unpacking libgl1-mesa-dri:amd64 (22.3.6-1+deb12u1) ...
- Selecting previously unselected package libglx-mesa0:amd64.
- Preparing to unpack .../40-libglx-mesa0_22.3.6-1+deb12u1_amd64.deb ...
- Unpacking libglx-mesa0:amd64 (22.3.6-1+deb12u1) ...
- Selecting previously unselected package libglx0:amd64.
- Preparing to unpack .../41-libglx0_1.6.0-1_amd64.deb ...
- Unpacking libglx0:amd64 (1.6.0-1) ...
- Selecting previously unselected package libgl1:amd64.
- Preparing to unpack .../42-libgl1_1.6.0-1_amd64.deb ...
- Unpacking libgl1:amd64 (1.6.0-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../43-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package libswscale6:amd64.
- Preparing to unpack .../44-libswscale6_7%3a5.1.4-0+deb12u1_amd64.deb ...
- Unpacking libswscale6:amd64 (7:5.1.4-0+deb12u1) ...
- Selecting previously unselected package libswscale-dev:amd64.
- Preparing to unpack .../45-libswscale-dev_7%3a5.1.4-0+deb12u1_amd64.deb ...
- Unpacking libswscale-dev:amd64 (7:5.1.4-0+deb12u1) ...
- Selecting previously unselected package libvdpau-va-gl1:amd64.
- Preparing to unpack .../46-libvdpau-va-gl1_0.4.2-1+b1_amd64.deb ...
- Unpacking libvdpau-va-gl1:amd64 (0.4.2-1+b1) ...
- Selecting previously unselected package mesa-va-drivers:amd64.
- Preparing to unpack .../47-mesa-va-drivers_22.3.6-1+deb12u1_amd64.deb ...
- Unpacking mesa-va-drivers:amd64 (22.3.6-1+deb12u1) ...
- Selecting previously unselected package mesa-vdpau-drivers:amd64.
- Preparing to unpack .../48-mesa-vdpau-drivers_22.3.6-1+deb12u1_amd64.deb ...
- Unpacking mesa-vdpau-drivers:amd64 (22.3.6-1+deb12u1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../49-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../50-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../51-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package va-driver-all:amd64.
- Preparing to unpack .../52-va-driver-all_2.17.0-1_amd64.deb ...
- Unpacking va-driver-all:amd64 (2.17.0-1) ...
- Selecting previously unselected package vdpau-driver-all:amd64.
- Preparing to unpack .../53-vdpau-driver-all_1.5-2_amd64.deb ...
- Unpacking vdpau-driver-all:amd64 (1.5-2) ...
- Setting up libxcb-dri3-0:amd64 (1.15-1) ...
- Setting up libx11-xcb1:amd64 (2:1.8.4-2+deb12u2) ...
- Setting up libpciaccess0:amd64 (0.17-2) ...
- Setting up libicu72:amd64 (72.1-3) ...
- Setting up libxcb-xfixes0:amd64 (1.15-1) ...
- Setting up libglvnd0:amd64 (1.6.0-1) ...
- Setting up libxcb-glx0:amd64 (1.15-1) ...
- Setting up libsensors-config (1:3.6.0-7.1) ...
- Setting up libxcb-shm0:amd64 (1.15-1) ...
- Setting up libigdgmm12:amd64 (22.3.3+ds1-1) ...
- Setting up libxxf86vm1:amd64 (1:1.1.4-1+b2) ...
- Setting up libxcb-present0:amd64 (1.15-1) ...
- Setting up libz3-4:amd64 (4.8.12-3.1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libva2:amd64 (2.17.0-1) ...
- Setting up libxfixes3:amd64 (1:6.0.0-2) ...
- Setting up libxcb-sync1:amd64 (1.15-1) ...
- Setting up intel-media-va-driver:amd64 (23.1.1+dfsg1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libsensors5:amd64 (1:3.6.0-7.1) ...
- Setting up libglapi-mesa:amd64 (22.3.6-1+deb12u1) ...
- Setting up libxcb-dri2-0:amd64 (1.15-1) ...
- Setting up ocl-icd-libopencl1:amd64 (2.3.1-1) ...
- Setting up libxshmfence1:amd64 (1.3-1) ...
- Setting up libvdpau1:amd64 (1.5-2) ...
- Setting up libxcb-randr0:amd64 (1.15-1) ...
- Setting up libmfx1:amd64 (22.5.4-1) ...
- Setting up libdrm-common (2.4.114-1) ...
- Setting up libelf1:amd64 (0.188-2.1) ...
- Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Setting up libdrm2:amd64 (2.4.114-1+b1) ...
- Setting up libva-drm2:amd64 (2.17.0-1) ...
- Setting up libllvm15:amd64 (1:15.0.6-4+b1) ...
- Setting up libva-x11-2:amd64 (2.17.0-1) ...
- Setting up libdrm-amdgpu1:amd64 (2.4.114-1+b1) ...
- Setting up libdrm-nouveau2:amd64 (2.4.114-1+b1) ...
- Setting up libdrm-radeon1:amd64 (2.4.114-1+b1) ...
- Setting up libdrm-intel1:amd64 (2.4.114-1+b1) ...
- Setting up libgl1-mesa-dri:amd64 (22.3.6-1+deb12u1) ...
- Setting up libavutil57:amd64 (7:5.1.4-0+deb12u1) ...
- Setting up mesa-va-drivers:amd64 (22.3.6-1+deb12u1) ...
- Setting up libswscale6:amd64 (7:5.1.4-0+deb12u1) ...
- Setting up i965-va-driver:amd64 (2.4.1+dfsg1-1) ...
- Setting up libavutil-dev:amd64 (7:5.1.4-0+deb12u1) ...
- Setting up mesa-vdpau-drivers:amd64 (22.3.6-1+deb12u1) ...
- Setting up libglx-mesa0:amd64 (22.3.6-1+deb12u1) ...
- Setting up libglx0:amd64 (1.6.0-1) ...
- Setting up libgl1:amd64 (1.6.0-1) ...
- Setting up va-driver-all:amd64 (2.17.0-1) ...
- Setting up libswscale-dev:amd64 (7:5.1.4-0+deb12u1) ...
- Setting up libvdpau-va-gl1:amd64 (0.4.2-1+b1) ...
- Setting up vdpau-driver-all:amd64 (1.5-2) ...
- Processing triggers for libc-bin (2.36-9+deb12u3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/6:
Processing  3/6: [conf-pkg-config: pkg-config]
-> retrieved ffmpeg.0.1.1  (cached)
+ /usr/bin/pkg-config "--help" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-pkg-config.3)
- usage: pkgconf [OPTIONS] [LIBRARIES]
- 
- basic options:
- 
-   --help                            this message
-   --about                           print pkgconf version and license to stdout
-   --version                         print supported pkg-config version to stdout
-   --atleast-pkgconfig-version       check whether or not pkgconf is compatible
-                                     with a specified pkg-config version
-   --errors-to-stdout                print all errors on stdout instead of stderr
-   --print-errors                    ensure all errors are printed
-   --short-errors                    be less verbose about some errors
-   --silence-errors                  explicitly be silent about errors
-   --list-all                        list all known packages
-   --list-package-names              list all known package names
-   --simulate                        simulate walking the calculated dependency graph
-   --no-cache                        do not cache already seen packages when
-                                     walking the dependency graph
-   --log-file=filename               write an audit log to a specified file
-   --with-path=path                  adds a directory to the search path
-   --define-prefix                   override the prefix variable with one that is guessed based on
-                                     the location of the .pc file
-   --dont-define-prefix              do not override the prefix variable under any circumstances
-   --prefix-variable=varname         sets the name of the variable that pkgconf considers
-                                     to be the package prefix
-   --relocate=path                   relocates a path and exits (mostly for testsuite)
-   --dont-relocate-paths             disables path relocation support
- 
- cross-compilation personality support:
- 
-   --personality=triplet|filename    sets the personality to 'triplet' or a file named 'filename'
-   --dump-personality                dumps details concerning selected personality
- 
- checking specific pkg-config database entries:
- 
-   --atleast-version                 require a specific version of a module
-   --exact-version                   require an exact version of a module
-   --max-version                     require a maximum version of a module
-   --exists                          check whether or not a module exists
-   --uninstalled                     check whether or not an uninstalled module will be used
-   --no-uninstalled                  never use uninstalled modules when satisfying dependencies
-   --no-provides                     do not use 'provides' rules to resolve dependencies
-   --maximum-traverse-depth          maximum allowed depth for dependency graph
-   --static                          be more aggressive when computing dependency graph
-                                     (for static linking)
-   --shared                          use a simplified dependency graph (usually default)
-   --pure                            optimize a static dependency graph as if it were a normal
-                                     dependency graph
-   --env-only                        look only for package entries in PKG_CONFIG_PATH
-   --ignore-conflicts                ignore 'conflicts' rules in modules
-   --validate                        validate specific .pc files for correctness
- 
- querying specific pkg-config database fields:
- 
-   --define-variable=varname=value   define variable 'varname' as 'value'
-   --variable=varname                print specified variable entry to stdout
-   --cflags                          print required CFLAGS to stdout
-   --cflags-only-I                   print required include-dir CFLAGS to stdout
-   --cflags-only-other               print required non-include-dir CFLAGS to stdout
-   --libs                            print required linker flags to stdout
-   --libs-only-L                     print required LDPATH linker flags to stdout
-   --libs-only-l                     print required LIBNAME linker flags to stdout
-   --libs-only-other                 print required other linker flags to stdout
-   --print-requires                  print required dependency frameworks to stdout
-   --print-requires-private          print required dependency frameworks for static
-                                     linking to stdout
-   --print-provides                  print provided dependencies to stdout
-   --print-variables                 print all known variables in module to stdout
-   --digraph                         print entire dependency graph in graphviz 'dot' format
-   --keep-system-cflags              keep -I/usr/include entries in cflags output
-   --keep-system-libs                keep -L/lib:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnux32:/lib32:/libx32:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnux32:/usr/lib32:/usr/libx32 entries in libs output
-   --path                            show the exact filenames for any matching .pc files
-   --modversion                      print the specified module's version to stdout
-   --internal-cflags                 do not filter 'internal' cflags from output
- 
- filtering output:
- 
-   --msvc-syntax                     print translatable fragments in MSVC syntax
-   --fragment-filter=types           filter output fragments to the specified types
- 
- report bugs to <https://github.com/pkgconf/pkgconf/issues/new>.
-> compiled  conf-pkg-config.3
-> installed conf-pkg-config.3
Processing  5/6: [ffmpeg: ./configure]
+ /home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1/./configure "--prefix" "/home/opam/.opam/4.14" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1)
- configuring ocaml-ffmpeg 0.1.1
- checking for gcc... gcc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables... 
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ISO C89... none needed
- checking build system type... x86_64-unknown-linux-gnu
- checking host system type... x86_64-unknown-linux-gnu
- checking for a BSD-compatible install... /usr/bin/install -c
- checking that calling user is not root... ok
- checking for gcc... (cached) gcc
- checking whether we are using the GNU C compiler... (cached) yes
- checking whether gcc accepts -g... (cached) yes
- checking for gcc option to accept ISO C89... (cached) none needed
- checking for ar... ar
- checking for ocamlc... ocamlc
- OCaml version is 4.14.1
- checking if ocaml compiler supports first-class modules... yes
- OCaml library path is /home/opam/.opam/4.14/lib/ocaml
- checking for ocamlopt... ocamlopt
- checking for ocamlc.opt... ocamlc.opt
- checking for ocamlopt.opt... ocamlopt.opt
- checking for ocaml... ocaml
- checking for ocamldep... ocamldep
- checking for ocamldep.opt... ocamldep.opt
- checking for ocamlmktop... ocamlmktop
- checking for ocamlmklib... ocamlmklib
- checking for ocamldoc... ocamldoc
- checking for ocamldoc.opt... ocamldoc.opt
- checking for ocamlbuild... no
- checking for camlidl... no
- checking for ocamllex... ocamllex
- checking for ocamllex.opt... ocamllex.opt
- checking for ocamlyacc... ocamlyacc
- checking for camlp4... no
- checking for camlp4boot... no
- checking for camlp4o... no
- checking for camlp4of... no
- checking for camlp4oof... no
- checking for camlp4orf... no
- checking for camlp4prof... no
- checking for camlp4r... no
- checking for camlp4rf... no
- checking for ocamlfind... ocamlfind
- checking for ocaml standard library path... /home/opam/.opam/4.14/lib/ocaml
- checking for caml/threads.h... no
- checking for gcc option to produce PIC... -fPIC
- checking for pkg-config... /usr/bin/pkg-config
- checking pkg-config is at least version 0.9.0... yes
- checking whether pkg-config knows about libavutil... ok
- checking whether pkg-config knows about libswscale... ok
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating src/META
- config.status: creating src/Makefile
Processing  5/6: [ffmpeg: make]
+ /usr/bin/make  (CWD=/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1)
- /usr/bin/make -C src all
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1/src'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1/src'
- ocamldep.opt swscale.ml > ._d/swscale.d
- ocamldep.opt avutil.ml > ._d/avutil.d
- ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2 -I/home/opam/.opam/4.14/include -I/usr/include/x86_64-linux-gnu  -I/usr/include/x86_64-linux-gnu  -Wall -DCAML_NAME_SPACE \
- 			-DPIC -fPIC -I/home/opam/.opam/4.14/include -I/usr/include/x86_64-linux-gnu  -I/usr/include/x86_64-linux-gnu   \
- 			    -o avutil_stubs.o " avutil_stubs.c
- avutil_stubs.c:13:31: error: array type has incomplete element type 'enum PixelFormat'
-    13 | static const enum PixelFormat PIXEL_FORMATS[] = {
-       |                               ^~~~~~~~~~~~~
- avutil_stubs.c:14:3: error: 'PIX_FMT_YUV420P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUV420P'?
-    14 |   PIX_FMT_YUV420P,
-       |   ^~~~~~~~~~~~~~~
-       |   AV_PIX_FMT_YUV420P
- avutil_stubs.c:15:3: error: 'PIX_FMT_YUYV422' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUYV422'?
-    15 |   PIX_FMT_YUYV422,
-       |   ^~~~~~~~~~~~~~~
-       |   AV_PIX_FMT_YUYV422
- avutil_stubs.c:16:3: error: 'PIX_FMT_RGB24' undeclared here (not in a function); did you mean 'AV_PIX_FMT_RGB24'?
-    16 |   PIX_FMT_RGB24,
-       |   ^~~~~~~~~~~~~
-       |   AV_PIX_FMT_RGB24
- avutil_stubs.c:17:3: error: 'PIX_FMT_BGR24' undeclared here (not in a function); did you mean 'AV_PIX_FMT_BGR24'?
-    17 |   PIX_FMT_BGR24,
-       |   ^~~~~~~~~~~~~
-       |   AV_PIX_FMT_BGR24
- avutil_stubs.c:18:3: error: 'PIX_FMT_YUV422P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUV422P'?
-    18 |   PIX_FMT_YUV422P,
-       |   ^~~~~~~~~~~~~~~
-       |   AV_PIX_FMT_YUV422P
- avutil_stubs.c:19:3: error: 'PIX_FMT_YUV444P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUV444P'?
-    19 |   PIX_FMT_YUV444P,
-       |   ^~~~~~~~~~~~~~~
-       |   AV_PIX_FMT_YUV444P
- avutil_stubs.c:20:3: error: 'PIX_FMT_YUV410P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUV410P'?
-    20 |   PIX_FMT_YUV410P,
-       |   ^~~~~~~~~~~~~~~
-       |   AV_PIX_FMT_YUV410P
- avutil_stubs.c:21:3: error: 'PIX_FMT_YUV411P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUV411P'?
-    21 |   PIX_FMT_YUV411P,
-       |   ^~~~~~~~~~~~~~~
-       |   AV_PIX_FMT_YUV411P
- avutil_stubs.c:22:3: error: 'PIX_FMT_YUVJ422P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUVJ422P'?
-    22 |   PIX_FMT_YUVJ422P,
-       |   ^~~~~~~~~~~~~~~~
-       |   AV_PIX_FMT_YUVJ422P
- avutil_stubs.c:23:3: error: 'PIX_FMT_YUVJ444P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUVJ444P'?
-    23 |   PIX_FMT_YUVJ444P,
-       |   ^~~~~~~~~~~~~~~~
-       |   AV_PIX_FMT_YUVJ444P
- avutil_stubs.c:24:3: error: 'PIX_FMT_RGBA' undeclared here (not in a function); did you mean 'AV_PIX_FMT_RGBA'?
-    24 |   PIX_FMT_RGBA,
-       |   ^~~~~~~~~~~~
-       |   AV_PIX_FMT_RGBA
- avutil_stubs.c:25:3: error: 'PIX_FMT_BGRA' undeclared here (not in a function); did you mean 'AV_PIX_FMT_BGRA'?
-    25 |   PIX_FMT_BGRA
-       |   ^~~~~~~~~~~~
-       |   AV_PIX_FMT_BGRA
- avutil_stubs.c: In function 'caml_avutil_bits_per_pixel':
- avutil_stubs.c:39:32: error: 'av_pix_fmt_descriptors' undeclared (first use in this function); did you mean 'av_pix_fmt_desc_get_id'?
-    39 |   ans = av_get_bits_per_pixel(&av_pix_fmt_descriptors[p]);
-       |                                ^~~~~~~~~~~~~~~~~~~~~~
-       |                                av_pix_fmt_desc_get_id
- avutil_stubs.c:39:32: note: each undeclared identifier is reported only once for each function it appears in
- avutil_stubs.c:36:7: warning: variable 'p' set but not used [-Wunused-but-set-variable]
-    36 |   int p = Int_val(pixel);
-       |       ^
- avutil_stubs.c: In function 'PixelFormat_val':
- avutil_stubs.c:31:1: warning: control reaches end of non-void function [-Wreturn-type]
-    31 | }
-       | ^
- avutil_stubs.c: At top level:
- avutil_stubs.c:13:31: warning: 'PIXEL_FORMATS' defined but not used [-Wunused-variable]
-    13 | static const enum PixelFormat PIXEL_FORMATS[] = {
-       |                               ^~~~~~~~~~~~~
- make[2]: *** [OCamlMakefile:1124: avutil_stubs.o] Error 2
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1/src'
- make[1]: *** [OCamlMakefile:784: byte-code-library] Error 2
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1/src'
- make: *** [Makefile:9: all] Error 2
[ERROR] The compilation of ffmpeg.0.1.1 failed at "make".

#=== ERROR while compiling ffmpeg.0.1.1 =======================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.4.14.1 | file:///src
# path                 ~/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1
# command              /usr/bin/make
# exit-code            2
# env-file             ~/.opam/log/ffmpeg-113-67a0af.env
# output-file          ~/.opam/log/ffmpeg-113-67a0af.out
### output ###
# /usr/bin/make -C src all
# make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1/src'
# make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1/src'
# ocamldep.opt swscale.ml > ._d/swscale.d
# ocamldep.opt avutil.ml > ._d/avutil.d
# ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2 -I/home/opam/.opam/4.14/include -I/usr/include/x86_64-linux-gnu  -I/usr/include/x86_64-linux-gnu  -Wall -DCAML_NAME_SPACE \
# 			-DPIC -fPIC -I/home/opam/.opam/4.14/include -I/usr/include/x86_64-linux-gnu  -I/usr/include/x86_64-linux-gnu   \
# 			    -o avutil_stubs.o " avutil_stubs.c
# avutil_stubs.c:13:31: error: array type has incomplete element type 'enum PixelFormat'
#    13 | static const enum PixelFormat PIXEL_FORMATS[] = {
#       |                               ^~~~~~~~~~~~~
# avutil_stubs.c:14:3: error: 'PIX_FMT_YUV420P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUV420P'?
#    14 |   PIX_FMT_YUV420P,
#       |   ^~~~~~~~~~~~~~~
#       |   AV_PIX_FMT_YUV420P
# avutil_stubs.c:15:3: error: 'PIX_FMT_YUYV422' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUYV422'?
#    15 |   PIX_FMT_YUYV422,
#       |   ^~~~~~~~~~~~~~~
#       |   AV_PIX_FMT_YUYV422
# avutil_stubs.c:16:3: error: 'PIX_FMT_RGB24' undeclared here (not in a function); did you mean 'AV_PIX_FMT_RGB24'?
#    16 |   PIX_FMT_RGB24,
#       |   ^~~~~~~~~~~~~
#       |   AV_PIX_FMT_RGB24
# avutil_stubs.c:17:3: error: 'PIX_FMT_BGR24' undeclared here (not in a function); did you mean 'AV_PIX_FMT_BGR24'?
#    17 |   PIX_FMT_BGR24,
#       |   ^~~~~~~~~~~~~
#       |   AV_PIX_FMT_BGR24
# avutil_stubs.c:18:3: error: 'PIX_FMT_YUV422P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUV422P'?
#    18 |   PIX_FMT_YUV422P,
#       |   ^~~~~~~~~~~~~~~
#       |   AV_PIX_FMT_YUV422P
# avutil_stubs.c:19:3: error: 'PIX_FMT_YUV444P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUV444P'?
#    19 |   PIX_FMT_YUV444P,
#       |   ^~~~~~~~~~~~~~~
#       |   AV_PIX_FMT_YUV444P
# avutil_stubs.c:20:3: error: 'PIX_FMT_YUV410P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUV410P'?
#    20 |   PIX_FMT_YUV410P,
#       |   ^~~~~~~~~~~~~~~
#       |   AV_PIX_FMT_YUV410P
# avutil_stubs.c:21:3: error: 'PIX_FMT_YUV411P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUV411P'?
#    21 |   PIX_FMT_YUV411P,
#       |   ^~~~~~~~~~~~~~~
#       |   AV_PIX_FMT_YUV411P
# avutil_stubs.c:22:3: error: 'PIX_FMT_YUVJ422P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUVJ422P'?
#    22 |   PIX_FMT_YUVJ422P,
#       |   ^~~~~~~~~~~~~~~~
#       |   AV_PIX_FMT_YUVJ422P
# avutil_stubs.c:23:3: error: 'PIX_FMT_YUVJ444P' undeclared here (not in a function); did you mean 'AV_PIX_FMT_YUVJ444P'?
#    23 |   PIX_FMT_YUVJ444P,
#       |   ^~~~~~~~~~~~~~~~
#       |   AV_PIX_FMT_YUVJ444P
# avutil_stubs.c:24:3: error: 'PIX_FMT_RGBA' undeclared here (not in a function); did you mean 'AV_PIX_FMT_RGBA'?
#    24 |   PIX_FMT_RGBA,
#       |   ^~~~~~~~~~~~
#       |   AV_PIX_FMT_RGBA
# avutil_stubs.c:25:3: error: 'PIX_FMT_BGRA' undeclared here (not in a function); did you mean 'AV_PIX_FMT_BGRA'?
#    25 |   PIX_FMT_BGRA
#       |   ^~~~~~~~~~~~
#       |   AV_PIX_FMT_BGRA
# avutil_stubs.c: In function 'caml_avutil_bits_per_pixel':
# avutil_stubs.c:39:32: error: 'av_pix_fmt_descriptors' undeclared (first use in this function); did you mean 'av_pix_fmt_desc_get_id'?
#    39 |   ans = av_get_bits_per_pixel(&av_pix_fmt_descriptors[p]);
#       |                                ^~~~~~~~~~~~~~~~~~~~~~
#       |                                av_pix_fmt_desc_get_id
# avutil_stubs.c:39:32: note: each undeclared identifier is reported only once for each function it appears in
# avutil_stubs.c:36:7: warning: variable 'p' set but not used [-Wunused-but-set-variable]
#    36 |   int p = Int_val(pixel);
#       |       ^
# avutil_stubs.c: In function 'PixelFormat_val':
# avutil_stubs.c:31:1: warning: control reaches end of non-void function [-Wreturn-type]
#    31 | }
#       | ^
# avutil_stubs.c: At top level:
# avutil_stubs.c:13:31: warning: 'PIXEL_FORMATS' defined but not used [-Wunused-variable]
#    13 | static const enum PixelFormat PIXEL_FORMATS[] = {
#       |                               ^~~~~~~~~~~~~
# make[2]: *** [OCamlMakefile:1124: avutil_stubs.o] Error 2
# make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1/src'
# make[1]: *** [OCamlMakefile:784: byte-code-library] Error 2
# make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.1/src'
# make: *** [Makefile:9: all] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ffmpeg 0.1.1
+- 
+- The following changes have been performed
| - install conf-pkg-config 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-20240129192332.export"
'opam --cli=2.1 install ffmpeg.0.1.1 ocamlfind.1.9.6 conf-pkg-config.3 --verbose --yes --confirm-level=unsafe-yes' failed.
2024-01-29 19:24.13 ---> saved as "7a3e0dd4ec50d8e8a6b845784eccb34752d274ccc883b217e27c09ee3e0642c7"

/home/opam: (run (shell "opam exec -- ~/voodoo-prep -u ffmpeg:af6e93192c0de2d277e8e53dce16cb90"))
2024-01-29 19:24.15 ---> saved as "176201b488f01c01577def47a7a802bf975e2065a1d7d64cf85e8bff72ef9f54"

/home/opam: (run (network host)
                 (secrets (ssh_privkey (target /home/opam/.ssh/id_rsa)) (ssh_pubkey (target /home/opam/.ssh/id_rsa.pub)) (ssh_config (target /home/opam/.ssh/config)))
                 (shell "(echo '0.809142') && (for DATA in prep/universes/af6e93192c0de2d277e8e53dce16cb90/ffmpeg/0.1.1,ffmpeg.0.1.1-af6e93192c0de2d277e8e53dce16cb90,ffmpeg.0.1.1; do IFS=\",\"; set -- $DATA; ([ -d $1 ] || (echo \"FAILED:$2\" && mkdir -p $1 && cp ~/opam.err.log $1 && opam show $3 --raw > $1/opam)) && (shopt -s nullglob && ((tar -cvf $1.tar $1/*  && rm -R $1/* && mv $1.tar $1/content.tar) || (echo 'Empty directory'))) done) && (for DATA in prep/universes/af6e93192c0de2d277e8e53dce16cb90/ffmpeg/0.1.1,ffmpeg.0.1.1-af6e93192c0de2d277e8e53dce16cb90,ffmpeg.0.1.1; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/af6e93192c0de2d277e8e53dce16cb90/ffmpeg/0.1.1,ffmpeg.0.1.1-af6e93192c0de2d277e8e53dce16cb90,ffmpeg.0.1.1; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
0.809142
FAILED:ffmpeg.0.1.1-af6e93192c0de2d277e8e53dce16cb90
prep/universes/af6e93192c0de2d277e8e53dce16cb90/ffmpeg/0.1.1/opam
prep/universes/af6e93192c0de2d277e8e53dce16cb90/ffmpeg/0.1.1/opam.err.log
Warning: Permanently added '[docs.ci.ocaml.org]:2222' (ED25519) to the list of known hosts.
HASHES:ffmpeg.0.1.1-af6e93192c0de2d277e8e53dce16cb90:3c2b617fda407e8687dcac6eaa51bea055326c8657b4e397b0cff45b28dfeca5
2024-01-29 19:24.18 ---> saved as "860c9293df4cb3c29a3eb2c7d8632479488e391814fdb0976c06e43a3699ef2d"
Job succeeded
2024-01-29 19:30.21: Failed: ffmpeg.0.1.1-af6e93192c0de2d277e8e53dce16cb90
2024-01-29 19:30.23: ffmpeg.0.1.1-af6e93192c0de2d277e8e53dce16cb90 -> 3c2b617fda407e8687dcac6eaa51bea055326c8657b4e397b0cff45b28dfeca5
2024-01-29 19:30.23: Job succeeded