package ppx_factory

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

ppx_factory 0.1.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 ppx_factory.0.1.0 stdlib-shims.0.3.0 sexplib0.v0.16.0 ppxlib.0.33.0 ppx_derivers.1.2.1 ocaml-compiler-libs.v0.12.4 dune.3.16.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
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 3.16.0).
The following actions will be performed:
  - install ppx_derivers        1.2.1
  - install ocaml-compiler-libs v0.12.4
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0
  - install ppxlib              0.33.0
  - install ppx_factory         0.1.0
===== 6 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/18:
Processing  2/18:
Processing  3/18: [ppx_factory.0.1.0: http]
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
Processing  4/18: [ppx_factory.0.1.0: http]
Processing  5/18: [ppx_factory.0.1.0: http] [ocaml-compiler-libs: dune build]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing  6/18: [ppx_factory.0.1.0: http] [ocaml-compiler-libs: dune build]
Processing  7/18: [ppx_factory.0.1.0: http] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
Processing  7/18: [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
-> retrieved ppxlib.0.33.0  (cached)
Processing  8/18: [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
-> retrieved sexplib0.v0.16.0  (cached)
Processing  9/18: [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build]
-> retrieved ppx_factory.0.1.0  (https://github.com/cryptosense/ppx_factory/releases/download/0.1.0/ppx_factory-0.1.0.tbz)
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 10/18: [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  ppx_derivers.1.2.1
Processing 10/18: [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed ppx_derivers.1.2.1
Processing 11/18: [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 11/18: [ocaml-compiler-libs: dune build] [sexplib0: dune build]
-> installed stdlib-shims.0.3.0
Processing 12/18: [ocaml-compiler-libs: dune build] [sexplib0: dune build]
-> compiled  sexplib0.v0.16.0
Processing 12/18: [ocaml-compiler-libs: dune build]
-> installed sexplib0.v0.16.0
Processing 13/18: [ocaml-compiler-libs: dune build]
+ /home/opam/.opam/4.08/bin/dune "build" "-p" "ocaml-compiler-libs" "-j" "39" "@install" (CWD=/home/opam/.opam/4.08/.opam-switch/build/ocaml-compiler-libs.v0.12.4)
- (cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w -40 -safe-string -g -bin-annot -I src/ocaml_optcomp/.ocaml_optcomp.objs/byte -I /home/opam/.opam/4.08/lib/ocaml/compiler-libs -no-alias-deps -o src/ocaml_optcomp/.ocaml_optcomp.objs/byte/ocaml_optcomp.cmo -c -impl src/ocaml_optcomp/ocaml_optcomp.ml)
- File "src/ocaml_optcomp/ocaml_optcomp.ml", line 12, characters 42-56:
- 12 | module Available_regs                   = Available_regs
-                                                ^^^^^^^^^^^^^^
- Warning 49: no cmi file was found in path for module Available_regs
- File "src/ocaml_optcomp/ocaml_optcomp.ml", line 87, characters 42-62:
- 87 | module Reg_availability_set             = Reg_availability_set
-                                                ^^^^^^^^^^^^^^^^^^^^
- Warning 49: no cmi file was found in path for module Reg_availability_set
- File "src/ocaml_optcomp/ocaml_optcomp.ml", line 88, characters 42-61:
- 88 | module Reg_with_debug_info              = Reg_with_debug_info
-                                                ^^^^^^^^^^^^^^^^^^^
- Warning 49: no cmi file was found in path for module Reg_with_debug_info
- (cd _build/default && /home/opam/.opam/4.08/bin/ocamlopt.opt -w -40 -safe-string -g -I src/ocaml_optcomp/.ocaml_optcomp.objs/byte -I src/ocaml_optcomp/.ocaml_optcomp.objs/native -I /home/opam/.opam/4.08/lib/ocaml/compiler-libs -intf-suffix .ml -no-alias-deps -o src/ocaml_optcomp/.ocaml_optcomp.objs/native/ocaml_optcomp.cmx -c -impl src/ocaml_optcomp/ocaml_optcomp.ml)
- File "src/ocaml_optcomp/ocaml_optcomp.ml", line 12, characters 42-56:
- 12 | module Available_regs                   = Available_regs
-                                                ^^^^^^^^^^^^^^
- Warning 49: no cmi file was found in path for module Available_regs
- File "src/ocaml_optcomp/ocaml_optcomp.ml", line 87, characters 42-62:
- 87 | module Reg_availability_set             = Reg_availability_set
-                                                ^^^^^^^^^^^^^^^^^^^^
- Warning 49: no cmi file was found in path for module Reg_availability_set
- File "src/ocaml_optcomp/ocaml_optcomp.ml", line 88, characters 42-61:
- 88 | module Reg_with_debug_info              = Reg_with_debug_info
-                                                ^^^^^^^^^^^^^^^^^^^
- Warning 49: no cmi file was found in path for module Reg_with_debug_info
-> compiled  ocaml-compiler-libs.v0.12.4
-> installed ocaml-compiler-libs.v0.12.4
Processing 15/18: [ppxlib: dune build]
+ /home/opam/.opam/4.08/bin/dune "build" "-p" "ppxlib" "-j" "39" "@install" (CWD=/home/opam/.opam/4.08/.opam-switch/build/ppxlib.0.33.0)
-> compiled  ppxlib.0.33.0
-> installed ppxlib.0.33.0
Processing 17/18: [ppx_factory: dune build]
+ /home/opam/.opam/4.08/bin/dune "build" "-p" "ppx_factory" "-j" "39" (CWD=/home/opam/.opam/4.08/.opam-switch/build/ppx_factory.0.1.0)
- (cd _build/default && /home/opam/.opam/4.08/bin/ocamlopt.opt -w -40 -g -I lib/.ppx_factory_lib.objs/byte -I lib/.ppx_factory_lib.objs/native -I /home/opam/.opam/4.08/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.08/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.08/lib/ocaml/compiler-libs -I /home/opam/.opam/4.08/lib/ppx_derivers -I /home/opam/.opam/4.08/lib/ppxlib -I /home/opam/.opam/4.08/lib/ppxlib/ast -I /home/opam/.opam/4.08/lib/ppxlib/astlib -I /home/opam/.opam/4.08/lib/ppxlib/print_diff -I /home/opam/.opam/4.08/lib/ppxlib/stdppx -I /home/opam/.opam/4.08/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.08/lib/sexplib0 -I /home/opam/.opam/4.08/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Ppx_factory_lib -o lib/.ppx_factory_lib.objs/native/ppx_factory_lib__Util.cmx -c -impl lib/util.pp.ml)
- File "lib/util.ml", line 18, characters 19-55:
- 18 |   let omp_config = Expansion_context.Deriver.omp_config ctxt in
-                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Error: Unbound value Expansion_context.Deriver.omp_config
- (cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.ppx_factory_lib.objs/byte -I /home/opam/.opam/4.08/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.08/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.08/lib/ocaml/compiler-libs -I /home/opam/.opam/4.08/lib/ppx_derivers -I /home/opam/.opam/4.08/lib/ppxlib -I /home/opam/.opam/4.08/lib/ppxlib/ast -I /home/opam/.opam/4.08/lib/ppxlib/astlib -I /home/opam/.opam/4.08/lib/ppxlib/print_diff -I /home/opam/.opam/4.08/lib/ppxlib/stdppx -I /home/opam/.opam/4.08/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.08/lib/sexplib0 -I /home/opam/.opam/4.08/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Ppx_factory_lib -o lib/.ppx_factory_lib.objs/byte/ppx_factory_lib__Util.cmo -c -impl lib/util.pp.ml)
- File "lib/util.ml", line 18, characters 19-55:
- 18 |   let omp_config = Expansion_context.Deriver.omp_config ctxt in
-                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Error: Unbound value Expansion_context.Deriver.omp_config
[ERROR] The compilation of ppx_factory.0.1.0 failed at "dune build -p ppx_factory -j 39".

#=== ERROR while compiling ppx_factory.0.1.0 ==================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.08.1 | file:///src
# path                 ~/.opam/4.08/.opam-switch/build/ppx_factory.0.1.0
# command              ~/.opam/4.08/bin/dune build -p ppx_factory -j 39
# exit-code            1
# env-file             ~/.opam/log/ppx_factory-115-346840.env
# output-file          ~/.opam/log/ppx_factory-115-346840.out
### output ###
# (cd _build/default && /home/opam/.opam/4.08/bin/ocamlopt.opt -w -40 -g -I lib/.ppx_factory_lib.objs/byte -I lib/.ppx_factory_lib.objs/native -I /home/opam/.opam/4.08/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.08/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.08/lib/ocaml/compiler-libs -I /home/opam/.opam/4.08/lib/ppx_derivers -I /home/opam/.opam/4.08/lib/ppxlib -I /home/opam/.opam/4.08/lib/ppxlib/ast -I /home/opam/.opam/4.08/lib/ppxlib/astlib -I /home/opam/.opam/4.08/lib/ppxlib/print_diff -I /home/opam/.opam/4.08/lib/ppxlib/stdppx -I /home/opam/.opam/4.08/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.08/lib/sexplib0 -I /home/opam/.opam/4.08/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Ppx_factory_lib -o lib/.ppx_factory_lib.objs/native/ppx_factory_lib__Util.cmx -c -impl lib/util.pp.ml)
# File "lib/util.ml", line 18, characters 19-55:
# 18 |   let omp_config = Expansion_context.Deriver.omp_config ctxt in
#                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: Unbound value Expansion_context.Deriver.omp_config
# (cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.ppx_factory_lib.objs/byte -I /home/opam/.opam/4.08/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.08/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.08/lib/ocaml/compiler-libs -I /home/opam/.opam/4.08/lib/ppx_derivers -I /home/opam/.opam/4.08/lib/ppxlib -I /home/opam/.opam/4.08/lib/ppxlib/ast -I /home/opam/.opam/4.08/lib/ppxlib/astlib -I /home/opam/.opam/4.08/lib/ppxlib/print_diff -I /home/opam/.opam/4.08/lib/ppxlib/stdppx -I /home/opam/.opam/4.08/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.08/lib/sexplib0 -I /home/opam/.opam/4.08/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Ppx_factory_lib -o lib/.ppx_factory_lib.objs/byte/ppx_factory_lib__Util.cmo -c -impl lib/util.pp.ml)
# File "lib/util.ml", line 18, characters 19-55:
# 18 |   let omp_config = Expansion_context.Deriver.omp_config ctxt in
#                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: Unbound value Expansion_context.Deriver.omp_config



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ppx_factory 0.1.0
+- 
+- The following changes have been performed
| - install ocaml-compiler-libs v0.12.4
| - install ppx_derivers        1.2.1
| - install ppxlib              0.33.0
| - install sexplib0            v0.16.0
| - install stdlib-shims        0.3.0
+- 
# 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.08/.opam-switch/backup/state-20240912204927.export"
'opam --cli=2.1 install ppx_factory.0.1.0 stdlib-shims.0.3.0 sexplib0.v0.16.0 ppxlib.0.33.0 ppx_derivers.1.2.1 ocaml-compiler-libs.v0.12.4 dune.3.16.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.