I'm trying to build latest TextMate in master. Previously I was able to build TextMate but not anymore.
First running "./configure" results in this error:
ninja: error: build.ninja:8: loading '/Users/jacob/build/TextMate/build.ninja': No such file or directory include $builddir/build.ninja ^ near here
It's a minor error since it works anyway. Then when running "ninja" I get this error:
$ ninja [6/1174] Generate test ‘/Users/jacob/build/TextMate/Frameworks/text/test_text.cc’… FAILED: bin/gen_test Frameworks/text/tests/t_case.cc Frameworks/text/tests/t_ctype.cc Frameworks/text/tests/t_decode.cc Frameworks/text/tests/t_encode.cc Frameworks/text/tests/t_format.cc Frameworks/text/tests/t_indent.cc Frameworks/text/tests/t_ranker.cc Frameworks/text/tests/t_split.cc Frameworks/text/tests/t_tokenize.cc Frameworks/text/tests/t_trim.cc Frameworks/text/tests/t_utf8.cc Frameworks/text/tests/t_wrap.cc > /Users/jacob/build/TextMate/Frameworks/text/test_text.cc~ && mv /Users/jacob/build/TextMate/Frameworks/text/test_text.cc~ /Users/jacob/build/TextMate/Frameworks/text/test_text.cc bin/gen_test:14:in `block (2 levels) in <main>': invalid byte sequence in US-ASCII (ArgumentError) from bin/gen_test:13:in `foreach' from bin/gen_test:13:in `each_line' from bin/gen_test:13:in `block in <main>' from bin/gen_test:8:in `each' from bin/gen_test:8:in `<main>' [6/1174] Compile ‘Shared/PCH/prelude.mm’… ninja: build stopped: subcommand failed.
Adding a magic encoding comment to "bin/gen_test" does not help.