package vorbis

  1. Overview
  2. Docs
On This Page
  1. Error log

vorbis 0.7.0

Error log

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 vorbis.0.7.0 ogg.0.7.1 ocamlfind.1.9.6 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 csexp.1.5.2 conf-pkg-config.3 conf-libogg.1" 

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:
libogg-dev
libvorbis-dev
pkg-config
[NOTE] Package dune is already installed (current version is 3.16.0).
[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 csexp             1.5.2
  - install conf-pkg-config   3
  - install dune-configurator 3.16.0
  - install conf-libogg       1
  - install ogg               0.7.1
  - install vorbis            0.7.0
===== 6 to install =====

The following system packages will first need to be installed:
    libogg-dev libvorbis-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" "libogg-dev" "libvorbis-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libogg0: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 .../0-libogg0_1.3.5-3_amd64.deb ...
- Unpacking libogg0:amd64 (1.3.5-3) ...
- Selecting previously unselected package libogg-dev:amd64.
- Preparing to unpack .../1-libogg-dev_1.3.5-3_amd64.deb ...
- Unpacking libogg-dev:amd64 (1.3.5-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package libvorbis0a:amd64.
- Preparing to unpack .../3-libvorbis0a_1.3.7-1_amd64.deb ...
- Unpacking libvorbis0a:amd64 (1.3.7-1) ...
- Selecting previously unselected package libvorbisenc2:amd64.
- Preparing to unpack .../4-libvorbisenc2_1.3.7-1_amd64.deb ...
- Unpacking libvorbisenc2:amd64 (1.3.7-1) ...
- Selecting previously unselected package libvorbisfile3:amd64.
- Preparing to unpack .../5-libvorbisfile3_1.3.7-1_amd64.deb ...
- Unpacking libvorbisfile3:amd64 (1.3.7-1) ...
- Selecting previously unselected package libvorbis-dev:amd64.
- Preparing to unpack .../6-libvorbis-dev_1.3.7-1_amd64.deb ...
- Unpacking libvorbis-dev:amd64 (1.3.7-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../7-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../8-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../9-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libogg0:amd64 (1.3.5-3) ...
- Setting up libogg-dev:amd64 (1.3.5-3) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libvorbis0a:amd64 (1.3.7-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libvorbisenc2:amd64 (1.3.7-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up libvorbisfile3:amd64 (1.3.7-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Setting up libvorbis-dev:amd64 (1.3.7-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  3/18:
Processing  4/18:
Processing  5/18: [ogg.0.7.1: http]
Processing  6/18: [ogg.0.7.1: http] [conf-pkg-config: pkg-config]
-> retrieved csexp.1.5.2  (cached)
Processing  7/18: [ogg.0.7.1: http] [vorbis.0.7.0: http] [conf-pkg-config: pkg-config]
Processing  8/18: [ogg.0.7.1: http] [vorbis.0.7.0: http] [conf-pkg-config: pkg-config] [csexp: dune build]
-> retrieved dune-configurator.3.16.0  (cached)
Processing  8/18: [vorbis.0.7.0: http] [conf-pkg-config: pkg-config] [csexp: dune build]
- 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
Processing  8/18: [vorbis.0.7.0: http] [csexp: dune build]
-> installed conf-pkg-config.3
Processing  9/18: [vorbis.0.7.0: http] [csexp: dune build]
Processing 10/18: [vorbis.0.7.0: http] [conf-libogg: pkg-config ogg] [csexp: dune build]
Processing 10/18: [conf-libogg: pkg-config ogg] [csexp: dune build]
-> compiled  csexp.1.5.2
Processing 10/18: [conf-libogg: pkg-config ogg]
-> installed csexp.1.5.2
Processing 11/18: [conf-libogg: pkg-config ogg]
Processing 12/18: [conf-libogg: pkg-config ogg] [dune-configurator: rm]
-> retrieved ogg.0.7.1  (https://github.com/savonet/ocaml-ogg/archive/v0.7.1.tar.gz)
-> compiled  conf-libogg.1
Processing 12/18: [dune-configurator: rm]
-> installed conf-libogg.1
Processing 13/18: [dune-configurator: rm]
-> retrieved vorbis.0.7.0  (https://github.com/savonet/ocaml-vorbis/releases/download/0.7.0/ocaml-vorbis-0.7.0.tar.gz)
+ /usr/bin/rm "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.05/.opam-switch/build/dune-configurator.3.16.0)
+ /usr/bin/rm "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.05/.opam-switch/build/dune-configurator.3.16.0)
Processing 13/18: [dune-configurator: dune build]
+ /home/opam/.opam/4.05/bin/dune "build" "-p" "dune-configurator" "-j" "39" "@install" (CWD=/home/opam/.opam/4.05/.opam-switch/build/dune-configurator.3.16.0)
-> compiled  dune-configurator.3.16.0
-> installed dune-configurator.3.16.0
Processing 15/18: [ogg: dune build]
+ /home/opam/.opam/4.05/bin/dune "build" "-p" "ogg" "-j" "39" "@install" (CWD=/home/opam/.opam/4.05/.opam-switch/build/ogg.0.7.1)
-> compiled  ogg.0.7.1
-> installed ogg.0.7.1
Processing 17/18: [vorbis: ./configure]
+ /home/opam/.opam/4.05/.opam-switch/build/vorbis.0.7.0/./configure "--prefix" "/home/opam/.opam/4.05" (CWD=/home/opam/.opam/4.05/.opam-switch/build/vorbis.0.7.0)
- configuring ocaml-vorbis 0.7.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-pc-linux-gnu
- checking host system type... x86_64-pc-linux-gnu
- checking for a BSD-compatible install... /usr/bin/install -c
- 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.05.0
- checking if ocaml compiler supports first-class modules... yes
- OCaml library path is /home/opam/.opam/4.05/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.05/lib/ocaml
- checking for caml/threads.h... yes
- 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 vorbis... ok
- checking whether pkg-config knows about vorbisenc... ok
- checking whether pkg-config knows about vorbisfile... ok
- checking for ocaml-ogg... ok
- checking for ocaml bytes module... ok
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating src/Makefile
- config.status: creating examples/Makefile.wav2ogg
- config.status: creating examples/Makefile.ogg2wav
- config.status: creating examples/Makefile.stream2wav
- config.status: creating src/META
Processing 17/18: [vorbis: make]
+ /usr/bin/make  (CWD=/home/opam/.opam/4.05/.opam-switch/build/vorbis.0.7.0)
- /usr/bin/make -C src all
- make[1]: Entering directory '/home/opam/.opam/4.05/.opam-switch/build/vorbis.0.7.0/src'
- make[2]: Entering directory '/home/opam/.opam/4.05/.opam-switch/build/vorbis.0.7.0/src'
- making ._bcdi/ogg_demuxer_vorbis_decoder.di from ogg_demuxer_vorbis_decoder.mli
- making ._bcdi/vorbis.di from vorbis.mli
- making ._d/ogg_demuxer_vorbis_decoder.d from ogg_demuxer_vorbis_decoder.ml
- making ._d/vorbis.d from vorbis.ml
- ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -Wall  -I/home/opam/.opam/4.05/include    \
- 			-DPIC -fPIC -I/home/opam/.opam/4.05/include     \
- 			  -I/home/opam/.opam/4.05/lib/bytes -I/home/opam/.opam/4.05/lib/ogg  -o vorbis_stubs.o " vorbis_stubs.c 
- ar rcs libvorbis_stubs.a  vorbis_stubs.o
- ocamlc.opt -c -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /home/opam/.opam/4.05/lib/bytes -I /home/opam/.opam/4.05/lib/ogg vorbis.mli
- ocamlc.opt -c -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /home/opam/.opam/4.05/lib/bytes -I /home/opam/.opam/4.05/lib/ogg vorbis.ml
- File "vorbis.ml", line 49, characters 4-20:
- Warning 32: unused value register_printer.
- ocamlc.opt -c -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /home/opam/.opam/4.05/lib/bytes -I /home/opam/.opam/4.05/lib/ogg ogg_demuxer_vorbis_decoder.mli
- ocamlc.opt -c -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /home/opam/.opam/4.05/lib/bytes -I /home/opam/.opam/4.05/lib/ogg ogg_demuxer_vorbis_decoder.ml
- File "ogg_demuxer_vorbis_decoder.ml", line 70, characters 6-34:
- Error: Unbound module Ogg_demuxer
- make[2]: *** [OCamlMakefile:952: ogg_demuxer_vorbis_decoder.cmo] Error 2
- make[2]: Leaving directory '/home/opam/.opam/4.05/.opam-switch/build/vorbis.0.7.0/src'
- make[1]: *** [OCamlMakefile:717: byte-code-library] Error 2
- make[1]: Leaving directory '/home/opam/.opam/4.05/.opam-switch/build/vorbis.0.7.0/src'
- make: *** [Makefile:18: all] Error 2
[ERROR] The compilation of vorbis.0.7.0 failed at "make".

#=== ERROR while compiling vorbis.0.7.0 =======================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.05.0 | file:///src
# path                 ~/.opam/4.05/.opam-switch/build/vorbis.0.7.0
# command              /usr/bin/make
# exit-code            2
# env-file             ~/.opam/log/vorbis-115-08750c.env
# output-file          ~/.opam/log/vorbis-115-08750c.out
### output ###
# /usr/bin/make -C src all
# make[1]: Entering directory '/home/opam/.opam/4.05/.opam-switch/build/vorbis.0.7.0/src'
# make[2]: Entering directory '/home/opam/.opam/4.05/.opam-switch/build/vorbis.0.7.0/src'
# making ._bcdi/ogg_demuxer_vorbis_decoder.di from ogg_demuxer_vorbis_decoder.mli
# making ._bcdi/vorbis.di from vorbis.mli
# making ._d/ogg_demuxer_vorbis_decoder.d from ogg_demuxer_vorbis_decoder.ml
# making ._d/vorbis.d from vorbis.ml
# ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -Wall  -I/home/opam/.opam/4.05/include    \
# 			-DPIC -fPIC -I/home/opam/.opam/4.05/include     \
# 			  -I/home/opam/.opam/4.05/lib/bytes -I/home/opam/.opam/4.05/lib/ogg  -o vorbis_stubs.o " vorbis_stubs.c 
# ar rcs libvorbis_stubs.a  vorbis_stubs.o
# ocamlc.opt -c -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /home/opam/.opam/4.05/lib/bytes -I /home/opam/.opam/4.05/lib/ogg vorbis.mli
# ocamlc.opt -c -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /home/opam/.opam/4.05/lib/bytes -I /home/opam/.opam/4.05/lib/ogg vorbis.ml
# File "vorbis.ml", line 49, characters 4-20:
# Warning 32: unused value register_printer.
# ocamlc.opt -c -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /home/opam/.opam/4.05/lib/bytes -I /home/opam/.opam/4.05/lib/ogg ogg_demuxer_vorbis_decoder.mli
# ocamlc.opt -c -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /home/opam/.opam/4.05/lib/bytes -I /home/opam/.opam/4.05/lib/ogg ogg_demuxer_vorbis_decoder.ml
# File "ogg_demuxer_vorbis_decoder.ml", line 70, characters 6-34:
# Error: Unbound module Ogg_demuxer
# make[2]: *** [OCamlMakefile:952: ogg_demuxer_vorbis_decoder.cmo] Error 2
# make[2]: Leaving directory '/home/opam/.opam/4.05/.opam-switch/build/vorbis.0.7.0/src'
# make[1]: *** [OCamlMakefile:717: byte-code-library] Error 2
# make[1]: Leaving directory '/home/opam/.opam/4.05/.opam-switch/build/vorbis.0.7.0/src'
# make: *** [Makefile:18: all] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build vorbis 0.7.0
+- 
+- The following changes have been performed
| - install conf-libogg       1
| - install conf-pkg-config   3
| - install csexp             1.5.2
| - install dune-configurator 3.16.0
| - install ogg               0.7.1
+- 
# 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.05/.opam-switch/backup/state-20240912203946.export"
'opam --cli=2.1 install vorbis.0.7.0 ogg.0.7.1 ocamlfind.1.9.6 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 csexp.1.5.2 conf-pkg-config.3 conf-libogg.1 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.