What went wrong, and how do I fix it?
me@host:~/Programs/Unreal4/UnrealEngine$ ./Setup.sh
Registering git hooks... (this will override existing ones!)
Attempting installation of missing package: libmono-microsoft-build-tasks-v4.0-4.0-cil
+ sudo apt-get install -y libmono-microsoft-build-tasks-v4.0-4.0-cil
[sudo] password for me:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libmono-microsoft-build-tasks-v4.0-4.0-cil
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 66.9 kB of archives.
After this operation, 438 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libmono-microsoft-build-tasks-v4.0-4.0-cil all 3.2.8+dfsg-4ubuntu1 [66.9 kB]
Fetched 66.9 kB in 0s (114 kB/s)
Selecting previously unselected package libmono-microsoft-build-tasks-v4.0-4.0-cil.
(Reading database ... 248066 files and directories currently installed.)
Preparing to unpack .../libmono-microsoft-build-tasks-v4.0-4.0-cil_3.2.8+dfsg-4ubuntu1_all.deb ...
Unpacking libmono-microsoft-build-tasks-v4.0-4.0-cil (3.2.8+dfsg-4ubuntu1) ...
Setting up libmono-microsoft-build-tasks-v4.0-4.0-cil (3.2.8+dfsg-4ubuntu1) ...
+ set +x
Attempting installation of missing package: libqt4-dev
+ sudo apt-get install -y libqt4-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libqt4-dev-bin libqt4-opengl-dev libqt4-qt3support libqtwebkit-dev
qt4-linguist-tools qt4-qmake
Suggested packages:
firebird-dev libmysqlclient-dev libpq-dev libsqlite0-dev libsqlite3-dev
qt4-dev-tools qt4-doc unixodbc-dev
The following NEW packages will be installed:
libqt4-dev libqt4-dev-bin libqt4-opengl-dev libqt4-qt3support
libqtwebkit-dev qt4-linguist-tools qt4-qmake
0 upgraded, 7 newly installed, 0 to remove and 11 not upgraded.
Need to get 5,609 kB of archives.
After this operation, 31.7 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libqt4-qt3support amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 [1,029 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/main libqt4-dev-bin amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 [1,599 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/main qt4-linguist-tools amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 [827 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty/main qt4-qmake amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 [1,230 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/main libqt4-dev amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 [830 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty/main libqt4-opengl-dev amd64 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 [22.8 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty/main libqtwebkit-dev amd64 2.3.2-0ubuntu7 [70.1 kB]
Fetched 5,609 kB in 4s (1,225 kB/s)
Selecting previously unselected package libqt4-qt3support:amd64.
(Reading database ... 248074 files and directories currently installed.)
Preparing to unpack .../libqt4-qt3support_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4_amd64.deb ...
Unpacking libqt4-qt3support:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Selecting previously unselected package libqt4-dev-bin.
Preparing to unpack .../libqt4-dev-bin_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4_amd64.deb ...
Unpacking libqt4-dev-bin (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Selecting previously unselected package qt4-linguist-tools.
Preparing to unpack .../qt4-linguist-tools_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4_amd64.deb ...
Unpacking qt4-linguist-tools (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Selecting previously unselected package qt4-qmake.
Preparing to unpack .../qt4-qmake_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4_amd64.deb ...
Unpacking qt4-qmake (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Selecting previously unselected package libqt4-dev.
Preparing to unpack .../libqt4-dev_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4_amd64.deb ...
Unpacking libqt4-dev (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Selecting previously unselected package libqt4-opengl-dev.
Preparing to unpack .../libqt4-opengl-dev_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4_amd64.deb ...
Unpacking libqt4-opengl-dev (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Selecting previously unselected package libqtwebkit-dev.
Preparing to unpack .../libqtwebkit-dev_2.3.2-0ubuntu7_amd64.deb ...
Unpacking libqtwebkit-dev (2.3.2-0ubuntu7) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libqt4-qt3support:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Setting up libqt4-dev-bin (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Setting up qt4-linguist-tools (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Setting up qt4-qmake (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Setting up libqt4-dev (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Setting up libqt4-opengl-dev (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
Setting up libqtwebkit-dev (2.3.2-0ubuntu7) ...
Processing triggers for libc-bin (2.19-0ubuntu6.5) ...
+ set +x
Github build
Checking / downloading the latest archives
Checking dependencies (excluding Win32, Win64, Mac, HTML5, Android)...
Received 1754/16549 files (207.1/2098.1mb; 4.73mb/s; 9%)...Stacktrace:
Native stacktrace:
mono() [0x4b73d8]
mono() [0x50f13b]
mono() [0x423d22]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f0717622340]
Debug info from gdb:
Received 1761/16549 files (210.2/2098.1mb; 4.77mb/s; 10%)...Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No threads.
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
./Setup.sh: line 73: 8287 Aborted (core dumped) mono Binaries/DotNET/GitDependencies.exe --prompt "$@"
Fixing inconsistent case in filenames.
Content/Editor/Slate/Old/Docking/ContentBorder.png -> ContentBorder.PNG
Content/Editor/Slate/Old/AnimEditor/NotifyTrackBackground.png -> NotifyTrackBackground.PNG
Content/Editor/Slate/Old/Graph/NodeBackground.png -> NodeBackground.PNG
Content/Editor/Slate/Old/Graph/NodeShadowSelected.png -> NodeShadowSelected.PNG
Content/Editor/Slate/Old/Graph/GraphBackground.png -> GraphBackground.PNG
Content/Editor/Slate/Old/Graph/GraphBackground_Stone.png -> GraphBackground_Stone.PNG
Content/Editor/Slate/Old/Graph/Arrow.png -> Arrow.PNG
Content/Editor/Slate/Old/Graph/GraphBackground_Slate.png -> GraphBackground_Slate.PNG
Content/Editor/Slate/Old/DebugBorder.png -> DebugBorder.PNG
Content/Editor/Slate/Old/Border.png -> Border.PNG
Content/Editor/Slate/Old/ComboArrow.png -> ComboArrow.PNG
Content/Editor/Slate/Common/ProgressBar_Marquee.png -> ProgressBar_Marquee.PNG
Content/Editor/Slate/Common/RoundedSelection_16x.png -> RoundedSelection_16x.PNG
Content/Editor/Slate/Common/Spinbox.png -> Spinbox.PNG
Content/Editor/Slate/Common/SearchGlass.png -> SearchGlass.PNG
Content/Editor/Slate/Common/HeaderSplitterGrip.png -> HeaderSplitterGrip.PNG
Content/Slate/Old/Border.png -> Border.PNG
Content/Slate/Common/ProgressBar_Marquee.png -> ProgressBar_Marquee.PNG
Content/Slate/Common/DebugBorder.png -> DebugBorder.PNG
Content/Slate/Common/RoundedSelection_16x.png -> RoundedSelection_16x.PNG
Content/Slate/Common/Spinbox.png -> Spinbox.PNG
Content/Slate/Common/SearchGlass.png -> SearchGlass.PNG
Content/Slate/Common/HeaderSplitterGrip.png -> HeaderSplitterGrip.PNG
Building ThirdParty libraries
If you don't see SUCCESS message in the end, then building did not finish properly.
In that case, take a look into /home/me/Programs/Unreal4/UnrealEngine/Engine/Build/BatchFiles/Linux/BuildThirdParty.log for details.
==> BuildLND
********** SUCCESS ****************