https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104006
--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The version file is now fixed. Can you perhaps rm -rf the libgfortran build directories and retry, if it wasn't some weird BUILT_SOURCES problem caused by it failing early because of the gfortran version file failure? Have you ever seen such failures before? As documented in automake, BUILT_SOURCES is only for all, check and install goals, if one does make fpu.lo it will not work.