sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
The package failed to build. The error log from opam follows.
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.3 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved opam-depext.1.2.3 (cached) -> removed opam-depext.1.2.3 -> installed opam-depext.1.2.3 Done. <><> opam-depext.1.2.3 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.0 ocamlfind.1.9.6 host-arch-x86_64.1 conf-pkg-config.3" Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies. # 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 host-arch-x86_64 is already installed (current version is 1). [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.0 ===== 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 ... 18733 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.6-0+deb12u1_amd64.deb ... - Unpacking libavutil57:amd64 (7:5.1.6-0+deb12u1) ... - Selecting previously unselected package libavutil-dev:amd64. - Preparing to unpack .../17-libavutil-dev_7%3a5.1.6-0+deb12u1_amd64.deb ... - Unpacking libavutil-dev:amd64 (7:5.1.6-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.6-0+deb12u1_amd64.deb ... - Unpacking libswscale6:amd64 (7:5.1.6-0+deb12u1) ... - Selecting previously unselected package libswscale-dev:amd64. - Preparing to unpack .../45-libswscale-dev_7%3a5.1.6-0+deb12u1_amd64.deb ... - Unpacking libswscale-dev:amd64 (7:5.1.6-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.6-0+deb12u1) ... - Setting up mesa-va-drivers:amd64 (22.3.6-1+deb12u1) ... - Setting up libswscale6:amd64 (7:5.1.6-0+deb12u1) ... - Setting up i965-va-driver:amd64 (2.4.1+dfsg1-1) ... - Setting up libavutil-dev:amd64 (7:5.1.6-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.6-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+deb12u8) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/6: Processing 3/6: [conf-pkg-config: pkg-config] -> retrieved ffmpeg.0.1.0 (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.0/./configure "--prefix" "/home/opam/.opam/4.14" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.0) - configuring ocaml-ffmpeg 0.1.0 - 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.2 - 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 ocamlmktop... ocamlmktop - checking for ocamlmklib... ocamlmklib - checking for ocamldoc... ocamldoc - 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 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.0) - /usr/bin/make -C src all - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.0/src' - make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.0/src' - ocamldep swscale.ml > ._d/swscale.d - ocamldep 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.0/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.0/src' - make: *** [Makefile:9: all] Error 2 [ERROR] The compilation of ffmpeg.0.1.0 failed at "make". #=== ERROR while compiling ffmpeg.0.1.0 =======================================# # context 2.1.6 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///src # path ~/.opam/4.14/.opam-switch/build/ffmpeg.0.1.0 # command /usr/bin/make # exit-code 2 # env-file ~/.opam/log/ffmpeg-115-7e88db.env # output-file ~/.opam/log/ffmpeg-115-7e88db.out ### output ### # /usr/bin/make -C src all # make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.0/src' # make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ffmpeg.0.1.0/src' # ocamldep swscale.ml > ._d/swscale.d # ocamldep 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.0/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.0/src' # make: *** [Makefile:9: all] Error 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build ffmpeg 0.1.0 +- +- 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-20240912212330.export" 'opam --cli=2.1 install ffmpeg.0.1.0 ocamlfind.1.9.6 host-arch-x86_64.1 conf-pkg-config.3 --verbose --yes --confirm-level=unsafe-yes' failed.