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

Bug 433459

Summary: media-sound/clementine binary prints debug messages to terminal
Product: Gentoo Linux Reporter: Michael Niggli <m.niggli>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: enhancement Keywords: EBUILD, PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: modified clementine-1.0.1-r2.ebuild

Description Michael Niggli 2012-08-30 19:53:20 UTC
Clementine prints debug messages to the terminal it was run from. These would be disabled when building with CMAKE_BUILD_TYPE=Release, but the corresponding check fails to trigger due to using the "Gentoo" build type.

It would be nice if those messages could be disabled just like they would be in a regular release build (maybe conditioned on the absence of the debug use flag this package currently does not have?).

Reproducible: Always

Steps to Reproduce:
1. install clementine
2. run clementine from a terminal (or look at ~/.xsession-errors)
3. see lots of debug messages
Actual Results:  
There are lots of unnecessary debug messages.

Expected Results:  
No debug messags.
Comment 1 Michael Niggli 2012-08-30 19:55:35 UTC
Created attachment 322597 [details]
modified clementine-1.0.1-r2.ebuild

I actually hacked at the current ebuild (1.0.1-r2) to do just that by modifying the cmake check to hold for build type "Gentoo", too, by running sed over the CMakeLists.txt. I amnot sure if this is the best approach, though...
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-03 11:56:01 UTC

*** This bug has been marked as a duplicate of bug 433098 ***