Unfortunately I lost the exact failure, but it was something starting with 'No rule to make target: ...', which suggests missing dependencies between generated source files.