status-im / nimbus-eth2

Nim implementation of the Ethereum Beacon Chain
https://nimbus.guide
Other
543 stars 233 forks source link

build error for v1.0.6 on arm #2224

Closed johannbarbie closed 3 years ago

johannbarbie commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

can't build beacon node from source.

To Reproduce Steps to reproduce the behavior:

  1. Platform details (OS, architecture): raspberry pi 4b, arm
  2. Branch/commit used: 87955f2d37c7b7e8b9f8ae1c47c9d354c59a1c34
  3. Commands being executed: make nimbus_beacon_node
  4. Relevant log lines:
    Building: build/nimbus_beacon_node
    /home/pi/nimbus-eth2/beacon_chain/eth2_network.nim(1598, 14) Error: expression 'subscribe(node.pubsub, topic & "_snappy", dummyMsgHandler)' is of type 'Future[system.void]' and has to be discarded; start of expression here: /home/pi/nimbus-eth2/beacon_chain/eth2_network.nim(1595, 3)
    make: *** [Makefile:173: nimbus_beacon_node] Error 1
stefantalpalaru commented 3 years ago

What's the output of file /bin/bash ?

arnetheduck commented 3 years ago

this looks like a case of missing make update before running make nimbus_beacon_node, did you run that first? See also https://status-im.github.io/nimbus-eth2/keep-updated.html

johannbarbie commented 3 years ago

this looks like a case of missing make update before running

exactly. thanks for the reminder.