On 2015-03-09 12:12, Allan Odgaard wrote:
Is it reproducible?
You can delete build.ninja from your project folder and run ./configure to have it re-generated. It does seem like you changed build destination folder, so it might have been a one-time error related to this switch, though not sure why.
Deleting build.ninja solved the problem.
What does running ‘locale’ (in a terminal) return?
If your LC_CTYPE is not set to UTF-8 then try run:
LC_CTYPE="en_US.UTF-8" ninja
It was not set, setting it helped. But now I get new errors, related to the tests. I get a lot of errors for a bunch of "test_" files like this:
[7/466] Compile ‘build/Frameworks/regexp/test_regexp.cc’… FAILED: xcrun clang++ -include build/Shared/PCH/prelude.cc -c -pipe -fPIC -gdwarf-2 -m64 -mmacosx-version-min=10.7 -funsigned-char -D'NULL_STR="\uFFFF"' -DREST_API='"https://api.textmate.org"' -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch -IShared/include -fcolor-diagnostics -DNDEBUG -Os -fvisibility=hidden -std=c++1y -stdlib=libc++ -I"/usr/local/include" -o build/Frameworks/regexp/test_regexp.o -MMD -MF build/Frameworks/regexp/test_regexp.o.d -Ibuild/include build/Frameworks/regexp/test_regexp.cc build/Frameworks/regexp/test_regexp.cc:1:1: error: expected unqualified-id "#include <regexp/find.h>\n" ^ 1 error generated. [7/466] Compile ‘Frameworks/scope/src/parse.cc’… ninja: build stopped: subcommand failed.