I had build failures on #gentoo where sci-libs/lapack and others were failing to build due to a CMake check failing:
ld: CMakeFiles/VerifyFortranC.dir/main.c.o: in function `main': undefined reference to `VerifyFortran'
I had always been careful when using #distcc to specify the suffix of the compiler version to use, but this time I was beaten, there was an incompatibility even though the command line was the same...
Hard-to-notice compiler version mismatch, between my machine:
gcc version 13.2.1 20240210 (Gentoo 13.2.1_p20240210 p13)
and a #distcc machine:
gcc version 13.2.1 20231014 (Gentoo 13.2.1_p20231014 p10)
and for some reason this other machine was ok:
gcc version 13.2.1 20240113 (Gentoo 13.2.1_p20240113-r1 p12)