Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668500 - games-util/lgogdownloader has USE="debug" turned on by default
Summary: games-util/lgogdownloader has USE="debug" turned on by default
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-13 09:23 UTC by tt_1
Modified: 2018-10-14 08:45 UTC (History)
2 users (show)

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 tt_1 2018-10-13 09:23:41 UTC
looks like this: 

emerge -pv lgogdownloader

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/tinyxml2-6.2.0:0/6::gentoo  USE="-static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N    ~] dev-cpp/htmlcxx-0.86::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] net-libs/liboauth-1.0.3::gentoo  USE="nss -bindist -curl -doc" 0 KiB
[ebuild  N    ~] games-util/lgogdownloader-3.4::gentoo  USE="debug" 0 KiB

Total: 4 packages (4 new), Size of downloads: 0 KiB

In the ebuild it's not forced but switched on per default as in: IUSE="+debug"

Is this for a reason? The debug cflags need a lot of memory, and made my rpi crash upon compile as I didn't expected an ebuild to use >400mb per thread if the distfiles is just 75kb.
Comment 1 James Le Cuirot gentoo-dev 2018-10-14 07:37:18 UTC
I've dropped the flag but only because it didn't actually do anything. This is a C++ program that uses libraries such as Boost, I'm not surprised it requires so much RAM to build.
Comment 2 tt_1 2018-10-14 08:45:39 UTC
You're right, it doesn't make a difference for the amount of ram used per thread. Its just the way it is, so I'll restrict the jobs for it on the rpi.