I'm getting the following weird error when compiling MikTeX 2.9-2016-06-27 on OS X 10.11:
[ 25%] Generating ../../include/miktex/mf.defaults.h cd /path/to/miktex/work/build/include/miktex && /path/to/miktex/work/build/binlib/cfg --print-classes /path/to/miktex/work/build/Admin/Defaults/mf.defaults > mf.defaults.h cfg(85707,0x7fff74133000) malloc: *** mach_vm_map(size=140322684301312) failed (error code=3) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug *** std::bad_alloc make[2]: *** [include/miktex/mf.defaults.h] Error 1 make[2]: *** Deleting file `include/miktex/mf.defaults.h' make[2]: Leaving directory `/path/to/miktex/work/build' make[1]: *** [Admin/Defaults/CMakeFiles/gen-defaults.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
(No patches applied to the source code.)
If I run the commant manually, here's what I get (I probably have to avoid stripping the debug info from MiKTeX):
Please check the input file: /path/to/miktex/work/build/Admin/Defaults/mf.defaults
It should loook exactly like this:
The file looks the same.