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

Bug 672750

Summary: x11-wm/dwm missing savedconfig use flag
Product: Gentoo Linux Reporter: Jakub Hrbek <werifgx>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=673238
Whiteboard:
Package list:
Runtime testing required: ---

Description Jakub Hrbek 2018-12-08 14:29:39 UTC
x11-wm/dwm (https://packages.gentoo.org/packages/x11-wm/dwm) needs `savedconfig` use flag to allow customization in `/etc/portage/savedconfig/x11-wm/dwm..`

if savedconfig is not present in `package.use` configuration is not present in savedconfig. (based on my experience)

Recommends mensioning it as LOCAL USE on https://packages.gentoo.org/packages/x11-wm/dwm
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-12-09 12:12:04 UTC
=x11-wm/dwm-6.1-r1 inherits savedconfig.eclass and it is this eclass that sets IUSE=savedconfig.

=x11-wm/dwm-9999 does not use savedconfig.eclass because it is a live ebuild - you are encouraged to use user patches instead if you want to change the compile time configuration here.

Apparently packages.gentoo.org cannot handle differences in IUSE values for more than one ebuild and apparently it picked the live ebuild to show the IUSE value for.
Comment 2 Jakub Hrbek 2018-12-10 18:03:28 UTC
(In reply to Jeroen Roovers from comment #1)
> =x11-wm/dwm-6.1-r1 inherits savedconfig.eclass and it is this eclass that
> sets IUSE=savedconfig.
> 
> =x11-wm/dwm-9999 does not use savedconfig.eclass because it is a live ebuild
> - you are encouraged to use user patches instead if you want to change the
> compile time configuration here.
> 
> Apparently packages.gentoo.org cannot handle differences in IUSE values for
> more than one ebuild and apparently it picked the live ebuild to show the
> IUSE value for.

Shoudn't it be added as USE flag instead of a IUSE? Based on my experience i can imagine someone having issues since it won't pull `savedconfig` when it's not set in package.use / make.conf.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-12-17 00:41:49 UTC
(In reply to Jakub Hrbek from comment #2)
> (In reply to Jeroen Roovers from comment #1)
> > Apparently packages.gentoo.org cannot handle differences in IUSE values for
> > more than one ebuild and apparently it picked the live ebuild to show the
> > IUSE value for.

See also "See Also", https://bugs.gentoo.org/show_bug.cgi?id=673238

> Shoudn't it be added as USE flag instead of a IUSE?

That is not how ebuilds work.

https://devmanual.gentoo.org/ebuild-writing/variables/index.html