Problem compiling cardano-node 1.29.1 on Raspberry Pi 4

Previous versions of cardano-node (including 1.27.0) compiled fine on this system, but with 1.29.1 I get this strange error after running “cabal configure -O0 -w ghc-8.10.4”:

HEAD is now at edc6d4672 Merge pull request #3430 from input-output-hk/hkm/windows-cross
cabal: ‘/home/pi/.ghcup/bin/ghc-8.10.4’ exited with an error:

So the error message is basically an empty string!

I tested if ghc is working, and it was fine:

$ /home/pi/.ghcup/bin/ghc-8.10.4 --version
The Glorious Glasgow Haskell Compilation System, version 8.10.4

Does anyone have some advice? I am out of ideas, because this empty error message is not helpful at all.

This is the complete output of the cabal configure:
`$ cabal configure -O0 -w ghc-8.10.4
Cloning into ‘/mnt/sandisk/git/cardano-node/dist-newstyle/src/Win32-net_-5b9448ed2f179086’…
remote: Enumerating objects: 1073, done.
remote: Counting objects: 100% (1073/1073), done.
remote: Compressing objects: 100% (489/489), done.
remote: Total 1073 (delta 473), reused 1008 (delta 419), pack-reused 0
Receiving objects: 100% (1073/1073), 1.01 MiB | 5.43 MiB/s, done.
Resolving deltas: 100% (473/473), done.
HEAD is now at 3825d3a Merge pull request #9 from input-output-hk/coot/createNamedPipe-error
Cloning into ‘/mnt/sandisk/git/cardano-node/dist-newstyle/src/cardano-b_-c8db9876882556ed’…
remote: Enumerating objects: 4757, done.
remote: Counting objects: 100% (751/751), done.
remote: Compressing objects: 100% (365/365), done.
remote: Total 4757 (delta 378), reused 586 (delta 277), pack-reused 4006
Receiving objects: 100% (4757/4757), 1.99 MiB | 8.22 MiB/s, done.
Resolving deltas: 100% (2643/2643), done.
HEAD is now at cb0f19c Merge pull request #226 from input-output-hk/iquerejeta/remove-cryptonite
Cloning into ‘/mnt/sandisk/git/cardano-node/dist-newstyle/src/cardano-c_-253fd88117badd8f’…
remote: Enumerating objects: 1467, done.
remote: Counting objects: 100% (49/49), done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 1467 (delta 12), reused 32 (delta 8), pack-reused 1418
Receiving objects: 100% (1467/1467), 473.66 KiB | 6.07 MiB/s, done.
Resolving deltas: 100% (611/611), done.
HEAD is now at 07397f0 Merge pull request #77 from input-output-hk/upgrade-to-cabal-3.4.0.0
Cloning into ‘/mnt/sandisk/git/cardano-node/dist-newstyle/src/cardano-l_-48e3a74bf8b61f34’…
remote: Enumerating objects: 73943, done.
remote: Counting objects: 100% (3238/3238), done.
remote: Compressing objects: 100% (1211/1211), done.
remote: Total 73943 (delta 1403), reused 2972 (delta 1266), pack-reused 70705
Receiving objects: 100% (73943/73943), 37.82 MiB | 7.11 MiB/s, done.
Resolving deltas: 100% (42413/42413), done.
HEAD is now at a2d0a5f07 Fix slotToPosixTime computation.
Cloning into ‘/mnt/sandisk/git/cardano-node/dist-newstyle/src/cardano-p_-cae013aee062332a’…
remote: Enumerating objects: 1639, done.
remote: Counting objects: 100% (47/47), done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 1639 (delta 14), reused 33 (delta 10), pack-reused 1592
Receiving objects: 100% (1639/1639), 400.80 KiB | 4.09 MiB/s, done.
Resolving deltas: 100% (744/744), done.
HEAD is now at fd773f7 Merge pull request #159 from input-output-hk/upgrade-to-cabal-3.4.0.0
Cloning into ‘/mnt/sandisk/git/cardano-node/dist-newstyle/src/flat-9eba9ae2d4d970a’…
remote: Enumerating objects: 3716, done.
remote: Counting objects: 100% (542/542), done.
remote: Compressing objects: 100% (363/363), done.
remote: Total 3716 (delta 355), reused 331 (delta 173), pack-reused 3174
Receiving objects: 100% (3716/3716), 1.22 MiB | 6.46 MiB/s, done.
Resolving deltas: 100% (2407/2407), done.
HEAD is now at ee59880 Don’t use the unsafe decodeUtf8
Cloning into ‘/mnt/sandisk/git/cardano-node/dist-newstyle/src/goblins-67efee8d68d79164’…
remote: Enumerating objects: 442, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 442 (delta 6), reused 16 (delta 6), pack-reused 423
Receiving objects: 100% (442/442), 129.36 KiB | 2.39 MiB/s, done.
Resolving deltas: 100% (176/176), done.
HEAD is now at cde90a2 Re-enable support for GHC 8.6.5
Cloning into ‘/mnt/sandisk/git/cardano-node/dist-newstyle/src/hedgehog--586c3da22a5ce29b’…
remote: Enumerating objects: 602, done.
remote: Counting objects: 100% (503/503), done.
remote: Compressing objects: 100% (291/291), done.
remote: Total 602 (delta 387), reused 293 (delta 196), pack-reused 99
Receiving objects: 100% (602/602), 448.54 KiB | 4.04 MiB/s, done.
Resolving deltas: 100% (431/431), done.
HEAD is now at edf6945 Module re-exports (#5)
Cloning into '/mnt/sandisk/git/cardano-node/dist-newstyle/src/iohk-moni
-1defcf7452717dc5’…
remote: Enumerating objects: 9914, done.
remote: Counting objects: 100% (253/253), done.
remote: Compressing objects: 100% (137/137), done.
remote: Total 9914 (delta 90), reused 166 (delta 49), pack-reused 9661
Receiving objects: 100% (9914/9914), 35.04 MiB | 11.58 MiB/s, done.
Resolving deltas: 100% (5599/5599), done.
HEAD is now at 808724f Merge #620
Cloning into ‘/mnt/sandisk/git/cardano-node/dist-newstyle/src/optparse--3cd678a226e0281a’…
remote: Enumerating objects: 4387, done.
remote: Counting objects: 100% (396/396), done.
remote: Compressing objects: 100% (221/221), done.
remote: Total 4387 (delta 214), reused 299 (delta 138), pack-reused 3991
Receiving objects: 100% (4387/4387), 1.14 MiB | 7.97 MiB/s, done.
Resolving deltas: 100% (2445/2445), done.
HEAD is now at 7497a29 Rename forked package
Cloning into '/mnt/sandisk/git/cardano-node/dist-newstyle/src/ouroboros
-e51b1e265e7bb521’…
remote: Enumerating objects: 168629, done.
remote: Counting objects: 100% (8005/8005), done.
remote: Compressing objects: 100% (2938/2938), done.
remote: Total 168629 (delta 5197), reused 6682 (delta 4159), pack-reused 160624
Receiving objects: 100% (168629/168629), 285.37 MiB | 9.58 MiB/s, done.
Resolving deltas: 100% (123494/123494), done.
HEAD is now at 877ce057f Merge #3305
Cloning into ‘/mnt/sandisk/git/cardano-node/dist-newstyle/src/plutus-5e27fa0483bd0166’…
remote: Enumerating objects: 117222, done.
remote: Counting objects: 100% (3847/3847), done.
remote: Compressing objects: 100% (1792/1792), done.
remote: Total 117222 (delta 2008), reused 3397 (delta 1832), pack-reused 113375
Receiving objects: 100% (117222/117222), 112.34 MiB | 8.11 MiB/s, done.
Resolving deltas: 100% (74261/74261), done.
Updating files: 100% (3502/3502), done.
HEAD is now at edc6d4672 Merge pull request #3430 from input-output-hk/hkm/windows-cross
cabal: ‘/home/pi/.ghcup/bin/ghc-8.10.4’ exited with an error:

The latest version released is 1.29.0

Thanks! Yes, I was aware of than and also tried 1.29.0 and got the same empty error message. I just tried the 1.29.1 Tag to check if this might work. I suspect it’s some problem with cabal, but no idea in what way.