Skip to content

Instantly share code, notes, and snippets.

@mrvdb
Last active June 2, 2016 10:14
Show Gist options
  • Save mrvdb/c32e913517703c52408a681b8bf33b0a to your computer and use it in GitHub Desktop.
Save mrvdb/c32e913517703c52408a681b8bf33b0a to your computer and use it in GitHub Desktop.
Odd compilation errors

First error:

make[2]: Entering directory '/media/data/src/emacs/emacs/lisp'
loadAppSettings: Could not parse file as YAML: Directories
echo: InvalidYaml (Just (YamlException "Yaml file not found: Directories"))
Makefile:181: recipe for target 'loaddefs.el' failed

Resolved by commenting out lisp/Makefile:181

@echo Directories for loaddefs: ${SUBDIRS_ALMOST}

Second error:

make[2]: Leaving directory '/media/data/src/emacs/emacs/admin/grammars'
echo: InvalidYaml (Just (YamlParseException {yamlProblem = "control characters are not allowed", yamlContext = "", yamlProblemMark = YamlMark {yamlIndex = 0, yamlLine = 0, yamlColumn = 0}}))
make[2]: Entering directory '/media/data/src/emacs/emacs/lisp'
Makefile:290: *** target pattern contains no '%'.  Stop.

Resolved by commenting out lisp/Makefile:300

echo "$${el}c"; \
@mrvdb
Copy link
Author

mrvdb commented Jun 2, 2016

This turned out to be a rogue echo executable (haskell binary) somewhere in my PATH. PEBKAC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment