Step by step setup of a Raspberry Pi 3 with Fedora linux-OS and Tezos


#21

yes it finnaly finished.
I think some flag of opam must be set, in order for opam not to perform silently.
The installer needs to see something moving on the screen.

I am now in the step
opam install git-unix

which also takes a lot to finish. Among other things it installs, it reported an error. Now the whole operating system seem stuck. a screen full of warning and the final message:
[25.000589] fb: switching to vx4drmfb from simple

I will power off pi3 and try to reboot

the same message again:
[23.960095] fb: switching to vc4rmfb from simple
and the operating system stucks.

Do you think my pi3 has a hardware damage and I shall turn it back and replace it?


#22

if ‘opam switch “tezos” --alias-of 4.04.2’ went down without troubles (besides the “aspcud” warning),
I would skip the installation of git-unix and move to the big step:

opam config env
make build-deps

let the fun begin…


#23

hehe
I removed tottaly my tv and I login only through ssl.
It seems that the hardware reset was caused by my tv.
Things go much more smoothly now!!!
I am in …
make build-deps
…phase now. The adventure continues!

The following actions failed
  ∗  install uri 1.9.5
The following changes have been performed
  ∗  install conf-libev    4-11
  ∗  install conf-openssl  1
  ∗  install cstruct-lwt   3.2.1
  ∗  install irmin-watcher 0.3.0
  ∗  install logs          0.6.2
  ∗  install lwt           3.2.0
  ∗  install lwt_ssl       1.1.1
  ∗  install nocrypto      0.5.4
  ∗  install ssl           0.5.5

=-=- lwt.3.2.0 installed successfully -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=> Lwt 4.0.0 will make some breaking changes in March 2018. See
     https://github.com/ocsigen/lwt/issues/453

The former state can be restored with:
    opam switch import "~/.opam/tezos/backup/state-20171130182331.export"
make: *** [Makefile:20: build-deps] Error 4

Its uri time!

I am now in part T-7
But I am done for today! I will continue tomorrow (or after two days)


#24

Hey @demo - I have the same: when I pull out my HDMI cable, the Raspberry Pi shuts down (even when not touching the power cable). It seems it’s only the case with Fedora. Strange… but luckily off topic :wink:

I’m back on trying to compile with Fedora. Let’s see who is there first. To be honest skipped most of the ‘F’ steps. I mainly did

F1 flash fedora minimal server
log in with ssh: ssh 192.168.0.142 -l mootjes
F2 df -h
growpart /dev/mmcblk0 4
resize2fs /dev/mmcblk0p4
df -h
F16 dnf upgrade
shutdown -r now

Now busy with the ocaml compilation again. Would be great if I can still finish in 2017 :smiley:


#25

@maxtez-raspbaker
FYI, you mention the following command: ‘opam switch “tezos” --alias-of 4.04.2’
==> you barely see it but your quotes ("") are skewed (http://www.ltg.ed.ac.uk/~richard/utf-8.cgi?input=8220&mode=decimal). It should be the normal ones: ". Given I copy paste all your commands, I had the skewed ones and it gave a strange error, see below:

[mootjes@localhost .opam]$ ls
4.04.2 config opam-init state.cache
aliases lock packages ‘’$’\342\200\234’‘tezos’$’\342\200\235’
compilers log repo

==> may be good to mention that in your manual. I’ll recompile now and see how for I can go :wink:


#26

I hope you guys can get it done soon, I am tired of playing alone… and together will be easier to iron out some kinks I stumbled upon while running the Tezos node (and soon you will too!)

not sure what is going on with your tv/monitor, I plug/unplug screen+keyboard+mouse 4-5 times a day back and forth between two Raspberry PIs, no problem


#27

yes it should be " not `` or ' or ', you can also see the command: opam switch “tezos” --alias-of 4.04.2
here: https://github.com/tezos/tezos


#28

Oh my - stuck again…

@maxtez-raspbaker

-) Here is my history: https://www.hastebin.com/dixutefafi.sql
-) make build-deps looked OK, except for one warning: https://www.hastebin.com/ixayuqolis.sql

[WARNING] Rsync partially failed:
symlink has no referent:
"/home/mootjes/tezos/.github/ISSUE_TEMPLATE.md"
rsync error: some files/attrs were not transferred (see previous
errors) (code
23) at main.c(1178) [sender=3.1.2]

-) make results in an error :frowning:
https://www.hastebin.com/haziwinehi.coffeescript

Any thoughts?


#29

Deleting this code did not help. I added an issue on Github:


#30

mmm, this look strange,
I do not completely follow your history, it should be shorter, nothing should be done as a superuser,
except: dnf install “some package” (if needed)

the warning running make build-deps ([WARNING] Rsync partially failed…) is not a problem that breaks down the installation process.

with the command: make there are 5 warnings like this:
Warning 3: deprecated: Lwt.waiter_of_wakener

I checked in my installation folders one of the files (lwt_utils.ml) that should include this instruction “Lwt.waiter_of_wakener”, it is indeed included (no later modification of the file) and I was able to complete the make process and get the exe files. Something else is going on with your installation.

Are you using the correct OCaml version? typing:
opam switch list
you see the following:
tezos C 4.04.2 official 4.04.2 release
4.04.2 I 4.04.2 official 4.04.2 release

Then try once more:
eval opam config env
opam update
opam upgrade
make build-deps

and this:
make clean
make

I share your frustration, but it is worth persisting, it can be done…


#31

hey @maxtez-raspbaker
Thanks for your feedback, much appreciated. However, when I run the commands you mention, the result is the same unfortunately.

Complete log:
https://www.hastebin.com/rijecidisi.sql

Any final thoughts? :slight_smile:


#32

the only “strange thing” I see in your history is that only OCaml 4.04.2 does not show up as installed in your switch list, not sure why.
I am tempted to suggest you to try once more. As a user in /home/mootjes/ remove the .opam folder
rm -rf .opam
and type:
opam init --comp= 4.04.2
then see what the list looks like:
opam switch list
if it shows that 4.04.2 is installed then remove the .tezos folder:
rm -rf tezos
and continue with the installation:
opam switch “tezos” --alias-of 4.04.2

I don’t quite understand why in your case doesn’t work, have you installed the extra packages listed in the preliminary step T-1) ?


#33

I am stuck here now

make build-deps

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of git-unix failed at "jbuilder build -p git-unix -j
        4".

#=== ERROR while installing git-unix.1.11.1 ===================================#
# opam-version 1.2.2
# os           linux
# command      jbuilder build -p git-unix -j 4
# path         /home/tz/.opam/tezos/build/git-unix.1.11.1
# compiler     4.04.2
# exit-code    1
# env-file     /home/tz/.opam/tezos/build/git-unix.1.11.1/git-unix-14537-05296d.env
# stdout-file  /home/tz/.opam/tezos/build/git-unix.1.11.1/git-unix-14537-05296d.out
# stderr-file  /home/tz/.opam/tezos/build/git-unix.1.11.1/git-unix-14537-05296d.err
### stderr ###
# Error: External library "cohttp.lwt" is unavailable.
# -> required by "git-http"
# -> required by "src/git-unix/jbuild (context default)"
# External library "cohttp.lwt" is not available because it depends on the following libraries that are not available:
# - cohttp-lwt-unix -> not found
# Hint: try: jbuilder external-lib-deps --missing -p git-unix @install



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions were aborted
  ∗  install irmin-unix 1.3.0
The following actions failed
  ∗  install git-unix 1.11.1
No changes have been performed
make: *** [Makefile:20: build-deps] Error 4

I solved it by
opam install git-unix

and now the
make build-deps
passes!

but when I
make
then

make
      ocamlc src/utils/crypto_box.{cmi,cmti}
      ocamlc src/utils/tezos_data.{cmi,cmti}
    ocamlopt src/minutils/RPC.{cmx,o}
      ocamlc src/utils/lwt_dropbox.{cmo,cmt} (exit 2)
(cd _build/default && /home/tz/.opam/tezos/bin/ocamlc.opt -w @a-4-29-40-41-42-44                                                                                -45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -                                                                                9+27-30-32-40@8 -safe-string -g -bin-annot -I /home/tz/.opam/tezos/lib/base64 -I                                                                                 /home/tz/.opam/tezos/lib/bytes -I /home/tz/.opam/tezos/lib/calendar -I /home/tz                                                                                /.opam/tezos/lib/cstruct -I /home/tz/.opam/tezos/lib/ctypes -I /home/tz/.opam/te                                                                                zos/lib/ezjsonm -I /home/tz/.opam/tezos/lib/hex -I /home/tz/.opam/tezos/lib/inte                                                                                gers -I /home/tz/.opam/tezos/lib/ipaddr -I /home/tz/.opam/tezos/lib/ipaddr/unix                                                                                 -I /home/tz/.opam/tezos/lib/jsonm -I /home/tz/.opam/tezos/lib/lwt -I /home/tz/.o                                                                                pam/tezos/lib/mtime -I /home/tz/.opam/tezos/lib/mtime/os -I /home/tz/.opam/tezos                                                                                /lib/nocrypto -I /home/tz/.opam/tezos/lib/ocaml -I /home/tz/.opam/tezos/lib/ocam                                                                                l/threads -I /home/tz/.opam/tezos/lib/ocplib-endian -I /home/tz/.opam/tezos/lib/                                                                                ocplib-json-typed -I /home/tz/.opam/tezos/lib/ocplib-resto -I /home/tz/.opam/tez                                                                                os/lib/ocplib-resto/directory -I /home/tz/.opam/tezos/lib/re -I /home/tz/.opam/t                                                                                ezos/lib/result -I /home/tz/.opam/tezos/lib/sexplib -I /home/tz/.opam/tezos/lib/                                                                                sexplib/0 -I /home/tz/.opam/tezos/lib/sodium -I /home/tz/.opam/tezos/lib/stringe                                                                                xt -I /home/tz/.opam/tezos/lib/uchar -I /home/tz/.opam/tezos/lib/uri -I /home/tz                                                                                /.opam/tezos/lib/uutf -I /home/tz/.opam/tezos/lib/zarith -I src/minutils -no-ali                                                                                as-deps -I src/utils -o src/utils/lwt_dropbox.cmo -c -impl src/utils/lwt_dropbox                                                                                .ml)

File "src/utils/lwt_dropbox.ml", line 54, characters 23-44:
Warning 3: deprecated: Lwt.waiter_of_wakener
 This function should be avoided, because it makes subtyping of resolvers
 unsound. See
  https://github.com/ocsigen/lwt/issues/458
File "src/utils/lwt_dropbox.ml", line 1:
Error: Some fatal warnings were triggered (1 occurrences)

Waiting for 3 jobs to finish.
make: *** [Makefile:5: all] Error 1

I typed
make clean
make
and here you are the errors now

 make
    ocamldep src/client_main.depends.ocamldep-output
    ocamldep src/node_main.depends.ocamldep-output
    ocamldep src/compiler_main.depends.ocamldep-output
    ocamldep src/environment/sigs_packer/sigs_packer.depends.ocamldep-output
    ocamldep src/client/client_lib.dependsi.ocamldep-output
    ocamldep src/client/client_lib.depends.ocamldep-output
    ocamldep src/client/embedded/alpha/client_embedded_alpha.depends.ocamldep-output
      ocamlc src/client/embedded/alpha/client_embedded_alpha.{cmi,cmo,cmt}
    ocamldep src/client/embedded/alpha/client_embedded_alpha.dependsi.ocamldep-output
    ocamldep src/client/embedded/genesis/client_embedded_genesis.depends.ocamldep-output
      ocamlc src/client/embedded/genesis/client_embedded_genesis.{cmi,cmo,cmt}
    ocamldep src/client/embedded/genesis/client_embedded_genesis.dependsi.ocamldep-output
    ocamldep src/proto/alpha/tezos_embedded_protocol_alpha.depends.ocamldep-output
      ocamlc src/proto/alpha/tezos_embedded_protocol_alpha.{cmi,cmo,cmt}
    ocamldep src/proto/genesis/tezos_embedded_protocol_genesis.depends.ocamldep-output
      ocamlc src/proto/genesis/tezos_embedded_protocol_genesis.{cmi,cmo,cmt}
      ocamlc src/proto/alpha/tezos_embedded_raw_protocol_alpha.{cmi,cmo,cmt}
    ocamldep src/proto/genesis/tezos_embedded_raw_protocol_genesis.depends.ocamldep-output
      ocamlc src/proto/genesis/tezos_embedded_raw_protocol_genesis.{cmi,cmo,cmt}
    ocamldep src/proto/alpha/tezos_embedded_raw_protocol_alpha.dependsi.ocamldep-output
    ocamldep src/proto/alpha/tezos_embedded_raw_protocol_alpha.depends.ocamldep-output
    ocamldep src/micheline/micheline.depends.ocamldep-output
    ocamldep src/micheline/micheline.dependsi.ocamldep-output
    ocamldep src/minutils/minutils.dependsi.ocamldep-output
    ocamldep src/node/db/node_db.dependsi.ocamldep-output
    ocamldep src/node/db/node_db.depends.ocamldep-output
    ocamldep src/node/main/node_main_lib.dependsi.ocamldep-output
    ocamldep src/minutils/minutils.depends.ocamldep-output
    ocamldep src/node/main/node_main_lib.depends.ocamldep-output
    ocamldep src/node/net/node_net.dependsi.ocamldep-output
    ocamldep src/node/net/node_net.depends.ocamldep-output
    ocamldep src/node/shell/node_shell.dependsi.ocamldep-output
    ocamldep src/node/shell/node_shell.depends.ocamldep-output
    ocamldep src/node/updater/node_updater.depends.ocamldep-output
    ocamldep src/node/updater/node_updater.dependsi.ocamldep-output
    ocamldep src/compiler/tezos_protocol_compiler.dependsi.ocamldep-output
      ocamlc src/environment/tezos_protocol_environment_sigs.{cmi,cmo,cmt}
      ocamlc src/compiler/tezos_protocol_compiler.{cmi,cmo,cmt}
    ocamldep src/proto/alpha/tezos_protocol_environment_alpha.depends.ocamldep-output
      ocamlc src/proto/alpha/tezos_protocol_environment_alpha.{cmi,cmo,cmt}
    ocamldep src/proto/genesis/tezos_protocol_environment_genesis.depends.ocamldep-output
      ocamlc src/proto/genesis/tezos_protocol_environment_genesis.{cmi,cmo,cmt}
    ocamldep vendors/irmin-leveldb/irmin_leveldb.dependsi.ocamldep-output
    ocamldep src/utils/utils.dependsi.ocamldep-output
    ocamldep vendors/irmin-leveldb/irmin_leveldb.depends.ocamldep-output
      ocamlc src/proto/demo/tezos_embedded_protocol_demo.{cmi,cmo,cmt}
    ocamldep src/proto/demo/tezos_embedded_protocol_demo.depends.ocamldep-output
      ocamlc src/proto/demo/tezos_embedded_raw_protocol_demo.{cmi,cmo,cmt}
    ocamldep src/proto/demo/tezos_embedded_raw_protocol_demo.depends.ocamldep-output
      ocamlc src/proto/demo/tezos_protocol_environment_demo.{cmi,cmo,cmt}
    ocamldep src/proto/demo/tezos_protocol_environment_demo.depends.ocamldep-output
    ocamldep src/utils/utils.depends.ocamldep-output
      ocamlc src/environment/sigs_packer/sigs_packer.{cmi,cmo,cmt}
    ocamlopt src/client/embedded/alpha/client_embedded_alpha.{cmx,o}
    ocamlopt src/client/embedded/genesis/client_embedded_genesis.{cmx,o}
    ocamlopt src/proto/alpha/tezos_embedded_protocol_alpha.{cmx,o}
    ocamlopt src/proto/genesis/tezos_embedded_protocol_genesis.{cmx,o}
    ocamlopt src/proto/genesis/tezos_embedded_raw_protocol_genesis.{cmx,o}
    ocamlopt src/proto/alpha/tezos_embedded_raw_protocol_alpha.{cmx,o}
      ocamlc src/minutils/compare.{cmi,cmti}
      ocamlc src/minutils/mBytes.{cmi,cmti}
      ocamlc src/minutils/utils.{cmi,cmti}
    ocamlopt src/environment/tezos_protocol_environment_sigs.{cmx,o}
    ocamlopt src/compiler/tezos_protocol_compiler.{cmx,o}
    ocamlopt src/proto/alpha/tezos_protocol_environment_alpha.{cmx,o}
    ocamlopt src/proto/genesis/tezos_protocol_environment_genesis.{cmx,o}
    ocamlopt src/proto/demo/tezos_embedded_protocol_demo.{cmx,o}
    ocamlopt src/proto/demo/tezos_protocol_environment_demo.{cmx,o}
    ocamlopt src/proto/demo/tezos_embedded_raw_protocol_demo.{cmx,o}
      ocamlc src/minutils/compare.{cmo,cmt}
    ocamlopt src/environment/sigs_packer/sigs_packer.{cmx,o}
      ocamlc vendors/irmin-leveldb/irmin_leveldb.{cmi,cmti}
      ocamlc src/minutils/mBytes.{cmo,cmt}
      ocamlc src/minutils/hex_encode.{cmi,cmti}
    ocamlopt src/minutils/mBytes.{cmx,o}
      ocamlc src/minutils/data_encoding.{cmi,cmti}
    ocamlopt src/minutils/compare.{cmx,o}
      ocamlc src/minutils/utils.{cmo,cmt}
      ocamlc src/minutils/hex_encode.{cmo,cmt}
    ocamlopt src/minutils/hex_encode.{cmx,o}
    ocamlopt src/minutils/utils.{cmx,o}
      ocamlc src/minutils/RPC.{cmi,cmti}
    ocamlopt src/environment/sigs_packer/sigs_packer.exe
      ocamlc src/minutils/RPC.{cmo,cmt}
      ocamlc src/utils/base58.{cmi,cmti}
      ocamlc src/utils/logging.{cmi,cmti}
      ocamlc src/utils/lwt_dropbox.{cmi,cmti}
      ocamlc src/minutils/data_encoding.{cmo,cmt}
      ocamlc src/utils/lwt_exit.{cmi,cmti}
      ocamlc src/utils/moving_average.{cmi,cmti}
      ocamlc src/utils/lwt_pipe.{cmi,cmti}
      ocamlc src/utils/ring.{cmi,cmti}
      ocamlc src/utils/watcher.{cmi,cmti}
      ocamlc src/utils/time.{cmi,cmti}
 sigs_packer src/environment/v1.ml
      ocamlc src/utils/error_monad_sig.{cmi,cmo,cmt}
    ocamlopt vendors/irmin-leveldb/irmin_leveldb.{cmx,o}
      ocamlc src/minutils/minutils.cma
      ocamlc src/utils/base58.{cmo,cmt}
      ocamlc src/utils/ring.{cmo,cmt}
      ocamlc src/utils/logging.{cmo,cmt}
      ocamlc src/utils/lwt_pipe.{cmo,cmt}
      ocamlc src/utils/watcher.{cmo,cmt}
      ocamlc src/utils/error_monad.{cmi,cmti}
    ocamlopt vendors/irmin-leveldb/irmin_leveldb.{a,cmxa}
      ocamlc src/utils/time.{cmo,cmt}
    ocamldep src/environment/tezos_protocol_environment_sigs.depends.ocamldep-output
      ocamlc src/utils/IO.{cmi,cmti}
      ocamlc src/utils/cli_entries.{cmi,cmti}
      ocamlc src/utils/data_encoding_ezjsonm.{cmi,cmti}
      ocamlc src/utils/lwt_utils.{cmi,cmti}
      ocamlc src/utils/lwt_exit.{cmo,cmt}
      ocamlc src/utils/IO.{cmo,cmt}
      ocamlc src/utils/error_monad.{cmo,cmt}
      ocamlc src/utils/hash.{cmi,cmti}
    ocamlopt src/minutils/data_encoding.{cmx,o}
      ocamlc src/utils/data_encoding_ezjsonm.{cmo,cmt}
      ocamlc src/utils/lwt_dropbox.{cmo,cmt} (exit 2)
