-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure building in Windows Container due to missing file #110
Comments
Small update: I ran a diagnostic on my system. It does suffer for the 8gb filesystem issue. |
New update. I tried the same command on windows server 2019 and got the same error ue4-docker version: 0.0.72 (latest available version is 0.0.72) Is there something I am doing wrong?? here is the error from the new log. |
You haven't mentioned what version of UE4 your tree is branched from. I don't see any failures in the build log. I'm not sure what is supposed to generate cpp.hint, but it's possible that there was a failure before the start of the log that's supposed to generate cpp.hint, but somehow didn't stop the build when it failed. That said, try increasing the storage-opt to 400GB or 600GB and see if that fixes it (per #112). I'd also suggest adding Interestingly, 4.26 removes the reference to cpp.hint from this build step: https://github.com/EpicGames/UnrealEngine/commit/006feb2ef072d41fa429c585031c50955c3c2ba5, so possibly this is a known-flakey thing. |
Thanks. Its just a vanilla fork of UE release branch ( which corresponds to 4.25.4). No code changes. I did already attempt the following things to the same result: Unfortunately I get the same error. I'm going to try building again and saving full log to see if there is an error generating this file. Afterwards I'm going to try building a version of 4.26 instead. Thanks for response. |
I'm running into the same issue, also with 4.26 - any resolution / fix to this (my max image size is 800GB)? |
4.26 is also complaining about missing "C:\UnrealEngine\cpp.hint"? That's very strange, since 4.26 removed that file from the buildsystem. Can you provide the full build log please, so we can see how it got into this situation in the first place? |
I was wrong, apologies - ignore my last post, with 4.26 I did not get the missing file issue, but it aborted with copy error. I then tried patching the dockerfile according to #99 (comment), but still getting it. I'm on Windows Server 2019 Standard Version 1809, with Docker server 19.03.12. The 8GB diagnostic fails on this system, so could be related to this? I'm letting it run again and will post the output. |
It's probably best to follow up on #99 if you're having the COPY error, so that information about that issue stays in one place, and we can keep this ticket for the 'cpp.hint' issue. For example, the workaround might need to be updated for 4.26. |
FWIW, the error with the missing This is the commit that addressed the bug in the initial 4.25.4 release: https://github.com/EpicGames/UnrealEngine/commit/84e4ea3241c294c04fdf7d8fb63f99a3109c8edd This is a bug with UE's build scripts themselves, rather than with the environment. Presumably, applying that patch to |
Upstream bug in 4.25.4 GitHub release: Backport the fix into your own UE4 tree, use 4.25.3, or wait for 4.26 to be released |
I'm used to .0 releases of new Unreal Engine versions having bugs in them that subsequently get fixed, but this is definitely the first time I've seen the final point release of a version introduce a bug that is then left unfixed until the next .0 release. Since I always advise people to use the newest point release of any given Engine version, I've added a patch in commit 99ca1b0 that injects the fix from https://github.com/EpicGames/UnrealEngine/commit/84e4ea3241c294c04fdf7d8fb63f99a3109c8edd when it detects version 4.25.4 and the fix isn't already present (so it won't interfere with people's own forks that already include the backport.) I'll tag a new release of ue4-docker that includes the new change once I've tested that it fixes the build issues under both Windows and Linux. |
My tests builds were successful for 4.25.4 under both Windows and Linux. The fix is now live in ue4-docker version 0.0.73. |
Hi!
Hi I'm attempting to run the command
ue4-docker build custom:MYTAG -repo=MYREPO -branch=release
However I get a failure building with the message. I believe this is the relevant snippet of my log:
Saving local manifest to C:\UnrealEngine\Engine\Saved\BuildGraph\Build Tools Win64\Manifest.xml
ERROR: Attempt to add file to temp storage manifest that does not exist (C:\UnrealEngine\cpp.hint)
(see C:\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
AutomationTool exiting with ExitCode=1 (Error_Unknown)
BUILD FAILED
The command 'cmd /S /C .\Engine\Build\BatchFiles\RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -set:HostPlatformOnly=true -set:WithDDC=%BUILD_DDC% && del /s /q C:\UnrealEngine\LocalBuilds\InstalledDDC 2>NUL && python C:\exclude-components.py C:\UnrealEngine\LocalBuilds\Engine\Windows %EXCLUDE_DEBUG% %EXCLUDE_TEMPLATES% && echo. && echo.RUN directive complete. Docker will now commit the filesystem layer to disk. && echo.Note that for large filesystem layers this can take quite some time. && echo.Performing filesystem layer commit... && echo.' returned a non-zero code: 1
[ue4-docker build] Error: failed to build image "adamrehn/ue4-minimal:martov-1903"
As you can see it appears to be attempting to add a file that does not appear to exist. I am not sure if this is because of my windows setup.
Do you have any idea why this is happening?
Also I am not sure how to get the full log short of piping into a file but I attached the ending section that wasn't cropped out by the terminal. Please let me know if you can, where to retroactively find the log.
ue4-dockerlog.txt
The text was updated successfully, but these errors were encountered: