1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122 |
+ opam init --yes
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git, mercurial.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
<><> Required setup - please read <><><><><><><><><><><><><><><><><><><><><><><>
In normal operation, opam only alters files within ~/.opam.
However, to best integrate with your system, some environment variables
should be set. If you allow it to, this initialisation step will update
your bash configuration by adding the following line to ~/.profile:
test -r '/home/build/.opam/opam-init/init.sh' && . '/home/build/.opam/opam-init/init.sh' > /dev/null 2> /dev/null || true
Otherwise, every time you want to access your opam installation, you will
need to run:
eval $(opam env)
You can always re-run this setup with 'opam init' later.
[WARNING] Shell not updated in non-interactive mode: use --shell-setup
<><> Creating initial switch 'default' (invariant ["ocaml" {>= "4.05.0"}] - initially with ocaml-base-compiler)
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml" {>= "4.05.0"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed base-bigarray.base
∗ installed base-threads.base
∗ installed base-unix.base
∗ installed host-arch-x86_64.1
∗ installed host-system-other.1
∗ installed ocaml-options-vanilla.1
⬇ retrieved ocaml-config.3 (2 extra sources)
⬇ retrieved ocaml-config.3 (2 extra sources)
⬇ retrieved ocaml-base-compiler.5.2.1 (https://opam.ocaml.org/cache)
∗ installed ocaml-base-compiler.5.2.1
∗ installed ocaml-config.3
∗ installed ocaml.5.2.1
∗ installed base-domains.base
∗ installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=default)
++ opam env
+ eval 'OPAM_LAST_ENV='\''/home/build/.opam/.last-env/env-8894320684ef01b217c26f180262ca82-0'\'';' export 'OPAM_LAST_ENV;' 'OPAM_SWITCH_PREFIX='\''/home/build/.opam/default'\'';' export 'OPAM_SWITCH_PREFIX;' 'CAML_LD_LIBRARY_PATH='\''/home/build/.opam/default/lib/stublibs:/home/build/.opam/default/lib/ocaml/stublibs:/home/build/.opam/default/lib/ocaml'\'';' export 'CAML_LD_LIBRARY_PATH;' 'OCAML_TOPLEVEL_PATH='\''/home/build/.opam/default/lib/toplevel'\'';' export 'OCAML_TOPLEVEL_PATH;' 'PATH='\''/home/build/.opam/default/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin'\'';' export 'PATH;'
++ OPAM_LAST_ENV=/home/build/.opam/.last-env/env-8894320684ef01b217c26f180262ca82-0
++ export OPAM_LAST_ENV
++ OPAM_SWITCH_PREFIX=/home/build/.opam/default
++ export OPAM_SWITCH_PREFIX
++ CAML_LD_LIBRARY_PATH=/home/build/.opam/default/lib/stublibs:/home/build/.opam/default/lib/ocaml/stublibs:/home/build/.opam/default/lib/ocaml
++ export CAML_LD_LIBRARY_PATH
++ OCAML_TOPLEVEL_PATH=/home/build/.opam/default/lib/toplevel
++ export OCAML_TOPLEVEL_PATH
++ PATH=/home/build/.opam/default/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin
++ export PATH
+ cd sylvan/bs
+ opam install --deps-only --yes .
The following actions will be performed:
=== install 43 packages
∗ base v0.17.1 [required by ppx_expect]
∗ conf-gmp 4 [required by zarith]
∗ conf-pkg-config 3 [required by zarith]
∗ cppo 1.7.0 [required by ppx_deriving]
∗ csexp 1.5.2 [required by dune-configurator]
∗ dune 3.16.1 [required by sylvan_stage0, sylvan_stage0_parser]
∗ dune-configurator 3.16.1 [required by base]
∗ gen 1.1 [required by sedlex]
∗ jane-street-headers v0.17.0 [required by time_now]
∗ jst-config v0.17.0 [required by time_now]
∗ menhir 20240715 [required by sylvan_stage0_parser]
∗ menhirCST 20240715 [required by menhir]
∗ menhirLib 20240715 [required by menhir]
∗ menhirSdk 20240715 [required by menhir]
∗ ocaml-compiler-libs v0.17.0 [required by ppxlib]
∗ ocaml_intrinsics_kernel v0.17.1 [required by base]
∗ ocamlbuild 0.15.0 [required by uucp]
∗ ocamlfind 1.9.6 [required by uucp, ppx_deriving, zarith]
∗ ppx_assert v0.17.0 [required by jst-config]
∗ ppx_base v0.17.0 [required by time_now]
∗ ppx_cold v0.17.0 [required by ppx_base]
∗ ppx_compare v0.17.0 [required by ppx_base]
∗ ppx_derivers 1.2.1 [required by ppx_deriving]
∗ ppx_deriving 6.0.3 [required by sylvan_stage0, sylvan_stage0_parser]
∗ ppx_enumerate v0.17.0 [required by ppx_base]
∗ ppx_expect v0.17.2 [required by sylvan_stage0, sylvan_stage0_parser]
∗ ppx_globalize v0.17.0 [required by ppx_base]
∗ ppx_hash v0.17.0 [required by ppx_base]
∗ ppx_here v0.17.0 [required by ppx_expect]
∗ ppx_inline_test v0.17.0 [required by ppx_expect]
∗ ppx_optcomp v0.17.0 [required by time_now]
∗ ppx_sexp_conv v0.17.0 [required by ppx_base]
∗ ppxlib 0.33.0 [required by ppx_expect, ppx_deriving, sedlex]
∗ ppxlib_jane v0.17.0 [required by ppx_globalize, ppx_enumerate, ppx_hash]
∗ sedlex 3.3 [required by sylvan_stage0_parser]
∗ seq base [required by gen]
∗ sexplib0 v0.17.0 [required by ppxlib, base]
∗ stdio v0.17.0 [required by ppx_expect]
∗ stdlib-shims 0.3.0 [required by ppxlib]
∗ time_now v0.17.0 [required by ppx_inline_test]
∗ topkg 1.0.7 [required by uucp]
∗ uucp 16.0.0 [required by sylvan_stage0]
∗ zarith 1.14 [required by sylvan_stage0_parser]
The following system packages will first need to be installed:
pkgconf
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run pkg to install them (may need root/sudo access)
2. Display the recommended pkg 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] |