rattler-build icon indicating copy to clipboard operation
rattler-build copied to clipboard

Automatically give a tip for common issues

Open wolfv opened this issue 1 year ago • 1 comments

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.

wolfv avatar Apr 07 '24 08:04 wolfv

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

baszalmstra avatar Apr 07 '24 09:04 baszalmstra