Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440412

Summary: dev-lang/tcl-8.5.10-r1: some elog messages should only be shown right after the relevant use flag is enabled.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: TCL/TK Project <tcltk>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 10:50:24 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package dev-lang/tcl-8.5.10-r1, the following elog messages are displayed:

 * PLEASE NOTE: You are compiling tcl-8.5.10 with
 * threading enabled.
 * Threading is not supported by all applications
 * that compile against tcl. You use threading at
 * your own discretion.

Such messages should only be displayed when the package is a new install, or when the relevant USE flag is not enabled in the current installed version.
These situations can be checked in the ebuild as follows:

if use threads && ! has_version 'dev-lang/tcl[threads]'; then

See the tracker bug 440214 for more details.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2012-11-29 13:55:25 UTC
No, we will always warn to tell people that this is a dangerous thing to do and they should reconsider their decision.