Build errors upgrading from 5.3.1 to 5.4.3

I couldn’t really find a topic covering this or providing an solution. I just decided to upgrade from 5.3.1 to 5.4.3 (latest release branch at this moment) and got the following build errors:

Severity	Code	Description	Project	File	Line	Suppression State	Details
Error	LNK1120	2 unresolved externals	CmdLink	F:\UnrealEngine\Engine\Intermediate\Binaries\Win64\CmdLink.exe	1		
Error	LNK2001	unresolved external symbol "wchar_t const * const GForeignEngineDir" (?GForeignEngineDir@@3PEB_WEB)	CmdLink	F:\UnrealEngine\Engine\Intermediate\ProjectFiles\Module.Core.3.cpp.obj	1		
Error	LNK2001	unresolved external symbol "wchar_t * GInternalProjectName" (?GInternalProjectName@@3PA_WA)	CmdLink	F:\UnrealEngine\Engine\Intermediate\ProjectFiles\Module.Core.11.cpp.obj	1		
Error	LNK2001	unresolved external symbol "wchar_t * GInternalProjectName" (?GInternalProjectName@@3PA_WA)	CmdLink	F:\UnrealEngine\Engine\Intermediate\ProjectFiles\Module.Core.14.cpp.obj	1		
Error	LNK2001	unresolved external symbol "wchar_t * GInternalProjectName" (?GInternalProjectName@@3PA_WA)	CmdLink	F:\UnrealEngine\Engine\Intermediate\ProjectFiles\Module.Core.3.cpp.obj	1		
Error	LNK2001	unresolved external symbol "wchar_t * GInternalProjectName" (?GInternalProjectName@@3PA_WA)	CmdLink	F:\UnrealEngine\Engine\Intermediate\ProjectFiles\Module.Core.8.cpp.obj	1		
Error	LNK2001	unresolved external symbol "wchar_t * GInternalProjectName" (?GInternalProjectName@@3PA_WA)	CmdLink	F:\UnrealEngine\Engine\Intermediate\ProjectFiles\Module.Core.9.cpp.obj	1		
Error	LNK2001	unresolved external symbol "wchar_t * GInternalProjectName" (?GInternalProjectName@@3PA_WA)	CmdLink	F:\UnrealEngine\Engine\Intermediate\ProjectFiles\Module.Core.10.cpp.obj	1		
Error	MSB3073	The command "..\..\Build\BatchFiles\Build.bat StateGraphTests Win64 Development -WaitMutex -FromMsBuild -architecture=x64 -Mode=Test" exited with code 6.	StateGraphTests	F:\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets	44		
Error	MSB3073	The command "..\..\Build\BatchFiles\Build.bat CmdLink Win64 Development -WaitMutex -FromMsBuild -architecture=x64" exited with code 6.	CmdLink	F:\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets	44		
Error	MSB3073	The command "..\..\Build\BatchFiles\Build.bat AutoRTFMTests Win64 Development -Project="F:\UnrealEngine\Engine\Programs\AutoRTFMTests\AutoRTFMTests.uproject" -WaitMutex -FromMsBuild -architecture=x64" exited with code 6.	AutoRTFMTests	F:\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets	44		
Error	LNK1106	invalid file or disk full: cannot seek to 0xBD3	StateGraphTests	F:\UnrealEngine\Engine\Intermediate\Intermediate\Build\Win64\x64\StateGraphTests\Development\LowLevelTestsRunner\CoreUObjectUtilities.cpp.obj	1	

Anybody that can point me in the right direction?

Trying this now:

Will update when the build is done.

EDIT: (2hrs later)
It’s still building, seems to take a lot of time this time around.

EDIT: (4hrs later)
Still building…

EDIT: (5hrs later)
Can’t even remember when a build took this long (only to hope it will be successful)

Errors:

Severity	Code	Description	Project	File	Line	Suppression State	Details
Error	MSB3073	The command "..\..\Build\BatchFiles\Build.bat WebTests Win64 Development -WaitMutex -FromMsBuild -architecture=x64 -Mode=Test" exited with code 6.	WebTests	F:\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets	44		
Error	MSB3073	The command "..\..\Build\BatchFiles\Build.bat AutoRTFMTests Win64 Development -Project="F:\UnrealEngine\Engine\Programs\AutoRTFMTests\AutoRTFMTests.uproject" -WaitMutex -FromMsBuild -architecture=x64" exited with code 6.	AutoRTFMTests	F:\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets	44		
Error	C1001	Internal compiler error.	WebTests	F:\UnrealEngine\Engine\Source\Runtime\Core\Public\Templates\Function.h	404		
Error (active)	E1696	cannot open source file "ProjectDescriptor.h"	CmdLink	F:\UnrealEngine\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp	67		
Error (active)	E1696	cannot open source file "Interfaces/IProjectManager.h"	CmdLink	F:\UnrealEngine\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp	68		
Error (active)	E1696	cannot open source file "Interfaces/IPluginManager.h"	CmdLink	F:\UnrealEngine\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp	66		