(cd _build/default && /home/tz/.opam/tezos/bin/ocamlc.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -9+27-30-32-40@8 -safe-string -g -bin-annot -I /home/tz/.opam/tezos/lib/base64 -I /home/tz/.opam/tezos/lib/bytes -I /home/tz/.opam/tezos/lib/calendar -I /home/tz/.opam/tezos/lib/cstruct -I /home/tz/.opam/tezos/lib/ctypes -I /home/tz/.opam/tezos/lib/ezjsonm -I /home/tz/.opam/tezos/lib/hex -I /home/tz/.opam/tezos/lib/integers -I /home/tz/.opam/tezos/lib/ipaddr -I /home/tz/.opam/tezos/lib/ipaddr/unix -I /home/tz/.opam/tezos/lib/jsonm -I /home/tz/.opam/tezos/lib/lwt -I /home/tz/.opam/tezos/lib/mtime -I /home/tz/.opam/tezos/lib/mtime/os -I /home/tz/.opam/tezos/lib/nocrypto -I /home/tz/.opam/tezos/lib/ocaml -I /home/tz/.opam/tezos/lib/ocaml/threads -I /home/tz/.opam/tezos/lib/ocplib-endian -I /home/tz/.opam/tezos/lib/ocplib-json-typed -I /home/tz/.opam/tezos/lib/ocplib-resto -I /home/tz/.opam/tezos/lib/ocplib-resto/directory -I /home/tz/.opam/tezos/lib/re -I /home/tz/.opam/tezos/lib/result -I /home/tz/.opam/tezos/lib/sexplib -I /home/tz/.opam/tezos/lib/sexplib/0 -I /home/tz/.opam/tezos/lib/sodium -I /home/tz/.opam/tezos/lib/stringext -I /home/tz/.opam/tezos/lib/uchar -I /home/tz/.opam/tezos/lib/uri -I /home/tz/.opam/tezos/lib/uutf -I /home/tz/.opam/tezos/lib/zarith -I src/minutils -no-alias-deps -I src/utils -o src/utils/lwt_dropbox.cmo -c -impl src/utils/lwt_dropbox.ml)
File "src/utils/lwt_dropbox.ml", line 54, characters 23-44:
Warning 3: deprecated: Lwt.waiter_of_wakener
 This function should be avoided, because it makes subtyping of resolvers
 unsound. See
  https://github.com/ocsigen/lwt/issues/458
File "src/utils/lwt_dropbox.ml", line 1:
Error: Some fatal warnings were triggered (1 occurrences)
      ocamlc src/utils/lwt_utils.{cmo,cmt} (exit 2)
(cd _build/default && /home/tz/.opam/tezos/bin/ocamlc.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -9+27-30-32-40@8 -safe-string -g -bin-annot -I /home/tz/.opam/tezos/lib/base64 -I /home/tz/.opam/tezos/lib/bytes -I /home/tz/.opam/tezos/lib/calendar -I /home/tz/.opam/tezos/lib/cstruct -I /home/tz/.opam/tezos/lib/ctypes -I /home/tz/.opam/tezos/lib/ezjsonm -I /home/tz/.opam/tezos/lib/hex -I /home/tz/.opam/tezos/lib/integers -I /home/tz/.opam/tezos/lib/ipaddr -I /home/tz/.opam/tezos/lib/ipaddr/unix -I /home/tz/.opam/tezos/lib/jsonm -I /home/tz/.opam/tezos/lib/lwt -I /home/tz/.opam/tezos/lib/mtime -I /home/tz/.opam/tezos/lib/mtime/os -I /home/tz/.opam/tezos/lib/nocrypto -I /home/tz/.opam/tezos/lib/ocaml -I /home/tz/.opam/tezos/lib/ocaml/threads -I /home/tz/.opam/tezos/lib/ocplib-endian -I /home/tz/.opam/tezos/lib/ocplib-json-typed -I /home/tz/.opam/tezos/lib/ocplib-resto -I /home/tz/.opam/tezos/lib/ocplib-resto/directory -I /home/tz/.opam/tezos/lib/re -I /home/tz/.opam/tezos/lib/result -I /home/tz/.opam/tezos/lib/sexplib -I /home/tz/.opam/tezos/lib/sexplib/0 -I /home/tz/.opam/tezos/lib/sodium -I /home/tz/.opam/tezos/lib/stringext -I /home/tz/.opam/tezos/lib/uchar -I /home/tz/.opam/tezos/lib/uri -I /home/tz/.opam/tezos/lib/uutf -I /home/tz/.opam/tezos/lib/zarith -I src/minutils -no-alias-deps -I src/utils -o src/utils/lwt_utils.cmo -c -impl src/utils/lwt_utils.ml)
File "src/utils/lwt_utils.ml", line 214, characters 8-29:
Warning 3: deprecated: Lwt.waiter_of_wakener
 This function should be avoided, because it makes subtyping of resolvers
 unsound. See
  https://github.com/ocsigen/lwt/issues/458
