Error during installation

Checking / downloading the latest archives

Checking dependencies (excluding Win32, Win64, Mac, Android)…

Unhandled Exception:

System.IO.FileNotFoundException: Could not find file “/etc/localtime”

File name: ‘/etc/localtime’

at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x41a1e890 + 0x00687> in :0

at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x41a3a720 + 0x0004b> in :0

at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) <0x41a3a630 + 0x00037> in :0

at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x40ff5110 + 0x00033> in :0

at System.TimeZoneInfo.CreateLocal () <0x40ff4dd0 + 0x00197> in :0

at System.TimeZoneInfo.get_Local () <0x40ff4d10 + 0x00023> in :0

at System.DateTime.ToLocalTime (Boolean throwOnOverflow) <0x40ff4ae0 + 0x0005f> in :0

at System.DateTime.ToLocalTime () <0x40ff4ab0 + 0x0000f> in :0

at System.DateTime.FromFileTime (Int64 fileTime) <0x40ff47f0 + 0x0002b> in :0

at System.IO.File.GetLastWriteTime (System.String path) <0x40ff4680 + 0x00097> in :0

at System.IO.File.GetLastWriteTimeUtc (System.String path) <0x40ff4630 + 0x0001b> in :0

at GitDependencies.Program.UpdateWorkingTree (Boolean bDryRun, System.String RootPath, System.Collections.Generic.HashSet`1 ExcludeFolders, Int32 NumThreads, Int32 MaxRetries, System.Uri Proxy, OverwriteMode Overwrite, System.String CachePath, Single CacheSizeMultiplier, Int32 CacheDays) <0x41a3fe80 + 0x00a5b> in :0

at GitDependencies.Program.Main (System.String[] Args) <0x41a2fc60 + 0x00fc7> in :0

[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not find file “/etc/localtime”
File name: ‘/etc/localtime’

at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x41a1e890 + 0x00687> in :0

at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x41a3a720 + 0x0004b> in :0

at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) <0x41a3a630 + 0x00037> in :0

at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x40ff5110 + 0x00033> in :0

at System.TimeZoneInfo.CreateLocal () <0x40ff4dd0 + 0x00197> in :0

at System.TimeZoneInfo.get_Local () <0x40ff4d10 + 0x00023> in :0

at System.DateTime.ToLocalTime (Boolean throwOnOverflow) <0x40ff4ae0 + 0x0005f> in :0

at System.DateTime.ToLocalTime () <0x40ff4ab0 + 0x0000f> in :0

at System.DateTime.FromFileTime (Int64 fileTime) <0x40ff47f0 + 0x0002b> in :0

at System.IO.File.GetLastWriteTime (System.String path) <0x40ff4680 + 0x00097> in :0

at System.IO.File.GetLastWriteTimeUtc (System.String path) <0x40ff4630 + 0x0001b> in :0

at GitDependencies.Program.UpdateWorkingTree (Boolean bDryRun, System.String RootPath, System.Collections.Generic.HashSet`1 ExcludeFolders, Int32 NumThreads, Int32 MaxRetries, System.Uri Proxy, OverwriteMode Overwrite, System.String CachePath, Single CacheSizeMultiplier, Int32 CacheDays) <0x41a3fe80 + 0x00a5b> in :0

at GitDependencies.Program.Main (System.String[] Args) <0x41a2fc60 + 0x00fc7> in :0

Result: 1

What is the reason? How to fix?

$ ls -l /etc/localtime

lrwxrwxrwx 1 root root 33 ноя 29 01:02 /etc/localtime → /ust/share/zoneinfo/Europe/Moscow

(translated by google translate) Не знаю, поймёте ли вы русский.

Hi Alexandr,

Which version of the engine are you trying to download and install? Are you trying to get a binary version through the Launcher, or are you building from source via GitHub? Can you attach the log this comes from? Thank you!

Putting on these instructions: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums
That is to GitHub. The version I do not know. Where logs have to be?

Hey AlexandrVion-

What point in the installation did you encounter this error? Was this during ./Setup.sh or ./GenerateProjectFiles.sh or another point in the process? When you cloned the engine, did you specify an engine version ($ git clone [url] -b [ specified version])?

./Setup.sh and ./GenerateProjectFiles.sh. Uploaded zip release branches.

Здесь кто ни буть по Русски говорит?
(Загружал zip reliase ветки)

Are you saying that you were able to run both Setup and Generate Project Files? Did the error occur while GenerateProjectFiles was running? Can you list the install steps you were able to get through before the error and which step you were on when the error occurred?

An error occurred during the execution of ./Setup.sh, after the files have been downloaded (~ 2.5GB)

What version of clang and mono are you using? If you’re using the “Building On Linux” wiki page, do you have the prerequisites installed already before trying to run Setup.sh?

$ mono --version Mono JIT compiler
version 4.2.1 (Stable
4.2.1.102/6dd2d0d Sun Nov 29 17:03:57 UTC 2015) Copyright (C) 2002-2014
Novell, Inc, Xamarin Inc and
Contributors. www.mono-project.com

$ clang -v clang version 3.7.0
(tags/RELEASE_370/final) Target:
x86_64-unknown-linux-gnu

Some packages do not have any aur not in the official repositories, namely:
mono-gmcs
libmono-corlib4.0-cil
mono-xbuild
libmono-system-data-datasetextensions4.0-cil mono-dmcs
build-essential
libmono-system-web-extensions4.0-cil libmono-system-xml-linq4.0-cil libmono-system-management4.0-cil

This seems to be a bug inside mono. Try to reproduce it with a minimal program given here https://bugzilla.xamarin.com/show_bug.cgi?id=30360 and report to Xamarin.

I understand Russian if you’re more comfortable using it to describe the details; however for the sake of keeping your post helpful for everyone I suggest sticking to English on AnswerHub as a rule.

Thank you, the problem is resolved.