EC1128

2 minute readReference

Synopsis

ERROR EC1128: History file path references non-existent or read-only directory: [path]

Description

This error indicates that the directory in which emake will create the history file at the end of the build is non-existent or read-only. By default emake creates the history file emake.data in the current working directory at the time emake is invoked, but the filename and path may be altered via the --emake-historyfile command-line option.

Reasons

This error will occur when --emake-historyfile was used but specifies a path that does not exist, or specifies a path that is not writable by the user that invoked emake. The error will also occur when --emake-historyfile was not used, but the directory in which emake was invoked is not writable by the user that invoke emake.

This error may also occur occassionally on some versions of Windows when the system is under heavy load, particularly if there are multiple emake instances using the same directory to store their history files, due to a defect in the GetTempFileName system function.

Fixes

Verify that the directory containing the history file exists and is writable by the user that invokes emake. For example, if the user specifies --emake-historyfile=/net/home/build/emake.data, then the directory /net/home/build must exist and must be writable by the user. If --emake-historyfile was not used, verify that the directory in which emake was invoked is writable by the user.

If you are running emake on Windows 7 or Windows Server 2008, ensure that you have applied the hotfix described in Microsft KB 982613.

If you run many emake instances simultaneously, using the same directory to store the emake history file, consider storing the history files instead in separate directories for each emake instance.