Thanks @Benagain - Unfortunately the answers are yes, and yes…
Hmmm. I would verify that your prereq.sh is up to date and if not update and rerun with your required perameters. CNtools has recently updated.
Check ghc and cabal version
what is the output?
U can try to run the prereqs again
cd ~/tmp
./prereqs.sh
The Glorious Glasgow Haskell Compilation System, version 8.10.4
cabal-install version 3.4.0.0
compiled using version 3.4.0.0 of the Cabal library
And just started from the beginning and did prereqs but same result
Try again to build the node… do u see any errors?
Also try to uodate the ghc… wait 1 min
No errors at all. Same result:
Overwriting cabal.project.local to include cardano-addresses and bech32 (previous file, if any, will be saved as cabal.project.local.swp)..
truncated tar archive
Running cabal update to ensure you're on latest dependencies..
HEAD is now at 3825d3a Merge pull request #9 from input-output-hk/coot/createNamedPipe-error
HEAD is now at c33dbf2 Upgrade to cabal-3.4.0.0 (#35)
HEAD is now at 9fe7084c Merge pull request #131 from input-output-hk/paweljakubas/adp-934/add-more-validation-script-template
HEAD is now at 654f5b7 Merge pull request #240 from input-output-hk/nc/rewrite
HEAD is now at f730793 Merge pull request #69 from newhoggy/add-ghc-8.6.5-and-8.10.2-to-ci
HEAD is now at bf008ce02 Merge pull request #2526 from input-output-hk/jc/fix-alonzo-txwits-again
HEAD is now at bb4ed71 Merge pull request #158 from input-output-hk/nc/drop-strict
HEAD is now at d9e8fd3 Merge pull request #2 from input-output-hk/erikd/bump
HEAD is now at ee59880 Don't use the unsafe decodeUtf8
HEAD is now at cde90a2 Re-enable support for GHC 8.6.5
HEAD is now at edf6945 Module re-exports (#5)
HEAD is now at 808724f Merge #620
HEAD is now at 7497a29 Rename forked package
HEAD is now at 94782e5ca Merge #3438
HEAD is now at 1efbb276e SCP-2750: Removed types and functions in Ledger.Tx that were integrated in cardano-api instead. Updated cardano-node commit hash. (#4012)
Downloading the latest package list from hackage.haskell.org
truncated tar archive
Building..
truncated tar archive
*****:~/git/cardano-node$
And I just re-ran sudo apt update and sudo apt upgrade and everything was already up to date. Is there another command to try for ghc specifically?
I just checked mine and I have 8.10.4 … it’s fine
try to delete and download again the cardano-node folder
Yes, I just tried that idea as well - same result
Do u have this issue on all nodes?
That’s where I was headed next as well - trying second node now to see…
Looks like it is working on the relay but not the BP. Immediately the process was different as the first few lines after build are different. On the working version it said:
Overwriting cabal.project.local to include cardano-addresses and bech32 (previous file, if any, will be saved as cabal.project.local.swp)..
Warning: The package list for 'hackage.haskell.org' is 48 days old.
Run 'cabal update' to get the latest list of available packages.
But on the non-working BP it says:
Overwriting cabal.project.local to include cardano-addresses and bech32 (previous file, if any, will be saved as cabal.project.local.swp)..
truncated tar archive
Running cabal update to ensure you're on latest dependencies..
HEAD is now at 3825d3a Merge pull request #9 from input-output-hk/coot/createNamedPipe-error
Any idea how I can resolve on the BP?
did u added something inside bashrc file to use less RAM?
This one also was on relay?
This one also was on relay?
I am unsure - there’s since been too many lines compiling to see what happened next.
did u added something inside bashrc file to use less RAM?
I initially did have this line in bashrc, but I commented it out and rebooted since:
export GHCRTS='-N -T -I0 -A16m --disable-delayed-os-memory-return --nonmoving-gc'
And inside the cnode.sh did u changed anything? Like CPU use?
The only thing I did there was uncomment the CPU_CORES=2 line. But I am not sure why that would impact this - cnode.sh is not run as part of build-all is it?
Let’s check…
cd ~/tmp
./prereqs.sh -f
Now try again to build the node
Haha, well now it fails even faster… About only 10 seconds and just these lines:
Overwriting cabal.project.local to include cardano-addresses and bech32 (previous file, if any, will be saved as cabal.project.local.swp)..
truncated tar archive
Running cabal update to ensure you're on latest dependencies..
Downloading the latest package list from hackage.haskell.org
truncated tar archive
Building..
truncated tar archive
*****:~/git/cardano-node$
Did u rebooted the all machine? try sudo reboot
last update it worked?
Yes, I’ve rebooted several times and yes, never had an issue with any updates before!