[erlang-bugs] Problem with _create_dirs and erl_compile_flags.h

Anthony Ramine <>
Sat Oct 19 13:13:12 CEST 2013


Hello,

Johan Vikman (Cc'd) reported a bug on kerl [1] when building R16B02 and I can reproduce it on latest maint too. Apparently there is a problem in one of the makefiles where `x86_64-apple-darwin12.5.0/opt/plain` (e.g. where binary objects are built) does not exist prior to calling `utils/make_compiler_flags` to produce the `erl_compile_flags.h` file.

	can't open x86_64-apple-darwin12.5.0/opt/plain/erl_compile_flags.h for writing at utils/make_compiler_flags line 65.

I don't understand how the `_create_dirs` machinery works so I report the bug here.

Regards,

[1] https://github.com/spawngrid/kerl/issues/51

-- 
Anthony Ramine



More information about the erlang-bugs mailing list