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

Bug 440446

Summary: dev-util/valgrind-3.7.0-r4: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Anthony Basile <blueness>
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:58:50 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package dev-util/valgrind-3.7.0-r4, the following elog messages are displayed:

 * Valgrind will not work if glibc does not have debug symbols.
 * To fix this you can add splitdebug to FEATURES in make.conf
 * and remerge glibc.  See:
 * https://bugs.gentoo.org/show_bug.cgi?id=214065
 * https://bugs.gentoo.org/show_bug.cgi?id=274771
 * https://bugs.gentoo.org/show_bug.cgi?id=388703

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'dev-util/valgrind'; then

See the tracker bug 440214 for more details.
Comment 1 Anthony Basile gentoo-dev 2013-06-18 00:23:49 UTC
I'm not sure this is such a good idea.  I don't see a problem with repeating this message each time you install valgrind.