UE4.13 rocket build fails


I’m testing out the new rocket build system with this command line:

D:\P4\UE4\Dev\Epic\4.13>D:\P4\UE4\Dev\Epic\4.13\Engine\Binaries\DotNET\AutomationTool.exe BuildGraph -target=“Make Installed Build Win64” -script=Engine/Build/InstalledEngineBuild.xml -set:WithIOS=false -set:WithTVOS=false -set:WithLinux=false -set:WithAndroid=false -NoSign

And after a good long build it craps out with this error:

Failed to copy D:\P4\UE4\Dev\Epic\4.13\Engine\Build\NotForLicensees\EpicInternal.txt to D:\P4\UE4\Dev\Epic\4.13\LocalBuilds\InstalledDDC\Engine\Build\NotForLicensees\EpicInternal.txt

Looks like the source file is missing. Any pointers?



Thanks for pointing this out, this file is deliberately missing from public releases but we shouldn’t have a dependency on it in that case. I assume it’s being added in the Build DDC Win64 node, where we try to use some of our internal tools if they’re available. You should be able to comment out/remove the following line in InstalledEngineBuild.xml:

<Tag Files="Engine\Build\NotForLicensees\EpicInternal.txt" With="#FilteredCopyList"/>

The proper fix will be to check whether this file exists when tagging it.

Out of interest, if you don’t want to build DDC for the Engine and Template content as it can be quite a long process, then you can skip this entire step by adding -set:WithDDC=false to the commandline. Hopefully if you make this change/add to the command line, running it again won’t start from scratch - all of the targets that had previously built will be recognized and it will start at a later point in the script.

Thanks, I modified the .xml and run with -set:WithDDC=false …I get a lot further and then hit this:

InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find a part of the path ‘D:\P4\UE4\Dev\Epic\4.13\Engine\Documentation\CHM\API.chm’.

I couldn’t see anything obvious in the xml to comment out this time, any ideas?



Ah, that’s in another xml file dedicated to files that need to be included/excluded - InstalledEngineFilters.xml. Again you should be able to comment out:

<Property Name="CopyEditorFilter" Value="$(CopyEditorFilter);Engine/Documentation/CHM/API.chm"/>

We either need to make that optional or include the documentation building in the installed build script. Thanks for pointing out again, sounds like you’re almost there :slight_smile:

Great, that all works now, Cheers!