File "src/utils/lwt_utils.ml", line 243, characters 8-29:
Warning 3: deprecated: Lwt.waiter_of_wakener
 This function should be avoided, because it makes subtyping of resolvers
 unsound. See
  https://github.com/ocsigen/lwt/issues/458
File "src/utils/lwt_utils.ml", line 1:
Error: Some fatal warnings were triggered (2 occurrences)
make: *** [Makefile:5: all] Error 1

#34

this is the same issue that @Mootjes007 is dealing with and keeps coming up (https://github.com/tezos/tezos/issues/150).
I neve encountered this problem in my installation, maybe it is something that the Tezos developing team
should address at some point.
In the meantime one thing that I would like you and @Mootjes007 to try is this, type:
opam show lwt
and if the “installed version” is not 3.0.0 then try this:

opam remove lwt
opam install lwt.3.0.0

followed by the usual:
make clean
make

and if it fails again, go back one step:
eval opam config env
make build-deps
make clean
make

I am sorry for the trouble, you are really close to the finishing line…

ok, one more thing, if you kindly could post the list of the installed packages, I can compare it with what I have in my installation, the command is simply:
opam list


#35

it was

         package: lwt
         version: 3.2.0

So i follow your recommeded steps, and I will report

Ok…here you are:
make build-deps

=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions were aborted
  ∗  install git-unix   1.11.2
  ∗  install irmin-unix 1.3.0
The following actions failed
  ∗  install nocrypto 0.5.4
No changes have been performed
make: *** [Makefile:20: build-deps] Error 4

So I am trying now
opam install nocrypto

and the following error occurs

The following actions will be performed:
  ∗  install nocrypto 0.5.4

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[nocrypto] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of nocrypto failed at "ocaml pkg/pkg.ml build --pinned
        false --tests false --jobs 1 --with-lwt true --xen false --freestanding
        false".

#=== ERROR while installing nocrypto.0.5.4 ====================================#
# opam-version 1.2.2
# os           linux
# command      ocaml pkg/pkg.ml build --pinned false --tests false --jobs 1 --wi                                                                                th-lwt true --xen false --freestanding false
# path         /home/tz/.opam/tezos/build/nocrypto.0.5.4
# compiler     4.04.2
# exit-code    1
# env-file     /home/tz/.opam/tezos/build/nocrypto.0.5.4/nocrypto-5770-5f1023.en                                                                                v
# stdout-file  /home/tz/.opam/tezos/build/nocrypto.0.5.4/nocrypto-5770-5f1023.ou                                                                                t
# stderr-file  /home/tz/.opam/tezos/build/nocrypto.0.5.4/nocrypto-5770-5f1023.er                                                                                r
### stdout ###
# [...]
# ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package bytes                                                                                 -for-pack Nocrypto -package sexplib -package ppx_sexp_conv -package cstruct -w A                                                                                -4-29-33-40-41-42-43-34-44-48 -color always -I src -I unix -I lwt -I mirage -o s                                                                                rc/uncommon.cmo src/uncommon.ml
# ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package byte                                                                                s -for-pack Nocrypto -package sexplib -package ppx_sexp_conv -package cstruct -w                                                                                 A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I unix -I lwt -I mirage -o                                                                                 src/native.cmx src/native.ml
# ocamlfind ocamldep -package zarith -package bytes -package sexplib -package pp                                                                                x_sexp_conv -package cstruct -modules src/base64.ml > src/base64.ml.depends
# ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package bytes                                                                                 -for-pack Nocrypto -package sexplib -package ppx_sexp_conv -package cstruct -w A                                                                                -4-29-33-40-41-42-43-34-44-48 -color always -I src -I unix -I lwt -I mirage -o s                                                                                rc/base64.cmo src/base64.ml
# ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package byte                                                                                s -for-pack Nocrypto -package sexplib -package ppx_sexp_conv -package cstruct -w                                                                                 A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I unix -I lwt -I mirage -o                                                                                 src/uncommon.cmx src/uncommon.ml
# ocamlfind ocamldep -package zarith -package bytes -package sexplib -package pp                                                                                x_sexp_conv -package cstruct -modules src/hash.ml > src/hash.ml.depends
# + ocamlfind ocamldep -package zarith -package bytes -package sexplib -package                                                                                 ppx_sexp_conv -package cstruct -modules src/hash.ml > src/hash.ml.depends
# File "src/hash.ml", line 115, characters 12-16:
# Error: Cannot locate deriver sexp
# Command exited with code 2.
### stderr ###
# pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-tag' '                                                                                debug'
# [...]
#      'src/nocrypto.cmxs' 'src/nocrypto.cmxa' 'src/nocrypto.cma'
#      'src/nocrypto.cmx' 'src/nocrypto.cmi' 'src/nocrypto.mli'
#      'unix/nocrypto_unix.a' 'unix/nocrypto_unix.cmxs'
#      'unix/nocrypto_unix.cmxa' 'unix/nocrypto_unix.cma'
#      'unix/nocrypto_entropy_unix.cmx' 'unix/nocrypto_entropy_unix.cmi'
#      'unix/nocrypto_entropy_unix.mli' 'lwt/nocrypto_lwt.a'
#      'lwt/nocrypto_lwt.cmxs' 'lwt/nocrypto_lwt.cmxa' 'lwt/nocrypto_lwt.cma'
#      'lwt/nocrypto_entropy_lwt.cmx' 'lwt/nocrypto_entropy_lwt.cmi'
#      'lwt/nocrypto_entropy_lwt.mli']: exited with 10



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
  ∗  install nocrypto 0.5.4
No changes have been performed

and here you are:
opam list

# Installed packages for tezos:
astring                         0.8.3  Alternative String module for OCaml
base                           v0.9.3  Full standard library replacement for OCaml
base-bigarray                    base  Bigarray library distributed with the OCaml compiler
base-bytes                       base  Bytes library distributed with the OCaml compiler
base-num                         base  Num library distributed with the OCaml compiler
base-threads                     base  Threads library distributed with the OCaml compiler
base-unix                        base  Unix library distributed with the OCaml compiler
base64                          2.2.0  Base64 encoding for OCaml
bisect_ppx                      1.3.2  Code coverage for OCaml
calendar                       2.03.2  Library for handling dates and times in your program
cmdliner                        1.0.2  Declarative definition of command line interfaces for OCaml
cohttp                         0.99.0  An OCaml library for HTTP clients and servers
cohttp-lwt                     0.99.0  An OCaml library for HTTP clients and servers
cohttp-lwt-unix                0.99.0  An OCaml library for HTTP clients and servers
conduit                         1.0.0  Network conduit library
conduit-lwt                     1.0.0  Network conduit library
conduit-lwt-unix                1.0.2  Network conduit library
conf-gmp                            1  Virtual package relying on a GMP lib system installation.
conf-leveldb                        1  Virtual package relying on a LevelDB lib system installation.
conf-libev                       4-11  High-performance event loop/event model with lots of features
conf-m4                             1  Virtual package relying on m4
conf-openssl                        1  Virtual package relying on an OpenSSL system installation.
conf-perl                           1  Virtual package relying on perl
conf-pkg-config                   1.0  Virtual package relying on pkg-config installation.
conf-which                          1  Virtual package relying on which
cppo                            1.6.0  Equivalent of the C preprocessor for OCaml programs
cppo_ocamlbuild                 1.6.0  ocamlbuild support for cppo, OCaml-friendly source preprocessor
cpuid                           0.1.1  Detect CPU features
crunch                          2.1.0  Convert a filesystem into a static OCaml module
cstruct                         3.2.1  Access C-like structures directly from OCaml
cstruct-lwt                     3.2.1  Access C-like structures directly from OCaml
ctypes                         0.13.1  Combinators for binding to C libraries without writing any C.
decompress                        0.7  Pure OCaml implementation of Zlib
depext                          1.0.5  Query and install external dependencies of OPAM packages
dispatch                        0.4.0  Path-based dispatching for client- and server-side applications.
ezjsonm                         0.5.0  An easy interface on top of the Jsonm library
fieldslib                      v0.9.0  Syntax extension to define first class values representing record fields, to get and set record fields, iterate and fold
fmt                             0.8.2  OCaml Format pretty-printer combinators
git                            1.11.3  Git format and protocol in pure OCaml
git-http                       1.11.2  Client implementation of the "Smart" HTTP Git protocol in pure OCaml
hex                             1.2.0  Minimal library providing hexadecimal converters.
integers                        0.2.0  Various signed and unsigned integer types for OCaml
ipaddr                          2.8.0  IP (and MAC) address manipulation
irmin                           1.3.2  Irmin, a distributed database that follows the same design principles as Git
irmin-fs                        1.3.0  Generic file-system backend for Irmin
irmin-git                       1.3.0  Git backend for Irmin
irmin-http                      1.3.1  HTTP client and server for Irmin
irmin-mem                       1.3.0  In-memory backend for Irmin
irmin-watcher                   0.3.0  Portable Irmin watch backends using FSevents or Inotify
jbuilder                   1.0+beta16  Fast, portable and opinionated build system
jsonm                           1.0.1  Non-blocking streaming JSON codec for OCaml
kaputt                            1.2  Testing tool
leveldb                         1.1.2  OCaml bindings for Google's LevelDB library.
logs                            0.6.2  Logging infrastructure for OCaml
lwt                             3.0.0  Monadic promises and concurrent I/O
lwt_ssl                         1.1.1  Lwt-friendly OpenSSL bindings
magic-mime                      1.1.0  Map filenames to common MIME types
menhir                       20171222  LR(1) parser generator
mirage-no-solo5                     1  Virtual package conflicting with mirage-solo5
mirage-no-xen                       1  Virtual package conflicting with mirage-xen
mstruct                         1.4.0  A mutable interface to Cstruct buffers
mtime                           1.1.0  Monotonic wall-clock time for OCaml
num                                 0  The Num library for arbitrary-precision integer and rational arithmetic
ocaml-compiler-libs            v0.9.0  OCaml compiler libraries repackaged
ocaml-migrate-parsetree         1.0.7  Convert OCaml parsetrees between different versions
ocamlbuild                     0.12.0  OCamlbuild is a build system with builtin rules to easily build most OCaml projects.
ocamlfind                     1.7.3-1  A library manager for OCaml
ocamlgraph                      1.8.8  A generic graph library for OCaml
ocb-stubblr                     0.1.1  OCamlbuild plugin for C stubs
ocp-build                1.99.20-beta  Project builder for OCaml
ocp-ocamlres                      dev (pinned)  Manipulation, injection and extraction of embedded resources
ocplib-endian                     1.0  Optimised functions to read and write int16/32/64 from strings and bigarrays, based on new primitives added in version 4.
ocplib-json-typed                 0.5 (pinned)  Type-aware JSON and JSON schema utilities
ocplib-resto                      dev (pinned)  Minimal OCaml library for type-safe HTTP/JSON RPCs.
omake                          0.10.3  Build system designed for scalability and portability
pprint                       20171003  A pretty-printing combinator library and rendering engine.
ppx_ast                        v0.9.1  OCaml AST used by Jane Street ppx rewriters
ppx_core                       v0.9.0  Standard library for ppx rewriters
ppx_derivers                      1.0  Shared [@@deriving] plugin registry
ppx_deriving                    4.1.5  Type-driven code generation for OCaml >=4.02
ppx_driver                     v0.9.1  Feature-full driver for OCaml AST transformers
ppx_fields_conv                v0.9.0  Generation of accessor and iteration functions for ocaml records
ppx_metaquot                   v0.9.0  Write OCaml AST fragment using OCaml syntax
ppx_optcomp                    v0.9.0  Optional compilation for OCaml
ppx_sexp_conv                  v0.9.0  Generation of S-expression conversion functions from type definitions
ppx_tools                         5.0  Tools for authors of ppx rewriters and other syntactic tools
ppx_tools_versioned             5.0.1  A variant of ppx_tools based on ocaml-migrate-parsetree
ppx_traverse_builtins          v0.9.0  Builtins for Ppx_traverse
ppx_type_conv                  v0.9.1  Support Library for type-driven code generators
re                              1.7.1  RE is a regular expression library for OCaml
react                           1.2.1  Declarative events and signals for OCaml
reactiveData                    0.2.1  Functional reactive programming with incremental changes in data structures
result                            1.2  Compatibility Result module
sexplib                        v0.9.2  Library for serializing OCaml values to and from S-expressions
sodium                            dev (pinned)  Binding to libsodium UNAUDITED
ssl                             0.5.5  Bindings for OpenSSL
stdio                          v0.9.0  Standard IO library for OCaml
stringext                       1.5.0  Extra string functions for OCaml
topkg                           0.9.1  The transitory OCaml software packager
uchar                           0.0.2  Compatibility library for OCaml's Uchar module
uri                             1.9.5 (pinned)  RFC3986 URI/URL parsing library
uutf                            1.0.1  Non-blocking streaming Unicode codec for OCaml
webmachine                      0.4.0  A REST toolkit for OCaml
zarith                            1.7  Implements arithmetic and logical operations over arbitrary-precision integers

#36

I started following your commands Max but I ran in to some other problems :slight_smile: I stop for today but will try again tomorrow or Thursday.

In the meantime my commands:
https://www.hastebin.com/nuderijuqa.sql

and the opam list:
https://www.hastebin.com/duyubuyado.vbs


#37

the last error in your history “irmin-http -> cohttp-lwt < 1.0” is something I have encountered at some point, although I do not quite remember exactly how I got rid of it, but for start I would suggest to remove “cohttp-lwt”:
opam remove cohttp-lwt

and try once more:
make build-deps

You may have to remove manually some other packages (like “cohttp” and “cohttp-lwt-unix”, wrong version)
then, in general, let the Tezos makefile chose the exact package version to install unless you know which version you need.

if you still have troubles I will post my opam list to compare the exact version of the installed packages.

all the pieces of the puzzle are almost in the right place…


#38

I still dont understand the rationality of all this mess.
Why opam works like that?
We are 3 persons, we followed the same instructions, we have the same hardware.
But we have 3 different opam lists!
Why? Why this is happening?


#39

Hi @demo, about your last error, not sure (see below) maybe try to remove ppx_deriving (4.1.5) and install a newer version:
opam install ppx_deriving.4.2.1

The all procedure is highly nonlinear, no doubt about it, I had my fair share of trouble with the second RPI3 even though I just completed the first installation and as you’ll see below here I ended up installing not exactly the same version of all the packages.
The naive way I explain myself the meandering is the intricate connection between different packages/programs, When new versions are released, compatibility with other programs may be an issue, OPAM tries to find the best solution for the installed/new/missing packages to build the final application, in our case Tezos.
To be fair during the first installation of OCaml, we could not install the program aspcud because of some compatibility issues. The program aspcud is supposedly a better dependency solver than the default provided by OPAM.

Here is something I should have done much earlier (my apologies), the list of packages that I have installed to create a working Tezos application. As you’ll see the two RPI3 do not share exactingly the same version of the all the packages, don’t ask why!

# Installed packages for tezos (first RPI3):
astring                         0.8.3  Alternative String module for OCaml
base                           v0.9.3  Full standard library replacement for OCa
base-bigarray                    base  Bigarray library distributed with the OCa
base-bytes                       base  Bytes library distributed with the OCaml 
base-num                         base  Num library distributed with the OCaml co
base-threads                     base  Threads library distributed with the OCam
base-unix                        base  Unix library distributed with the OCaml c
base64                          2.2.0  Base64 encoding for OCaml
bisect_ppx                      1.3.1  Code coverage for OCaml
calendar                       2.03.2  Library for handling dates and times in y
cmdliner                        1.0.2  Declarative definition of command line in
cohttp                         0.99.0  An OCaml library for HTTP clients and ser
cohttp-lwt                     0.99.0  An OCaml library for HTTP clients and ser
cohttp-lwt-unix                0.99.0  An OCaml library for HTTP clients and ser
conduit                         1.0.0  Network conduit library
conduit-lwt                     1.0.0  Network conduit library
conduit-lwt-unix                1.0.2  Network conduit library
conf-gmp                            1  Virtual package relying on a GMP lib syst
conf-leveldb                        1  Virtual package relying on a LevelDB lib 
conf-libev                       4-11  High-performance event loop/event model w
conf-m4                             1  Virtual package relying on m4
conf-openssl                        1  Virtual package relying on an OpenSSL sys
conf-perl                           1  Virtual package relying on perl
conf-pkg-config                   1.0  Virtual package relying on pkg-config ins
conf-which                          1  Virtual package relying on which
cppo                            1.6.0  Equivalent of the C preprocessor for OCam
cppo_ocamlbuild                 1.6.0  ocamlbuild support for cppo, OCaml-friend
cpuid                           0.1.1  Detect CPU features
crunch                          2.1.0  Convert a filesystem into a static OCaml 
cstruct                         3.2.0  Access C-like structures directly from OC
cstruct-lwt                     3.2.0  Access C-like structures directly from OC
ctypes                         0.13.1  Combinators for binding to C libraries wi
decompress                        0.7  Pure OCaml implementation of Zlib
depext                          1.0.5  Query and install external dependencies o
dispatch                        0.4.0  Path-based dispatching for client- and se
ezjsonm                         0.5.0  An easy interface on top of the Jsonm lib
fieldslib                      v0.9.0  Syntax extension to define first class va
fmt                             0.8.4  OCaml Format pretty-printer combinators
git                            1.11.3  Git format and protocol in pure OCaml
git-http                       1.11.2  Client implementation of the "Smart" HTTP
git-unix                       1.11.2  Unix backend for the Git protocol(s)
hex                             1.2.0  Minimal library providing hexadecimal con
integers                        0.2.2  Various signed and unsigned integer types
ipaddr                          2.8.0  IP (and MAC) address manipulation
irmin                           1.3.2  Irmin, a distributed database that follow
irmin-fs                        1.3.0  Generic file-system backend for Irmin
irmin-git                       1.3.0  Git backend for Irmin
irmin-http                      1.3.1  HTTP client and server for Irmin
irmin-mem                       1.3.0  In-memory backend for Irmin
irmin-unix                      1.3.0  Unix backends for Irmin
irmin-watcher                   0.3.0  Portable Irmin watch backends using FSeve
jbuilder                   1.0+beta16  Fast, portable and opinionated build syst
jsonm                           1.0.1  Non-blocking streaming JSON codec for OCa
kaputt                            1.2  Testing tool
leveldb                         1.1.2  OCaml bindings for Google's LevelDB libra
logs                            0.6.2  Logging infrastructure for OCaml
lwt                             3.1.0  Concurrency based on promises
lwt_ssl                         1.1.1  Lwt-friendly OpenSSL bindings
magic-mime                      1.1.0  Map filenames to common MIME types
menhir                       20171013  LR(1) parser generator
mirage-no-solo5                     1  Virtual package conflicting with mirage-s
mirage-no-xen                       1  Virtual package conflicting with mirage-x
mstruct                         1.4.0  A mutable interface to Cstruct buffers
mtime                           1.1.0  Monotonic wall-clock time for OCaml
nocrypto                        0.5.4  Simpler crypto
num                                 0  The Num library for arbitrary-precision i
ocaml-compiler-libs            v0.9.0  OCaml compiler libraries repackaged
ocaml-migrate-parsetree         1.0.7  Convert OCaml parsetrees between differen
ocamlbuild                     0.12.0  OCamlbuild is a build system with builtin
ocamlfind                       1.7.3  A library manager for OCaml
ocamlgraph                      1.8.8  A generic graph library for OCaml
ocb-stubblr                     0.1.1  OCamlbuild plugin for C stubs
ocp-build                1.99.19-beta  Project builder for OCaml
ocp-ocamlres                      dev (pinned)  Manipulation, injection and extraction of
ocplib-endian                     1.0  Optimised functions to read and write int
ocplib-json-typed                 0.5 (pinned)  Type-aware JSON and JSON schema utilities
ocplib-resto                      dev (pinned)  Minimal OCaml library for type-safe HTTP/
omake                          0.10.3  Build system designed for scalability and
pprint                       20171003  A pretty-printing combinator library and 
ppx_ast                        v0.9.1  OCaml AST used by Jane Street ppx rewrite
ppx_core                       v0.9.0  Standard library for ppx rewriters
ppx_derivers                      1.0  Shared [@@deriving] plugin registry
ppx_deriving                    4.2.1  Type-driven code generation for OCaml >=4
ppx_driver                     v0.9.1  Feature-full driver for OCaml AST transfo
ppx_fields_conv                v0.9.0  Generation of accessor and iteration func
ppx_metaquot                   v0.9.0  Write OCaml AST fragment using OCaml synt
ppx_optcomp                    v0.9.0  Optional compilation for OCaml
ppx_sexp_conv                  v0.9.0  Generation of S-expression conversion fun
ppx_tools                         5.0  Tools for authors of ppx rewriters and ot
ppx_tools_versioned             5.0.1  A variant of ppx_tools based on ocaml-mig
ppx_traverse_builtins          v0.9.0  Builtins for Ppx_traverse
ppx_type_conv                  v0.9.1  Support Library for type-driven code gene
re                              1.7.1  RE is a regular expression library for OC
react                           1.2.1  Declarative events and signals for OCaml
reactiveData                    0.2.1  Functional reactive programming with incr
result                            1.2  Compatibility Result module
sexplib                        v0.9.2  Library for serializing OCaml values to a
sodium                            dev (pinned)  Binding to libsodium UNAUDITED
ssl                             0.5.5  Bindings for OpenSSL
stdio                          v0.9.0  Standard IO library for OCaml
stringext                       1.5.0  Extra string functions for OCaml
topkg                           0.9.1  The transitory OCaml software packager
uchar                           0.0.2  Compatibility library for OCaml's Uchar m
uri                             1.9.5 (pinned)  RFC3986 URI/URL parsing library
uutf                            1.0.1  Non-blocking streaming Unicode codec for 
webmachine                      0.4.0  A REST toolkit for OCaml
zarith                            1.7  Implements arithmetic and logical operati

and the second one:

# Installed packages for tezos (second RPI3):
astring                         0.8.0  Alternative String module for OCaml
base                          v0.10.0  Full standard library replacement for OCa
base-bigarray                    base  Bigarray library distributed with the OCa
base-bytes                       base  Bytes library distributed with the OCaml 
base-num                         base  Num library distributed with the OCaml co
base-threads                     base  Threads library distributed with the OCam
base-unix                        base  Unix library distributed with the OCaml c
base64                          2.2.0  Base64 encoding for OCaml
bisect_ppx                      1.2.0  Code coverage for OCaml
calendar                       2.03.2  Library for handling dates and times in y
cmdliner                        0.9.8  Declarative definition of command line in
cohttp                         0.99.0  An OCaml library for HTTP clients and ser
cohttp-lwt                     0.99.0  An OCaml library for HTTP clients and ser
cohttp-lwt-unix                0.99.0  An OCaml library for HTTP clients and ser
conduit                         1.0.0  Network conduit library
conduit-lwt                     1.0.0  Network conduit library
conduit-lwt-unix                1.0.2  Network conduit library
conf-gmp                            1  Virtual package relying on a GMP lib syst
conf-leveldb                        1  Virtual package relying on a LevelDB lib 
conf-libev                       4-11  High-performance event loop/event model w
conf-m4                             1  Virtual package relying on m4
conf-openssl                        1  Virtual package relying on an OpenSSL sys
conf-perl                           1  Virtual package relying on perl
conf-pkg-config                   1.0  Virtual package relying on pkg-config ins
conf-which                          1  Virtual package relying on which
cppo                            1.6.0  Equivalent of the C preprocessor for OCam
cppo_ocamlbuild                 1.6.0  ocamlbuild support for cppo, OCaml-friend
cpuid                           0.1.1  Detect CPU features
crunch                          2.1.0  Convert a filesystem into a static OCaml 
cstruct                         3.2.1  Access C-like structures directly from OC
cstruct-lwt                     3.2.1  Access C-like structures directly from OC
ctypes                         0.11.5  Combinators for binding to C libraries wi
decompress                        0.7  Pure OCaml implementation of Zlib
depext                            0.7  Query and install external dependencies o
dispatch                        0.4.0  Path-based dispatching for client- and se
ezjsonm                         0.5.0  An easy interface on top of the Jsonm lib
fieldslib                     v0.10.0  Syntax extension to define first class va
fmt                             0.8.4  OCaml Format pretty-printer combinators
git                            1.11.3  Git format and protocol in pure OCaml
git-http                       1.11.2  Client implementation of the "Smart" HTTP
git-unix                       1.11.2  Unix backend for the Git protocol(s)
hex                             1.2.0  Minimal library providing hexadecimal con
ipaddr                          2.8.0  IP (and MAC) address manipulation
irmin                           1.3.2  Irmin, a distributed database that follow
irmin-fs                        1.3.0  Generic file-system backend for Irmin
irmin-git                       1.3.0  Git backend for Irmin
irmin-http                      1.3.1  HTTP client and server for Irmin
irmin-mem                       1.3.0  In-memory backend for Irmin
irmin-unix                      1.3.0 (pinned)  Unix backends for Irmin
irmin-watcher                   0.3.0  Portable Irmin watch backends using FSeve
jbuilder                   1.0+beta16  Fast, portable and opinionated build syst
jsonm                           1.0.1  Non-blocking streaming JSON codec for OCa
kaputt                            1.2  Testing tool
leveldb                         1.1.2  OCaml bindings for Google's LevelDB libra
logs                            0.6.2  Logging infrastructure for OCaml
lwt                             3.0.0  Monadic promises and concurrent I/O
lwt_ssl                         1.1.1  Lwt-friendly OpenSSL bindings
magic-mime                      1.0.0  Convert file extensions to MIME types
menhir                       20171206  LR(1) parser generator
mirage-no-solo5                     1  Virtual package conflicting with mirage-s
mirage-no-xen                       1  Virtual package conflicting with mirage-x
mstruct                         1.4.0  A mutable interface to Cstruct buffers
mtime                           1.1.0  Monotonic wall-clock time for OCaml
nocrypto                        0.5.4  Simpler crypto
num                                 0  The Num library for arbitrary-precision i
ocaml-compiler-libs           v0.10.0  OCaml compiler libraries repackaged
ocaml-migrate-parsetree         1.0.2  Convert OCaml parsetrees between differen
ocamlbuild                     0.11.0  OCamlbuild is a build system with builtin
ocamlfind                       1.6.2  A library manager for OCaml
ocamlgraph                      1.8.8  A generic graph library for OCaml
ocb-stubblr                     0.1.1  OCamlbuild plugin for C stubs
ocp-build                1.99.19-beta  Project builder for OCaml
ocp-ocamlres                      dev (pinned)  Manipulation, injection and extraction of
ocplib-endian                     1.0  Optimised functions to read and write int
ocplib-json-typed                 0.5 (pinned)  Type-aware JSON and JSON schema utilities
ocplib-resto                      dev (pinned)  Minimal OCaml library for type-safe HTTP/
omake                          0.10.3  Build system designed for scalability and
pprint                       20171003  A pretty-printing combinator library and 
ppx_ast                       v0.10.0  OCaml AST used by Jane Street ppx rewrite
ppx_core                      v0.10.0  Standard library for ppx rewriters
ppx_derivers                      1.0  Shared [@@deriving] plugin registry
ppx_deriving                    4.2.1  Type-driven code generation for OCaml >=4
ppx_driver                    v0.10.0  Feature-full driver for OCaml AST transfo
ppx_fields_conv               v0.10.0  Generation of accessor and iteration func
ppx_metaquot                  v0.10.0  Write OCaml AST fragment using OCaml synt
ppx_optcomp                   v0.10.0  Optional compilation for OCaml
ppx_sexp_conv                 v0.10.0  Generation of S-expression conversion fun
ppx_tools                         5.0  Tools for authors of ppx rewriters and ot
ppx_traverse_builtins         v0.10.0  Builtins for Ppx_traverse
ppx_type_conv                 v0.10.0  Support Library for type-driven code gene
re                              1.3.2  RE is a regular expression library for OC
react                           1.2.1  Declarative events and signals for OCaml
reactiveData                    0.2.1  Functional reactive programming with incr
result                            1.2  Compatibility Result module
sexplib                       v0.10.0  Library for serializing OCaml values to a
sodium                            dev (pinned)  Binding to libsodium UNAUDITED
ssl                             0.5.3  Bindings for OpenSSL
stdio                         v0.10.0  Standard IO library for OCaml
stringext                       1.4.3  Extra string functions for OCaml
topkg                           0.9.1  The transitory OCaml software packager
uchar                           0.0.1  Compatibility library for OCaml's Uchar m
uri                             1.9.5 (pinned)  RFC3986 URI/URL parsing library
uutf                            1.0.1  Non-blocking streaming Unicode codec for 
webmachine                      0.4.0  A REST toolkit for OCaml
zarith                            1.7  Implements arithmetic and logical operati

#40

ok. Now everything pass, but make stops here:

 ocamlc src/node/main/node_shared_arg.{cmo,cmt}
 ocamlc src/node/main/node_config_command.{cmo,cmt}
 ocamlc src/node/main/node_identity_command.{cmo,cmt}
 ocamlc src/node/main/node_run_command.{cmo,cmt} (exit 2)
(cd _build/default && /home/tz/.opam/tezos/bin/ocamlc.opt -w @a-4-29-40-41-42-44                                                                                -45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -                                                                                9+27-30-32-40@8 -safe-string -open Error_monad -open Hash -open Utils -open Tezo                                                                                s_data -g -bin-annot -I /home/tz/.opam/tezos/lib/astring -I /home/tz/.opam/tezos                                                                                /lib/base -I /home/tz/.opam/tezos/lib/base/caml -I /home/tz/.opam/tezos/lib/base                                                                                /shadow_stdlib -I /home/tz/.opam/tezos/lib/base64 -I /home/tz/.opam/tezos/lib/by                                                                                tes -I /home/tz/.opam/tezos/lib/calendar -I /home/tz/.opam/tezos/lib/cmdliner -I                                                                                 /home/tz/.opam/tezos/lib/cohttp -I /home/tz/.opam/tezos/lib/cohttp-lwt -I /home                                                                                /tz/.opam/tezos/lib/cohttp-lwt-unix -I /home/tz/.opam/tezos/lib/conduit -I /home                                                                                /tz/.opam/tezos/lib/conduit-lwt -I /home/tz/.opam/tezos/lib/conduit-lwt-unix -I                                                                                 /home/tz/.opam/tezos/lib/cstruct -I /home/tz/.opam/tezos/lib/ctypes -I /home/tz/                                                                                .opam/tezos/lib/decompress -I /home/tz/.opam/tezos/lib/ezjsonm -I /home/tz/.opam                                                                                /tezos/lib/fieldslib -I /home/tz/.opam/tezos/lib/fmt -I /home/tz/.opam/tezos/lib                                                                                /git -I /home/tz/.opam/tezos/lib/hex -I /home/tz/.opam/tezos/lib/integers -I /ho                                                                                me/tz/.opam/tezos/lib/ipaddr -I /home/tz/.opam/tezos/lib/ipaddr/unix -I /home/tz                                                                                /.opam/tezos/lib/irmin -I /home/tz/.opam/tezos/lib/jsonm -I /home/tz/.opam/tezos                                                                                /lib/leveldb -I /home/tz/.opam/tezos/lib/logs -I /home/tz/.opam/tezos/lib/lwt -I                                                                                 /home/tz/.opam/tezos/lib/magic-mime -I /home/tz/.opam/tezos/lib/mstruct -I /hom                                                                                e/tz/.opam/tezos/lib/mtime -I /home/tz/.opam/tezos/lib/mtime/os -I /home/tz/.opa                                                                                m/tezos/lib/nocrypto -I /home/tz/.opam/tezos/lib/ocaml -I /home/tz/.opam/tezos/l                                                                                ib/ocaml/compiler-libs -I /home/tz/.opam/tezos/lib/ocaml/threads -I /home/tz/.op                                                                                am/tezos/lib/ocamlgraph -I /home/tz/.opam/tezos/lib/ocplib-endian -I /home/tz/.o                                                                                pam/tezos/lib/ocplib-json-typed -I /home/tz/.opam/tezos/lib/ocplib-ocamlres -I /                                                                                home/tz/.opam/tezos/lib/ocplib-resto -I /home/tz/.opam/tezos/lib/ocplib-resto/di                                                                                rectory -I /home/tz/.opam/tezos/lib/pprint -I /home/tz/.opam/tezos/lib/re -I /ho                                                                                me/tz/.opam/tezos/lib/result -I /home/tz/.opam/tezos/lib/sexplib -I /home/tz/.op                                                                                am/tezos/lib/sexplib/0 -I /home/tz/.opam/tezos/lib/sodium -I /home/tz/.opam/tezo                                                                                s/lib/stringext -I /home/tz/.opam/tezos/lib/uchar -I /home/tz/.opam/tezos/lib/ur                                                                                i -I /home/tz/.opam/tezos/lib/uri/services -I /home/tz/.opam/tezos/lib/uutf -I /                                                                                home/tz/.opam/tezos/lib/zarith -I src/compiler -I src/environment -I src/micheli                                                                                ne -I src/minutils -I src/node/db -I src/node/net -I src/node/shell -I src/node/                                                                                updater -I src/utils -I vendors/irmin-leveldb -no-alias-deps -I src/node/main -o                                                                                 src/node/main/node_run_command.cmo -c -impl src/node/main/node_run_command.ml)
File "src/node/main/node_run_command.ml", line 152, characters 6-20:
Error: Unbound module Ssl

Waiting for 1 job to finish.
make: *** [Makefile:5: all] Error 1

and here you are my
opam list

opam list
# Installed packages for tezos:
astring                         0.8.3  Alternative String module for OCaml
base                           v0.9.3  Full standard library replacement for OCaml
base-bigarray                    base  Bigarray library distributed with the OCaml compiler
base-bytes                       base  Bytes library distributed with the OCaml compiler
base-num                         base  Num library distributed with the OCaml compiler
base-threads                     base  Threads library distributed with the OCaml compiler
base-unix                        base  Unix library distributed with the OCaml compiler
base64                          2.2.0  Base64 encoding for OCaml
bisect_ppx                      1.3.2  Code coverage for OCaml
calendar                       2.03.2  Library for handling dates and times in your program
cmdliner                        1.0.2  Declarative definition of command line interfaces for OCaml
cohttp                         0.99.0  An OCaml library for HTTP clients and servers
cohttp-lwt                     0.99.0  An OCaml library for HTTP clients and servers
cohttp-lwt-unix                0.99.0  An OCaml library for HTTP clients and servers
conduit                         1.0.0  Network conduit library
conduit-lwt                     1.0.0  Network conduit library
conduit-lwt-unix                1.0.2  Network conduit library
conf-gmp                            1  Virtual package relying on a GMP lib system installation.
conf-leveldb                        1  Virtual package relying on a LevelDB lib system installation.
conf-libev                       4-11  High-performance event loop/event model with lots of features
conf-m4                             1  Virtual package relying on m4
conf-openssl                        1  Virtual package relying on an OpenSSL system installation.
conf-perl                           1  Virtual package relying on perl
conf-pkg-config                   1.0  Virtual package relying on pkg-config installation.
conf-which                          1  Virtual package relying on which
cppo                            1.6.0  Equivalent of the C preprocessor for OCaml programs
cppo_ocamlbuild                 1.6.0  ocamlbuild support for cppo, OCaml-friendly source preprocessor
cpuid                           0.1.1  Detect CPU features
crunch                          2.1.0  Convert a filesystem into a static OCaml module
cstruct                         3.2.1  Access C-like structures directly from OCaml
cstruct-lwt                     3.2.1  Access C-like structures directly from OCaml
ctypes                         0.13.1  Combinators for binding to C libraries without writing any C.
decompress                        0.7  Pure OCaml implementation of Zlib
depext                          1.0.5  Query and install external dependencies of OPAM packages
dispatch                        0.4.0  Path-based dispatching for client- and server-side applications.
ezjsonm                         0.5.0  An easy interface on top of the Jsonm library
fieldslib                      v0.9.0  Syntax extension to define first class values representing record fields, to get and set record fields, iterate and fold
fmt                             0.8.2  OCaml Format pretty-printer combinators
git                            1.11.3  Git format and protocol in pure OCaml
git-http                       1.11.2  Client implementation of the "Smart" HTTP Git protocol in pure OCaml
git-unix                       1.11.2  Unix backend for the Git protocol(s)
hex                             1.2.0  Minimal library providing hexadecimal converters.
integers                        0.2.0  Various signed and unsigned integer types for OCaml
ipaddr                          2.8.0  IP (and MAC) address manipulation
irmin                           1.3.2  Irmin, a distributed database that follows the same design principles as Git
irmin-fs                        1.3.0  Generic file-system backend for Irmin
irmin-git                       1.3.0  Git backend for Irmin
irmin-http                      1.3.1  HTTP client and server for Irmin
irmin-mem                       1.3.0  In-memory backend for Irmin
irmin-unix                      1.3.0  Unix backends for Irmin
irmin-watcher                   0.3.0  Portable Irmin watch backends using FSevents or Inotify
jbuilder                   1.0+beta16  Fast, portable and opinionated build system
jsonm                           1.0.1  Non-blocking streaming JSON codec for OCaml
kaputt                            1.2  Testing tool
leveldb                         1.1.2  OCaml bindings for Google's LevelDB library.
logs                            0.6.2  Logging infrastructure for OCaml
lwt                             3.0.0  Monadic promises and concurrent I/O
lwt_ssl                         1.1.1  Lwt-friendly OpenSSL bindings
magic-mime                      1.1.0  Map filenames to common MIME types
menhir                       20171222  LR(1) parser generator
mirage-no-solo5                     1  Virtual package conflicting with mirage-solo5
mirage-no-xen                       1  Virtual package conflicting with mirage-xen
mstruct                         1.4.0  A mutable interface to Cstruct buffers
mtime                           1.1.0  Monotonic wall-clock time for OCaml
nocrypto                        0.5.4  Simpler crypto
num                                 0  The Num library for arbitrary-precision integer and rational arithmetic
ocaml-compiler-libs            v0.9.0  OCaml compiler libraries repackaged
ocaml-migrate-parsetree         1.0.7  Convert OCaml parsetrees between different versions
ocamlbuild                     0.12.0  OCamlbuild is a build system with builtin rules to easily build most OCaml projects.
ocamlfind                     1.7.3-1  A library manager for OCaml
ocamlgraph                      1.8.8  A generic graph library for OCaml
ocb-stubblr                     0.1.1  OCamlbuild plugin for C stubs
ocp-build                1.99.20-beta  Project builder for OCaml
ocp-ocamlres                      dev (pinned)  Manipulation, injection and extraction of embedded resources
ocplib-endian                     1.0  Optimised functions to read and write int16/32/64 from strings and bigarrays, based on new primitives added in version 4.
ocplib-json-typed                 0.5 (pinned)  Type-aware JSON and JSON schema utilities
ocplib-resto                      dev (pinned)  Minimal OCaml library for type-safe HTTP/JSON RPCs.
omake                          0.10.3  Build system designed for scalability and portability
pprint                       20171003  A pretty-printing combinator library and rendering engine.
ppx_ast                        v0.9.1  OCaml AST used by Jane Street ppx rewriters
ppx_core                       v0.9.0  Standard library for ppx rewriters
ppx_derivers                      1.0  Shared [@@deriving] plugin registry
ppx_deriving                    4.2.1  Type-driven code generation for OCaml >=4.02
ppx_driver                     v0.9.1  Feature-full driver for OCaml AST transformers
ppx_fields_conv                v0.9.0  Generation of accessor and iteration functions for ocaml records
ppx_metaquot                   v0.9.0  Write OCaml AST fragment using OCaml syntax
ppx_optcomp                    v0.9.0  Optional compilation for OCaml
ppx_sexp_conv                  v0.9.0  Generation of S-expression conversion functions from type definitions
ppx_tools                         5.0  Tools for authors of ppx rewriters and other syntactic tools
ppx_tools_versioned             5.0.1  A variant of ppx_tools based on ocaml-migrate-parsetree
ppx_traverse_builtins          v0.9.0  Builtins for Ppx_traverse
ppx_type_conv                  v0.9.1  Support Library for type-driven code generators
re                              1.7.1  RE is a regular expression library for OCaml
react                           1.2.1  Declarative events and signals for OCaml
reactiveData                    0.2.1  Functional reactive programming with incremental changes in data structures
result                            1.2  Compatibility Result module
sexplib                        v0.9.2  Library for serializing OCaml values to and from S-expressions
sodium                            dev (pinned)  Binding to libsodium UNAUDITED
ssl                             0.5.5  Bindings for OpenSSL
stdio                          v0.9.0  Standard IO library for OCaml
stringext                       1.5.0  Extra string functions for OCaml
topkg                           0.9.1  The transitory OCaml software packager
uchar                           0.0.2  Compatibility library for OCaml's Uchar module
uri                             1.9.5 (pinned)  RFC3986 URI/URL parsing library
uutf                            1.0.1  Non-blocking streaming Unicode codec for OCaml
webmachine                      0.4.0  A REST toolkit for OCaml
zarith                            1.7  Implements arithmetic and logical operations over arbitrary-precision integers