Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiledb fails with localized make output #87

Open
RPCMoritz opened this issue Oct 19, 2019 · 2 comments
Open

compiledb fails with localized make output #87

RPCMoritz opened this issue Oct 19, 2019 · 2 comments

Comments

@RPCMoritz
Copy link

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.

@michael-schwarz
Copy link

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).

@nickdiego
Copy link
Owner

nickdiego commented Feb 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants