When executing brew install on Ubuntu 16.04.7 LTS (xenial) I am getting the following error which breaks each install:
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc-13 ... no
checking ABI=x32
checking compiler gcc-13 ... no
checking ABI=32
checking compiler gcc-13 ... no
configure: error: could not find a working compiler, see config.log for details
echo 'int main(){}' > dummy.cgcc-13 dummy.cwhich will give the error below (please note thatgcc dummy.ccan work just fine)brew link --force binutilsecho $PATHbrew configgcc-13 dummy.cshould give no errorbrew installshould work without any error as well