package gmp-freestanding

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

gmp-freestanding 6.0.0-1

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 gmp-freestanding.6.0.0-1 solo5-bindings-hvt.0.6.4 ocamlfind.1.9.6 conf-pkg-config.2 conf-m4.1 conf-libseccomp.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:
libseccomp-dev
linux-libc-dev
m4
pkg-config
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install ocaml-src          4.09.1-1 [required by ocaml-freestanding]
  - install conf-pkg-config    2
  - install conf-m4            1
  - install conf-libseccomp    1
  - install solo5-bindings-hvt 0.6.4
  - install ocaml-freestanding 0.4.7    [required by gmp-freestanding]
  - install gmp-freestanding   6.0.0-1
===== 7 to install =====

The following system packages will first need to be installed:
    libseccomp-dev m4 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" "libseccomp-dev" "m4" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18733 files and directories currently installed.)
- Preparing to unpack .../0-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package libseccomp-dev:amd64.
- Preparing to unpack .../1-libseccomp-dev_2.5.4-1+deb12u1_amd64.deb ...
- Unpacking libseccomp-dev:amd64 (2.5.4-1+deb12u1) ...
- Selecting previously unselected package m4.
- Preparing to unpack .../2-m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libseccomp-dev:amd64 (2.5.4-1+deb12u1) ...
- 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+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  4/21:
Processing  5/21:
Processing  6/21:
Processing  7/21: [conf-m4: sh echo | m4]
Processing  8/21: [conf-m4: sh echo | m4] [conf-pkg-config: pkg-config]
Processing  8/21: [gmp-freestanding.6.0.0-1/mirage-build.sh: dl] [conf-m4: sh echo | m4] [conf-pkg-config: pkg-config]
-> retrieved ocaml-freestanding.0.4.7  (cached)
Processing  9/21: [gmp-freestanding.6.0.0-1/mirage-build.sh: dl] [conf-m4: sh echo | m4] [conf-pkg-config: pkg-config]
-> retrieved ocaml-src.4.09.1-1  (cached)
[ocaml-src: patch] applying fix-configure-4.09.1.patch
Processing 10/21: [gmp-freestanding.6.0.0-1/mirage-build.sh: dl] [conf-m4: sh echo | m4] [conf-pkg-config: pkg-config] [ocaml-src: patch]
- + echo
- + m4
- 
-> compiled  conf-m4.1
Processing 10/21: [gmp-freestanding.6.0.0-1/mirage-build.sh: dl] [conf-pkg-config: pkg-config] [ocaml-src: patch]
-> installed conf-m4.1
Processing 11/21: [gmp-freestanding.6.0.0-1/mirage-build.sh: dl] [conf-pkg-config: pkg-config] [ocaml-src: patch]
- 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.2
Processing 11/21: [gmp-freestanding.6.0.0-1/mirage-build.sh: dl] [ocaml-src: patch]
Processing 12/21: [gmp-freestanding.6.0.0-1/mirage-build.sh: dl] [ocaml-src: patch] [conf-pkg-config: mkdir]
-> retrieved gmp-freestanding.6.0.0-1  (cached)
Processing 12/21: [ocaml-src: patch] [conf-pkg-config: mkdir]
-> retrieved solo5-bindings-hvt.0.6.4  (cached)
Processing 12/21: [conf-pkg-config: mkdir]
+ /usr/bin/mkdir "-p" "/home/opam/.opam/4.09/lib/pkgconfig" (CWD=/home/opam/.opam/4.09/.opam-switch/build/conf-pkg-config.2)
-> installed conf-pkg-config.2
Processing 13/21: [conf-libseccomp: pkg-config libseccomp]
Processing 14/21: [conf-libseccomp: pkg-config libseccomp] [ocaml-src: cp .]
-> compiled  conf-libseccomp.1
Processing 14/21: [ocaml-src: cp .]
+ /usr/bin/cp "-r" "." "/home/opam/.opam/4.09/lib/ocaml-src" (CWD=/home/opam/.opam/4.09/.opam-switch/build/ocaml-src.4.09.1-1)
-> installed ocaml-src.4.09.1-1
-> installed conf-libseccomp.1
Processing 16/21: [solo5-bindings-hvt: ./configure.sh]
+ /home/opam/.opam/4.09/.opam-switch/build/solo5-bindings-hvt.0.6.4/./configure.sh  (CWD=/home/opam/.opam/4.09/.opam-switch/build/solo5-bindings-hvt.0.6.4)
- configure.sh: ERROR: Only 'gcc' 4.x+ is supported on Linux
[ERROR] The compilation of solo5-bindings-hvt.0.6.4 failed at "./configure.sh".

#=== ERROR while compiling solo5-bindings-hvt.0.6.4 ===========================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.09.1 | file:///src
# path                 ~/.opam/4.09/.opam-switch/build/solo5-bindings-hvt.0.6.4
# command              ~/.opam/4.09/.opam-switch/build/solo5-bindings-hvt.0.6.4/./configure.sh
# exit-code            1
# env-file             ~/.opam/log/solo5-bindings-hvt-115-839a67.env
# output-file          ~/.opam/log/solo5-bindings-hvt-115-839a67.out
### output ###
# configure.sh: ERROR: Only 'gcc' 4.x+ is supported on Linux



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install gmp-freestanding   6.0.0-1
| - install ocaml-freestanding 0.4.7
+- 
+- The following actions failed
| - build solo5-bindings-hvt 0.6.4
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-libseccomp 1
| - install conf-m4         1
| - install conf-pkg-config 2
| - install ocaml-src       4.09.1-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.09/.opam-switch/backup/state-20240912210553.export"
'opam --cli=2.1 install gmp-freestanding.6.0.0-1 solo5-bindings-hvt.0.6.4 ocamlfind.1.9.6 conf-pkg-config.2 conf-m4.1 conf-libseccomp.1 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.