Warnings:

Severity	Code	Description	Project	File	Line	Suppression State	Details
Warning (active)	MSB3277	Found conflicts between different versions of "Microsoft.CodeAnalysis" that could not be resolved.
There was a conflict between "Microsoft.CodeAnalysis, Version=3.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".
    "Microsoft.CodeAnalysis, Version=3.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" was chosen because it was primary and "Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" was not.
    References which depend on "Microsoft.CodeAnalysis, Version=3.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" [C:\Users\***\.nuget\packages\microsoft.codeanalysis.common\3.11.0\lib\netcoreapp3.1\Microsoft.CodeAnalysis.dll].
        C:\Users\***\.nuget\packages\microsoft.codeanalysis.common\3.11.0\lib\netcoreapp3.1\Microsoft.CodeAnalysis.dll
          Project file item includes which caused reference "C:\Users\***\.nuget\packages\microsoft.codeanalysis.common\3.11.0\lib\netcoreapp3.1\Microsoft.CodeAnalysis.dll".
            C:\Users\***\.nuget\packages\microsoft.codeanalysis.common\3.11.0\lib\netcoreapp3.1\Microsoft.CodeAnalysis.dll
    References which depend on or have been unified to "Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" [].
        F:\UnrealEngine\Engine\Binaries\DotNET\AutomationTool\AutomationUtils\UnrealBuildTool.dll
          Project file item includes which caused reference "F:\UnrealEngine\Engine\Binaries\DotNET\AutomationTool\AutomationUtils\UnrealBuildTool.dll".
            F:\UnrealEngine\Engine\Binaries\DotNET\AutomationTool\AutomationUtils\AutomationUtils.Automation.dll
            F:\UnrealEngine\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\Android\Android.Automation.dll	UnrealAndroidFileTool	F:\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets	2401		
Warning (active)	MSB3277	Found conflicts between different versions of "Microsoft.CodeAnalysis.CSharp" that could not be resolved.
There was a conflict between "Microsoft.CodeAnalysis.CSharp, Version=3.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "Microsoft.CodeAnalysis.CSharp, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".
    "Microsoft.CodeAnalysis.CSharp, Version=3.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" was chosen because it was primary and "Microsoft.CodeAnalysis.CSharp, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" was not.
    References which depend on "Microsoft.CodeAnalysis.CSharp, Version=3.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" [C:\Users\***\.nuget\packages\microsoft.codeanalysis.csharp\3.11.0\lib\netcoreapp3.1\Microsoft.CodeAnalysis.CSharp.dll].
        C:\Users\***.nuget\packages\microsoft.codeanalysis.csharp\3.11.0\lib\netcoreapp3.1\Microsoft.CodeAnalysis.CSharp.dll
          Project file item includes which caused reference "C:\Users\***\.nuget\packages\microsoft.codeanalysis.csharp\3.11.0\lib\netcoreapp3.1\Microsoft.CodeAnalysis.CSharp.dll".
            C:\Users\***\.nuget\packages\microsoft.codeanalysis.csharp\3.11.0\lib\netcoreapp3.1\Microsoft.CodeAnalysis.CSharp.dll
    References which depend on or have been unified to "Microsoft.CodeAnalysis.CSharp, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" [].
        F:\UnrealEngine\Engine\Binaries\DotNET\AutomationTool\AutomationUtils\UnrealBuildTool.dll
          Project file item includes which caused reference "F:\UnrealEngine\Engine\Binaries\DotNET\AutomationTool\AutomationUtils\UnrealBuildTool.dll".
            F:\UnrealEngine\Engine\Binaries\DotNET\AutomationTool\AutomationUtils\AutomationUtils.Automation.dll
            F:\UnrealEngine\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\Android\Android.Automation.dll	UnrealAndroidFileTool	F:\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets	2401		

:frowning: build took 6-ish hours

Got it working now, I tried to take note of what worked and what didn’t.

Ill try to write it all up to see if it can help others. And post a link later.

Were is the writeup at? Did you ever make it?

@Equ1no0x

He fixed the issue on the first attempt by applying the patch mentioned in the linked thread.
This was caused by the linker (fixable problem inside of Unreal Build Tool).

The 2nd issue he got is entirely different thing though.
Error C1001 Internal compiler error. indicates that compiler (MSVC) has crashed.
Not sure if it was related to inability to open the files (see other errors)
but this is generally something that is impossible to fix on our end, unless you get a different compiler version (newer one) or find and change the code that is causing the crash.

You better off creating a new forum thread at this point. This was probably a very specific crash.