package class_group_vdf

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

class_group_vdf 0.0.3

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 class_group_vdf.0.0.3 zarith.1.14 stdlib-shims.0.3.0 ocamlfind.1.9.6 integers.0.7.0 host-arch-x86_64.1 dune.3.16.0 conf-pkg-config.3 conf-gmp.4 conf-g++.1.0" 

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:
g++
libgmp-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 conf-gmp        4
  - install conf-pkg-config 3
  - install conf-g++        1.0
  - install stdlib-shims    0.3.0
  - install zarith          1.14
  - install integers        0.7.0
  - install class_group_vdf 0.0.3
===== 7 to install =====

The following system packages will first need to be installed:
    libgmp-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" "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 ... 18733 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+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/21: [class_group_vdf.0.0.3: http]
Processing  2/21: [class_group_vdf.0.0.3: http]
-> retrieved conf-gmp.4  (cached)
Processing  3/21: [class_group_vdf.0.0.3: http]
Processing  4/21: [class_group_vdf.0.0.3: http]
Processing  5/21: [class_group_vdf.0.0.3: http]
Processing  6/21: [class_group_vdf.0.0.3: http]
Processing  7/21: [class_group_vdf.0.0.3: http] [conf-g++: g++]
Processing  8/21: [class_group_vdf.0.0.3: http] [conf-g++: g++] [conf-gmp: sh]
Processing  9/21: [class_group_vdf.0.0.3: http] [conf-g++: g++] [conf-gmp: sh] [conf-pkg-config: pkg-config]
Processing  9/21: [conf-g++: g++] [conf-gmp: sh] [conf-pkg-config: pkg-config]
-> retrieved integers.0.7.0  (cached)
Processing 10/21: [conf-g++: g++] [conf-gmp: sh] [conf-pkg-config: pkg-config]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 11/21: [conf-g++: g++] [conf-gmp: sh] [conf-pkg-config: pkg-config] [stdlib-shims: dune build]
- g++ (Debian 12.2.0-14) 12.2.0
- Copyright (C) 2022 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions.  There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- 
-> compiled  conf-g++.1.0
Processing 11/21: [conf-gmp: sh] [conf-pkg-config: pkg-config] [stdlib-shims: dune build]
-> installed conf-g++.1.0
Processing 12/21: [conf-gmp: sh] [conf-pkg-config: pkg-config] [stdlib-shims: dune build]
- + cc -c -I/usr/local/include test.c
-> compiled  conf-gmp.4
Processing 12/21: [conf-pkg-config: pkg-config] [stdlib-shims: dune build]
-> installed conf-gmp.4
Processing 13/21: [conf-pkg-config: pkg-config] [stdlib-shims: 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 13/21: [stdlib-shims: dune build]
-> installed conf-pkg-config.3
Processing 14/21: [stdlib-shims: dune build]
-> retrieved class_group_vdf.0.0.3  (https://gitlab.com/nomadic-labs/cryptography/ocaml-chia-vdf/-/archive/v0.0.3/ocaml-chia-vdf-v0.0.3.tar.gz)
-> retrieved zarith.1.14  (cached)
Processing 15/21: [stdlib-shims: dune build] [zarith: ./configure]
- binary ocaml: found in /home/opam/.opam/4.14/bin
- binary ocamlc: found in /home/opam/.opam/4.14/bin
- binary ocamldep: found in /home/opam/.opam/4.14/bin
- binary ocamlmklib: found in /home/opam/.opam/4.14/bin
- binary ocamldoc: found in /home/opam/.opam/4.14/bin
- binary ocamlopt: found in /home/opam/.opam/4.14/bin
- checking compilation with ocamlc -O3 -Wall -Wextra : working
- include caml/mlvalues.h: found
- library dynlink.cmxa: found
- binary ocamlfind: found in /home/opam/.opam/4.14/bin
- OCaml's word size is 64
- package gmp: found
- OCaml supports -bin-annot to produce documentation
- 
- detected configuration:
- 
-   native-code:          yes
-   dynamic linking:      yes
-   defines:              -DHAS_GMP 
-   includes:             -I/home/opam/.opam/4.14/lib/ocaml  
-   libraries:             -lgmp 
-   linker options:       
-   C options:            -O3 -Wall -Wextra 
-   installation path:    /home/opam/.opam/4.14/lib
-   installation method   findlib
- 
- configuration successful!
- now type "make" to build
- then type "make install" or "sudo make install" to install
Processing 15/21: [stdlib-shims: dune build] [zarith: make]
-> compiled  stdlib-shims.0.3.0
Processing 15/21: [zarith: make]
-> installed stdlib-shims.0.3.0
Processing 16/21: [zarith: make]
Processing 17/21: [integers: dune build] [zarith: make]
-> compiled  integers.0.7.0
Processing 17/21: [zarith: make]
-> installed integers.0.7.0
Processing 18/21: [zarith: make]
+ /usr/bin/make  (CWD=/home/opam/.opam/4.14/.opam-switch/build/zarith.1.14)
- (echo "let"; grep "version" META | head -1) > zarith_version.ml
- ocamldep  zarith_version.ml z.ml q.ml big_int_Z.ml z.mli q.mli big_int_Z.mli > depend
- ocamlc -g -I +compiler-libs -bin-annot  -c zarith_version.ml
- ocamlc -g -I +compiler-libs -bin-annot  -c z.mli
- ocamlc -g -I +compiler-libs -bin-annot  -c z.ml
- ocamlc -g -I +compiler-libs -bin-annot  -c q.mli
- ocamlc -g -I +compiler-libs -bin-annot  -c q.ml
- ocamlc -g -I +compiler-libs -bin-annot  -c big_int_Z.mli
- ocamlc -g -I +compiler-libs -bin-annot  -c big_int_Z.ml
- ocamlmklib -g -failsafe -o zarith zarith_version.cmo z.cmo q.cmo big_int_Z.cmo -lgmp  
- ocamlc -ccopt "-I/home/opam/.opam/4.14/lib/ocaml   -DHAS_GMP  -O3 -Wall -Wextra " -c caml_z.c
- ocamlmklib -g -failsafe -o zarith caml_z.o -lgmp  
- ocamlc -g -I +compiler-libs -bin-annot  -c zarith_top.ml
- ocamlc -g -o zarith_top.cma -a zarith_top.cmo
- ocamlopt -g -I +compiler-libs  -c zarith_version.ml
- ocamlopt -g -I +compiler-libs  -c z.ml
- ocamlopt -g -I +compiler-libs  -c q.ml
- ocamlopt -g -I +compiler-libs  -c big_int_Z.ml
- ocamlmklib -g -failsafe -o zarith zarith_version.cmx z.cmx q.cmx big_int_Z.cmx -lgmp  
- ocamlopt -shared -o zarith.cmxs -I . zarith.cmxa -linkall
-> compiled  zarith.1.14
Processing 19/21: [zarith: make install]
+ /usr/bin/make "install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/zarith.1.14)
- ocamlfind install -destdir "/home/opam/.opam/4.14/lib" zarith META zarith.cma libzarith.a z.cmi q.cmi big_int_Z.cmi zarith_top.cma z.mli zarith.cmxa zarith_version.cmx z.cmx q.cmx big_int_Z.cmx zarith.cmxs zarith.h q.mli big_int_Z.mli zarith.a z.cmti q.cmti big_int_Z.cmti -optional dllzarith.so
- Installed /home/opam/.opam/4.14/lib/zarith/big_int_Z.cmti
- Installed /home/opam/.opam/4.14/lib/zarith/q.cmti
- Installed /home/opam/.opam/4.14/lib/zarith/z.cmti
- Installed /home/opam/.opam/4.14/lib/zarith/zarith.a
- Installed /home/opam/.opam/4.14/lib/zarith/big_int_Z.mli
- Installed /home/opam/.opam/4.14/lib/zarith/q.mli
- Installed /home/opam/.opam/4.14/lib/zarith/zarith.h
- Installed /home/opam/.opam/4.14/lib/zarith/zarith.cmxs
- Installed /home/opam/.opam/4.14/lib/zarith/big_int_Z.cmx
- Installed /home/opam/.opam/4.14/lib/zarith/q.cmx
- Installed /home/opam/.opam/4.14/lib/zarith/z.cmx
- Installed /home/opam/.opam/4.14/lib/zarith/zarith_version.cmx
- Installed /home/opam/.opam/4.14/lib/zarith/zarith.cmxa
- Installed /home/opam/.opam/4.14/lib/zarith/z.mli
- Installed /home/opam/.opam/4.14/lib/zarith/zarith_top.cma
- Installed /home/opam/.opam/4.14/lib/zarith/big_int_Z.cmi
- Installed /home/opam/.opam/4.14/lib/zarith/q.cmi
- Installed /home/opam/.opam/4.14/lib/zarith/z.cmi
- Installed /home/opam/.opam/4.14/lib/zarith/libzarith.a
- Installed /home/opam/.opam/4.14/lib/zarith/zarith.cma
- Installed /home/opam/.opam/4.14/lib/stublibs/dllzarith.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dllzarith.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.14/lib/zarith/META
-> installed zarith.1.14
Processing 20/21: [class_group_vdf: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-j" "39" "-p" "class_group_vdf" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/class_group_vdf.0.0.3)
- 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/4.14/bin/ocamlmklib.opt -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] The compilation of class_group_vdf.0.0.3 failed at "dune build -j 39 -p class_group_vdf @install".

#=== ERROR while compiling class_group_vdf.0.0.3 ==============================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///src
# path                 ~/.opam/4.14/.opam-switch/build/class_group_vdf.0.0.3
# command              ~/.opam/4.14/bin/dune build -j 39 -p class_group_vdf @install
# exit-code            1
# env-file             ~/.opam/log/class_group_vdf-115-200ac5.env
# output-file          ~/.opam/log/class_group_vdf-115-200ac5.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/4.14/bin/ocamlmklib.opt -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.3
+- 
+- The following changes have been performed
| - install conf-g++        1.0
| - install conf-gmp        4
| - install conf-pkg-config 3
| - install integers        0.7.0
| - install stdlib-shims    0.3.0
| - install zarith          1.14
+- 
# 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-20240912204247.export"
'opam --cli=2.1 install class_group_vdf.0.0.3 zarith.1.14 stdlib-shims.0.3.0 ocamlfind.1.9.6 integers.0.7.0 host-arch-x86_64.1 dune.3.16.0 conf-pkg-config.3 conf-gmp.4 conf-g++.1.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.