compiledb
compiledb copied to clipboard
compiledb fails with localized make output
The parsing logic appears to be dependent on english-language output. (e.g. "Entering directory ..."). This is not given on localized installations, therefore the parsing will fail, as files are not being correctly found.
To mitigate this, the compiledb make-wrapper should prepend "LC_ALL=C.UTF-8" to the make call, while the documentation should suggest using a supported locale, and a warning should be printed, when compiledb runs in an unsupported locale in --parse/std-in mode.
We had the same issue, and it took us quite a while to figure out why it was working on our local machines, but not on our servers that have the language set to German.
It would be really helpful to prominently document this somewhere (or even fix it, but that probably requires more work).
As you probably noticed, nowadays I'm not actively maintaining this (due to lack of time). But please feel free to send PRs and I'll review them as the time permits. thanks