package class_group_vdf

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

class_group_vdf 0.0.2

Error log

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

[NOTE] Package dune is already installed (current version is 3.17.2).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
=== install 7 packages
  - install class_group_vdf 0.0.2
  - install conf-g++        1.0
  - install conf-gmp        4
  - install conf-pkg-config 4
  - install integers        0.7.0
  - install stdlib-shims    0.3.0
  - install zarith          1.14

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

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl: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 ... 18776 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- 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 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 libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-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+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved class_group_vdf.0.0.2  (cached)
-> installed conf-g++.1.0
-> installed conf-gmp.4
-> installed conf-pkg-config.4
-> retrieved zarith.1.14  (cached)
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed zarith.1.14
[ERROR] The compilation of class_group_vdf.0.0.2 failed at "dune build -j 39 -p class_group_vdf @install".

#=== ERROR while compiling class_group_vdf.0.0.2 ==============================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/class_group_vdf.0.0.2
# command              ~/.opam/5.1/bin/dune build -j 39 -p class_group_vdf @install
# exit-code            1
# env-file             ~/.opam/log/class_group_vdf-113-b0440e.env
# output-file          ~/.opam/log/class_group_vdf-113-b0440e.out
### output ###
# File "src/dune", lines 9-24, characters 0-452:
#  9 | (library
# 10 |  (name class_group_vdf)
# 11 |  (public_name class_group_vdf)
# ....
# 22 |   (flags
# 23 |    (:include stubs_flags.sexp))
# 24 |   (names cg_vdf_wrapper cg_vdf_bindings_stubs)))
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlmklib -g -o src/class_group_vdf_stubs src/cg_vdf_wrapper.o src/cg_vdf_bindings_stubs.o -ldopt -lgmpxx -ldopt -lgmp -ldopt -lstdc++)
# /usr/bin/ld: src/cg_vdf_wrapper.o: relocation R_X86_64_TPOFF32 against `_ZZ12rand_integeriiE7is_init' can not be used when making a shared object; recompile with -fPIC
# /usr/bin/ld: failed to set dynamic section sizes: bad value
# collect2: error: ld returned 1 exit status



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build class_group_vdf 0.0.2
+- 
+- The following changes have been performed
| - install conf-g++        1.0
| - install conf-gmp        4
| - install conf-pkg-config 4
| - install integers        0.7.0
| - install stdlib-shims    0.3.0
| - install zarith          1.14
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20250204025949.export"
OCaml

Innovation. Community. Security.