Error message trying the comand "cabal build" installing my cardano node

Maybe I am writing late and you have fixed it but for the record. I had to upgrade both cabal and ghc versions
cabal update and then ghc upgrade