Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127682 - Wine emerges without debug or trace support. Add explanation.
Summary: Wine emerges without debug or trace support. Add explanation.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Wine Maintainers
URL: http://www.winehq.org/pipermail/wine-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-26 15:22 UTC by Peter Hyman
Modified: 2007-01-04 14:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Hyman 2006-03-26 15:22:59 UTC
If debug use flag is NOT set, wine will emerge with no debug or trace support for applications. That is, the command:

WINEDEBUG=blah wine myapp.exe

will produce no output.

It took me awhile to figure out that wine was looking for the debug use flag. However, this use of debug is different than compiling something with debug symbols (i.e. -g).

I'd like to suggest that you add some output during the emerge that explains what is being compiled and why.  Something like:

if !use debug
   einfo "Wine is being compiled without support for debug or trace."
   einfo "The WINEDEBUG environment variable and all its commands will"
   einfo "be ignored."
   echo
   einfo "To enable debugging support, please enable the debug flag for wine."
   einfo "add app-emulation/wine debug"
   einfo "to the package.use file if you would like full debug support."
fi

Or, you could make this a negative option -- meaning that wine will compile normally WITH debug support, and the above message could be reversed so the user can turn it off. One could argue that it's more proper to have the complete wine support turned on by default. That is the default wine behavior. JM2C.
Comment 1 Benjamin Hodgetts 2006-04-15 04:11:05 UTC
Yeah, the Wine devs got more than a little pissed off when they found out Gentoo has this disabled by default as apparently it should be enabled by default, not V-V.
Comment 2 Peter Hyman 2006-04-16 04:36:03 UTC
that URL pretty much will solve this issue -- forcing wine to report an error if WINEDEBUG is used without support. However, from the emerge POV, I still suggest having a message show that debug support (default support, btw) has been disabled. Also, I still strongly support the idea that this support be ENABLED by default. JM2C
Comment 3 Kyle Cronan 2006-06-12 21:41:31 UTC
I just spent an hour trying to figure out why my wine wouldn't spit out debugging info.  This is super annoying--please fix!

<kyle@pbx.org>
Comment 4 SpanKY gentoo-dev 2007-01-04 14:21:27 UTC
nothing left to do as upstream has resolved this