EC1215

Synopsis

WARNING EC1215: Failed to save slot key '[path]': …

Description

The emake client failed to write to a “key” file in a cache slot directory. The cache was not updated.

The final portion of the error message is provided by the operating system, and indicates what exactly went wrong.

Reasons

The emake client maintains an “asset directory”, which provides a memory of past builds to help future builds. Certain subdirectories of the asset directory correspond to cache “slots” used by Parse Avoidance and JobCache.

Because emake wanted to update a cache slot, it created a new temporary directory to represent the new state of that slot. And within that directory emake opened a “key” file. It then tried to write to that “key” file the various factors used to identify that slot: normalized forms of the user environment, working directory, and command line of the command to be entered into the cache. But a write to this file failed.

The most likely reason would be lack of disk space, but see the trailing portion of the error message for the specific error reported by the operation system.

Fixes

If the disk is full, then free up disk space or move the asset directory to a different disk with --emake-assetdir=…​.

Fixes for other kinds of problems would depend upon the error message reported by the operating system.