When I execute
cabal build cardano-cli cardano-node then it fails with followin error message:
ghc: panic! (the 'impossible' happened) (GHC version 8.10.2: Loading temp shared object failed: /tmp/ghc5459_0/libghc_10.so: failed to map segment from shared object Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug cabal: Failed to build th-orphans-0.13.11 (which is required by test:cardano-node-test from cardano-node-1.24.2, test:cardano-cli-test from cardano-cli-1.24.2 and others). See the build log above for details.
I assume because I hardened my TMP folder with the following guide: List of things for hardening Ubuntu · GitHub
Is there are workaround? Otherwise, I will revert the restriction tomorrow. Thanks!