Promoted and master branch for Linux are broken

490/667] Compile Module.MessagingDebugger.cpp
In file included from /home/blaize/proj/unreal/UnrealEngine_promoted/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor/Development/FriendsAndChat/Module.FriendsAndChat.cpp:2:
In file included from /home/blaize/proj/unreal/UnrealEngine_promoted/Engine/Source/Developer/FriendsAndChat/Private/FriendsAndChatPrivatePCH.h:17:
Developer/FriendsAndChat/Public/FriendsAndChat.h(15,10) : fatal error: ‘OnlineSubsystemMcp.h’ file not found
#include “OnlineSubsystemMcp.h”
^
1 error generated.
[491/667] Compile Module.DeviceManager.cpp
[492/667] Compile FriendsAndChat.generated.cpp
[493/667] Compile Module.SubversionSourceControl.cpp
In file included from /home/blaize/proj/unreal/UnrealEngine_promoted/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/Inc/FriendsAndChat/FriendsAndChat.generated.cpp:8:
In file included from Developer/FriendsAndChat/Private/FriendsAndChatPrivatePCH.h:17:
Developer/FriendsAndChat/Public/FriendsAndChat.h(15,10) : fatal error: ‘OnlineSubsystemMcp.h’ file not found
#include “OnlineSubsystemMcp.h”
^
1 error generated.

Still broken and looks like it will be over christmas. Someone’s left files out of their commit.

Can confirm it’s broken on Windows too.

Still broken today

I’ve got some bad (or possibly good) news I think. I’ve just got this same build to build (last modified 19th Dec). I was playing with buildbot and looked at the way they did a full git “refresh”.

 # Cleans the working tree by recursively removing files that are not under version 
 # control, starting from the current directory.
 # -f for force, -d remove untracked directories in addition to untracked files, 
 # -x don’t use the standard ignore rules read from .gitignore
 git clean -f -f -d -x
 git fetch -t https://github.com/EpicGames/UnrealEngine.git master
 git branch -M master

So if someone wants to try those steps and see whether things work that would be good.

If that fixes the problem for others then one of the following things is probably happening:

  1. We’re not cleaning our git repos properly… i.e. it’s our fault cause we don’t know git well enough, or
  2. The build isn’t cleaning up after itself properly (their depency tree is broken somewhere), or
  3. all of the above.

I should add that if the problem is number 1. then I owe the dudes at Epic a bit of an apology :slight_smile:

Second can happen too. Remember that build system itself sometimes may undergo changes (e.g. a continuous effort to make build times faster) so if in doubt, just delete Intermediate folder altogether.