Summary: | dev-utils/subversion spams prompt with debug information when run from command line. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aniruddha Shankar <k> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | voyageur |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | 2.5mb debug output on "svn --version" |
Description
Aniruddha Shankar
2009-11-21 15:46:27 UTC
Created attachment 210799 [details]
2.5mb debug output on "svn --version"
this is actually a bug in dev-libs/apr - when dev-libs/apr is emerged with debug then svn spams info. You enable debug info, you get debug info. Works as advertised. debug is enabled globally across the system. 99.9% of console packages do not spew (toolchain-breaking) debug information to the prompt when run after being compiled with +debug in USE 0.1% of console packages spew (toolchain-breaking) debug information to the prompt when run after being compiled with +debug in USE. Is the fault with the first group or the second? I don't enable debug in USE for fun, I take the performance hit so that in my ~amd64 system, when things go wrong, I can be a responsible free software citizen and help the maximum extent, as I have been doing since bug #226 . It should not be "works as advertised" if enabling debug == broken compiles two packages away down the line. Now, this might be a bug in apr or in subversion, but this is a bug or at the very least an enhancement request in one of those packages. Kick it upstream if you have to (and i'll help with that as well) but please do treat it as a bug/feature request. --Gentoo user and contributor since 1.0_rc3-r12 According to the useflag description, debug messages are the main purpose of the debug use flag: debug - Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml Since your goal is to be always ready to provide meaningful bug reports (yay for dedicated users), it should be ok to turn off USE=debug for apr and just keep -ggdb and FEATURES=nostrip (or splitdebug). Would that be a suitable solution, or do you still think a feature request is needed? |