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

Automatically give a tip for common issues #774

Open
wolfv opened this issue Apr 7, 2024 · 1 comment
Open

Automatically give a tip for common issues #774

wolfv opened this issue Apr 7, 2024 · 1 comment

Comments

@wolfv
Copy link
Member

wolfv commented Apr 7, 2024

We have a bunch of "common" issues in the conda-forge knowledge base. For example, on macOS one sometimes needs to -D_LIBCPP_DISABLE_AVAILABILITY.

We could scan the logs and if we see an error like:

 │ │ $BUILD_PREFIX/bin/../include/c++/v1/__format/format_parse_context.h:93:31: error: 'basic_format_parse_context<wchar_t>' is unavailable
 │ │    93 | using wformat_parse_context = basic_format_parse_context<wchar_t>;
 │ │       |                               ^
 │ │ $BUILD_PREFIX/bin/../include/c++/v1/__format/format_parse_context.h:26:56: note: 'basic_format_parse_context<wchar_t>' has been explicitly marked unavailable here
 │ │    26 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT basic_format_parse_context {

Automatically add a tip that mentions this.

@baszalmstra
Copy link
Contributor

baszalmstra commented Apr 7, 2024

There are also a few common ones with visual studio build tools missing!

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

2 participants