Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Solved: ABI_X86=
Date: Tue, 01 Mar 2016 17:17:26
Message-Id: loom.20160301T180804-982@post.gmane.org
In Reply to: Re: [gentoo-user] Re: Solved: ABI_X86= by Rich Freeman
1 Rich Freeman <rich0 <at> gentoo.org> writes:
2
3
4 > > The --autounmask option for emerge, which is on be default, partially
5 > > automates this. --autounmask-write takes it a small step further, but you
6 > > still have to run etc-update to apply the changes.
7
8 Yes, I have had '--autounmask-write y' as part of my EMERGE_DEFAULT_OPTS= in
9 make.conf for a few years now. it does help.
10
11 after it does it's thing, I parse out the permanent flag setting to
12 /etc/portage/package.use/package.use. As of today, I now manually parse out
13 the abi_x86_32 flags into /etc/portage/package.use/abi.use, knowing that the
14 system does autoset the 64bit as default for the default amd64 profile.
15
16
17
18 > This is about the only solution today. There has been talk of
19 > implementing "lazy use flags" that would let portage implicitly change
20 > USE settings when the user hasn't explicitly told it not to. (That
21 > is, interpret -flag as the user intends to leave it off, and flag as
22 > the user intends to set it, and if it isn't mentioned one way or the
23 > other let portage just follow profile/package defaults and add
24 > per-package flags when needed to satisfy dependencies.) This was
25 > motivated in part by the package.use explosion caused by 32-bit libs.
26
27 I must confess to reading that thread, only too quickly. If I recall some
28 folks had an informal mechanism to already implement their idea of 'lazy
29 flags'? I'll have to reread that thread to parse out a few ideas on how to
30 move forward...
31
32 > However, none of this exists today.
33
34 As stated above, using /etc/portage/package.use/abi.use as a file to
35 exclusively put all of those settings, I hope a hack of an idea emerges to
36 solve this situation. Maybe an extended attribute that allows one to take
37 specific flages (like abi_x86_32) and put those into an isolated file under
38 /etc/portage/ might be an easy extension until the one of the devs moves
39 forward on this opportunity to implement 'lazy flags'?
40
41
42 Thx for the info and suggestions.
43
44 James