aacplus

Bindings for the aacplus library which provides functions for decoding AAC audio files

Error log

The package failed to build. The error log from opam follows.

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:
pkg-config
[NOTE] Package ocamlfind is already installed (current version is 1.9.5).
The following actions will be performed:
  - install conf-pkg-config 2
  - install aacplus         0.2.2
===== 2 to install =====

The following system packages will first need to be installed:
    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" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0: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 ... 18332 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.66.8-1_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.66.8-1) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.66.8-1_all.deb ...
- Unpacking libglib2.0-data (2.66.8-1) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../2-libicu67_67.1-7_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../4-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../5-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../6-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libicu67:amd64 (67.1-7) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.66.8-1) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.66.8-1) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
- Setting up shared-mime-info (2.0-1) ...
- Processing triggers for libc-bin (2.31-13+deb11u5) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/6:
Processing  2/6:
Processing  3/6: [conf-pkg-config: pkg-config]
-> retrieved aacplus.0.2.2  (cached)
+ /usr/bin/pkg-config "--help" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-pkg-config.2)
- Usage:
-   pkg-config [OPTION?]
- 
- Help Options:
-   -h, --help                              Show help options
- 
- Application Options:
-   --version                               output version of pkg-config
-   --modversion                            output version for package
-   --atleast-pkgconfig-version=VERSION     require given version of pkg-config
-   --libs                                  output all linker flags
-   --static                                output linker flags for static linking
-   --short-errors                          print short errors
-   --libs-only-l                           output -l flags
-   --libs-only-other                       output other libs (e.g. -pthread)
-   --libs-only-L                           output -L flags
-   --cflags                                output all pre-processor and compiler flags
-   --cflags-only-I                         output -I flags
-   --cflags-only-other                     output cflags not covered by the cflags-only-I option
-   --variable=NAME                         get the value of variable named NAME
-   --define-variable=NAME=VALUE            set variable NAME to VALUE
-   --exists                                return 0 if the module(s) exist
-   --print-variables                       output list of variables defined by the module
-   --uninstalled                           return 0 if the uninstalled version of one or more module(s) or their dependencies will be used
-   --atleast-version=VERSION               return 0 if the module is at least version VERSION
-   --exact-version=VERSION                 return 0 if the module is at exactly version VERSION
-   --max-version=VERSION                   return 0 if the module is at no newer than version VERSION
-   --list-all                              list all known packages
-   --debug                                 show verbose debug information
-   --print-errors                          show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line)
-   --silence-errors                        be silent about errors (default when --exists or --atleast/exact/max-version given on the command line)
-   --errors-to-stdout                      print errors from --print-errors to stdout not stderr
-   --print-provides                        print which packages the package provides
-   --print-requires                        print which packages the package requires
-   --print-requires-private                print which packages the package requires for static linking
-   --validate                              validate a package's .pc file
-   --define-prefix                         try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --dont-define-prefix                    don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --prefix-variable=PREFIX                set the name of the variable that pkg-config automatically sets
- 
-> compiled  conf-pkg-config.2
Processing  4/6: [conf-pkg-config: mkdir]
+ /bin/mkdir "-p" "/home/opam/.opam/4.14/lib/pkgconfig" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-pkg-config.2)
-> installed conf-pkg-config.2
Processing  5/6: [aacplus: ./configure]
+ /home/opam/.opam/4.14/.opam-switch/build/aacplus.0.2.2/./configure "--prefix" "/home/opam/.opam/4.14" (CWD=/home/opam/.opam/4.14/.opam-switch/build/aacplus.0.2.2)
- configuring ocaml-aacplus 0.2.2
- 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 whether to build shared modules... yes
- 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 aacplus >= 2.0.1... configure: error: aacplus.pc not found.. Do you need to set PKG_CONFIG_PATH?
[ERROR] The compilation of aacplus.0.2.2 failed at "./configure --prefix /home/opam/.opam/4.14".

#=== ERROR while compiling aacplus.0.2.2 ======================================#
# context              2.1.4 | linux/x86_64 | ocaml-base-compiler.4.14.1 | file:///src
# path                 ~/.opam/4.14/.opam-switch/build/aacplus.0.2.2
# command              ~/.opam/4.14/.opam-switch/build/aacplus.0.2.2/./configure --prefix /home/opam/.opam/4.14
# exit-code            1
# env-file             ~/.opam/log/aacplus-260-dd7689.env
# output-file          ~/.opam/log/aacplus-260-dd7689.out
### output ###
# configuring ocaml-aacplus 0.2.2
# 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 whether to build shared modules... yes
# 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 aacplus >= 2.0.1... configure: error: aacplus.pc not found.. Do you need to set PKG_CONFIG_PATH?



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build aacplus 0.2.2
+- 
+- The following changes have been performed
| - install conf-pkg-config 2
+- 
# 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-20230117155444.export"
'opam --cli=2.1 install aacplus.0.2.2 conf-pkg-config.2 ocamlfind.1.9.5 --verbose --yes --confirm-level=unsafe-yes' failed.