pi.ton
27 November 2021 23:27
1
Hi.
I’m trying to update my testnet relay towards version 1.31.0 but I’m hitting the below error:
This is a docker image that I’m trying to build.
GHC_VERSION=8.10.7
CABAL_VERSION=3.4.0.0
CARDANO_VERSION=1.31.0
Here’s the dockerfile:
Any hint should help. Thanks.
P.S.: It’s an RPI4B
1 Like
tomdx
28 November 2021 16:08
2
Here the corresponding github issue …
opened 04:08PM - 28 Nov 21 UTC
bug
**Internal/External**
*External* otherwise.
**Area**
*Build/Compile*
…
**Summary**
We used to be able to build the cardano node on arm64 with ...
* cabal-3.4.0.0
* ghc-8.10.4
Now, we are seeing this build failure ...
```
[ 9 of 14] Compiling Cardano.Logging.Tracer.Standard ( src/Cardano/Logging/Tracer/Standard.hs, /src/cardano-node/dist-newstyle/build/aarch64-linux/ghc-8.10.4/trace-dispatcher-1.29.0/build/Cardano/Logging/Tracer/Standard.o, /src/cardano-node/dist-newstyle/build/aarch64-linux/ghc-8.10.4/trace-dispatcher-1.29.0/build/Cardano/Logging/Tracer/Standard.dyn_o )
src/Cardano/Logging/Tracer/Standard.hs:9:1: error: [-Wdeprecations, -Werror=deprecations]
Module `Control.Concurrent.Chan.Unagi.Bounded':
This library is unlikely to perform well on architectures without a fetch-and-add instruction
|
9 | import Control.Concurrent.Chan.Unagi.Bounded
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Cardano/Logging/Tracer/Standard.hs:73:26: error: [-Wdeprecations, -Werror=deprecations]
In the use of `newChan'
(imported from Control.Concurrent.Chan.Unagi.Bounded):
"This library is unlikely to perform well on architectures without a fetch-and-add instruction"
|
73 | (inChan, outChan) <- newChan 2048
| ^^^^^^^
```
1 Like
os11k
28 November 2021 16:10
3
Hi! Why you just don’t use official docker image?
https://hub.docker.com/r/inputoutput/cardano-node
(Probably because it do not runs on raspberry pie)
Additionally, you should use as less command RUN as possible.
I would recommend to check how others build cardano-node on raspberry pie. And this is more question to them, then rather anything to do with docker.
pi.ton
28 November 2021 16:53
4
Thanks @tomdx
I’ll follow this on github and see if something unveils. Hope its not the end of the road for my RPI.
pi.ton
28 November 2021 16:56
5
Hi @os11k
This build is basically a copy from a functional RPI pool from the mainnet, just made a fewer minor changes. I’ll take in consideration your hint about the RUN command though. Thanks.