Opened 7 years ago

Closed 6 weeks ago

#54388 closed defect (wontfix)

port -q should suppress warnings

Reported by: mf2k (Frank Schima) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.4.99
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port:

Description

Warnings should be suppressed when use using port -q. See below:

$ port info --maintainers coinor-liblemon
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
maintainers: david.weese@fu-berlin.de, alpar@cs.elte.hu

So let's use -q:

$ port -q info --maintainers coinor-liblemon
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
david.weese@fu-berlin.de, alpar@cs.elte.hu

Change History (3)

comment:1 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added

It appears that is by design:

# ui_options(ports_quiet) - If set, don't output "standard messages"

-q only works for notice/info messages

So, either the compiler warning would have to be change to "info" or -q would have to change to include "warnings"

comment:2 Changed 7 years ago by mf2k (Frank Schima)

IMHO warnings should be suppressed too because -q would normally be used for scripting.

comment:3 Changed 6 weeks ago by mf2k (Frank Schima)

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.