Opened 3 years ago

Last modified 2 years ago

#56629 new enhancement

Feature request: make cxx_stdlib conflicts more verbose

Reported by: majoc-at-astro (majoc-at-astro) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.5.2
Keywords: haspatch Cc: mojca (Mojca Miklavec)
Port:

Description

When there's a cxx_stdlib conflict, a non-verbose log fails mysteriously; please see comment:ticket:56551:17 for an example. A verbose log will be excessively large, but will contain something of the form:

$portname is using libstdc++ (this installation is configured to use libc++)

May I suggest that this be present in the non-verbose output as well? I enclose an untested and extremely tentative patch on macports.tcl, which changes ui_info to ui_error in the statement issuing this message; please feel free to use ui_warn instead if that's more appropriate.

Apologies for errors, in particular not knowing who to CC this to.

Attachments (1)

macports.tcl_patch (663 bytes) - added by majoc-at-astro (majoc-at-astro) 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by majoc-at-astro (majoc-at-astro)

Attachment: macports.tcl_patch added

comment:1 Changed 2 years ago by mojca (Mojca Miklavec)

May I please ask you to submit a pull request to macports-base? I'm just randomly browsing through tickets and I'm not senior enough to be able to tell whether there would be any undesirable side-effects. Opening a PR will give this patch way more visibility and the right people will look into it.

If you need to decide whom to CC for base-related patches, you'll get the best idea by looking at git history (the number of people involved is very limited).

comment:2 Changed 2 years ago by mojca (Mojca Miklavec)

Cc: mojca added
Note: See TracTickets for help on using tickets.