Add dependencies on the ui-gen target, this should fix the race condition during the build. PR: 229854 Reported by: antoine