Try with 1.34.1 software version… I am curious if with this version will work
1.34.1 builds. And as @HeptaSean mentions above, I will probably not be able to sync 100% with that.
On the one hand, 1.34.1 will not work on the testnet. On the other hand, the build error is in cardano-addresses and this is built at https://github.com/cardano-community/guild-operators/blob/alpha/scripts/cnode-helper-scripts/cabal-build-all.sh#L66, before the script even starts the build of cardano-node, no matter the version.
Are you sure? Are you using another checkout of the prerequisites for that?
I didn’t check out the prerequisites again. Just:
git fetch --tags --all
git checkout 1.34.1
echo -e “package cardano-crypto-praos\n flags: -external-libsodium-vrf” > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh -o
Ok, prereqs from master is not updated for 1.35.x versions (this can be the issue)
try
cd ~/tmp
./prereqs.sh -b alpha
then try again from step 2 with 1.35.2 version
If still not working then delete cardano-node folder from ~/git folder and clone it again…
All right, did that. Including checkout of 1.35.2. It builds. However, checking the version of the node with “cardano-node --version” gives “cardano-node 1.34.1 - linux-x86_64 - ghc-8.10
git rev 73f9a746362695dc2cb63ba757fbcabb81733d23”.
compiled already? U must check the version after
Yep, compiled. Checked version after build / compile.
cd /usr/local/bin
do u see here cardano-address/cli files?
No, it’s empty.
Then, something was wromg during the compilation for 1.35.2
hey @Alexd1985 , thank you for your work with this guide. Do you know if its already usable to update/install to the version 1.35.3? im getting errors when im trying to atm.
Thanks in advance!,
Fede
for mainnet should be ok, I upgraded only on relay for testing ( on mainnet)… no rush for the rest of the nodes yet
If u wanna try on one of ur relay follow the steps bellow … and first time after upgrade it will take more hours to start
Thanks for your reply. Follow the steps and receive the following:
Warning: Requested index-state 2022-02-18T00:00:00Z is newer than
‘hackage.haskell.org’! Falling back to older state (2022-02-17T23:17:49Z).
Resolving dependencies…
cabal: Could not resolve dependencies:
[__0] trying: cardano-crypto-class-2.0.0 (user goal)
[__1] rejecting: cardano-crypto-class:+secp256k1-support (conflict: pkg-config
package libsecp256k1-any, not found in the pkg-config database)
[__1] rejecting: cardano-crypto-class:-secp256k1-support (manual flag can only
be changed explicitly)
[__1] fail (backjumping, conflict set: cardano-crypto-class,
cardano-crypto-class:secp256k1-support)
After searching the rest of the dependency tree exhaustively, these were the
goals I’ve had most trouble fulfilling: cardano-crypto-class,
cardano-crypto-class:secp256k1-support
Overwriting cabal.project.local to include cardano-addresses and bech32 …
cabal: Could not resolve dependencies:
[__0] trying: cardano-crypto-class-2.0.0 (user goal)
[__1] rejecting: cardano-crypto-class:+secp256k1-support (conflict: pkg-config
package libsecp256k1-any, not found in the pkg-config database)
[__1] rejecting: cardano-crypto-class:-secp256k1-support (manual flag can only
be changed explicitly)
[__1] fail (backjumping, conflict set: cardano-crypto-class,
cardano-crypto-class:secp256k1-support)
After searching the rest of the dependency tree exhaustively, these were the
goals I’ve had most trouble fulfilling: cardano-crypto-class,
cardano-crypto-class:secp256k1-support
finally says that the upgrade went OK but still on the 1.34.1 version.
Do you know how can i solve this?
Did u choose alpha then no when it asked to upgrade again prereqs?
Tey again, I changed back the script to download the prereqs from alpha branc… looks like downloading from master and run ./prereqs.sh -b alpha with not work
You will need to downlod again the script
Yes, i’ve found this:
removed and reinstalled Libsodium and Secp256k1 then start the process again.
then receive the following:
lib/Cardano/Address/Script.hs:740:41: error:
• Couldn’t match type ‘Text’ with ‘Json.Key’
Expected type: [Json.Pair]
Actual type: [(Text, Value)]
• In the first argument of ‘object’, namely
‘(fmap toPair (Map.toList cosigners’))’
In the second argument of ‘(.=)’, namely
‘object (fmap toPair (Map.toList cosigners’))’
In the expression:
“cosigners” .= object (fmap toPair (Map.toList cosigners’))
|
740 | object [ “cosigners” .= object (fmap toPair (Map.toList cosigners’))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/Cardano/Address/Script.hs:778:28: error:
• Couldn’t match type ‘Data.Aeson.KeyMap.KeyMap Value’
with ‘HM.HashMap Text Value’
Expected type: HM.HashMap Text Value
Actual type: Json.Object
• In the first argument of ‘HM.toList’, namely ‘o’
In the expression: HM.toList o
In the expression:
case HM.toList o of
→ fail “Cosigners object array should not be empty”
cs → for (reverse cs) $ \ (numTxt, str) → do …
|
778 | case HM.toList o of
| ^
cabal: Failed to build cardano-addresses-3.7.0 (which is required by
exe:cardano-address from cardano-addresses-cli-3.7.0). See the build log above
for details.
But now seems its loading with the 1.35.3 but its taking more than 3 hours now… its normal o should i check anything else?
Just wait, it will take more time first time, depending on HW resources… u should see MEM RSS slowly increase… it will start when it will reach ~10,5G
Thanks, it went well!
