Gentoo Archives: gentoo-portage-dev

From: Alexander Berntsen <bernalex@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH 0/4] Autounmask changes
Date: Tue, 12 Aug 2014 09:37:24
Message-Id: 1407836235-13528-1-git-send-email-bernalex@gentoo.org
1 Here are the infamous autounmask changes agreed to on the last meeting:
2 <http://article.gmane.org/gmane.linux.gentoo.portage.devel/4351>
3
4
5
6
7 They behave like this:
8
9 sudo ./emerge =gcc-4.8.3
10 Calculating dependencies... done!
11 [ebuild NS ~] sys-devel/gcc-4.8.3 [4.7.3-r1] USE="cxx fortran gcj (multilib) nls nptl objc openmp (-altivec) -awt -doc (-fixed-point) -go -graphite (-hardened) (-libssp) -mudflap (-multislot) -nopie -nossp -objc++ -objc-gc -regression-test -vanilla"
12
13 The following keyword changes are necessary to proceed:
14 (see "package.accept_keywords" in the portage(5) man page for more details)
15 # required by =gcc-4.8.3 (argument)
16 =sys-devel/gcc-4.8.3 ~amd64
17
18 Use --autounmask to write changes to config files (honoring
19 CONFIG_PROTECT). Carefully examine the list of proposed changes,
20 paying special attention to mask or keyword changes that may expose
21 experimental or unstable packages.
22
23
24
25
26 sudo ./emerge =gcc-4.8.3 --autounmask
27 Calculating dependencies... done!
28 [ebuild NS ~] sys-devel/gcc-4.8.3 [4.7.3-r1] USE="cxx fortran gcj (multilib) nls nptl objc openmp (-altivec) -awt -doc (-fixed-point) -go -graphite (-hardened) (-libssp) -mudflap (-multislot) -nopie -nossp -objc++ -objc-gc -regression-test -vanilla"
29
30 The following keyword changes are necessary to proceed:
31 (see "package.accept_keywords" in the portage(5) man page for more details)
32 # required by =gcc-4.8.3 (argument)
33 =sys-devel/gcc-4.8.3 ~amd64
34
35 Autounmask changes successfully written.
36
37 * IMPORTANT: config file '/etc/portage/package.accept_keywords' needs updating.
38 * See the CONFIGURATION FILES section of the emerge
39 * man page to learn how to update config files.
40
41
42
43 sudo ./emerge =gcc-4.8.3 --autounmask=n
44 Calculating dependencies... done!
45
46 !!! All ebuilds that could satisfy "=gcc-4.8.3" have been masked.
47 !!! One of the following masked packages is required to complete your request:
48 - sys-devel/gcc-4.8.3::gentoo (masked by: ~amd64 keyword)
49
50 For more information, see the MASKED PACKAGES section in the emerge
51 man page or refer to the Gentoo Handbook.
52
53
54
55 sudo ./emerge =gcc-4.8.3 -a
56 These are the packages that would be merged, in order:
57
58 Calculating dependencies... done!
59 [ebuild NS ~] sys-devel/gcc-4.8.3 [4.7.3-r1] USE="cxx fortran gcj (multilib) nls nptl objc openmp (-altivec) -awt -doc (-fixed-point) -go -graphite (-hardened) (-libssp) -mudflap (-multislot) -nopie -nossp -objc++ -objc-gc -regression-test -vanilla"
60
61 The following keyword changes are necessary to proceed:
62 (see "package.accept_keywords" in the portage(5) man page for more details)
63 # required by =gcc-4.8.3 (argument)
64 =sys-devel/gcc-4.8.3 ~amd64
65
66 Would you like to add these changes to your config files? [Yes/No] No
67
68
69
70
71 sudo ./emerge =gcc-4.8.3 -a --autounmask=n
72 These are the packages that would be merged, in order:
73
74 Calculating dependencies... done!
75
76 !!! All ebuilds that could satisfy "=gcc-4.8.3" have been masked.
77 !!! One of the following masked packages is required to complete your request:
78 - sys-devel/gcc-4.8.3::gentoo (masked by: ~amd64 keyword)
79
80
81 Please review & test.
82
83 For more information, see the MASKED PACKAGES section in the emerge
84 man page or refer to the Gentoo Handbook.
85 Alexander Berntsen (4):
86 emerge: Deprecate --autounmask
87 emerge: Rename --autounmask-write to --autounmask
88 emerge: Make --autounmask=y if --ask=y
89 emerge: Let --autounmask=n override other options
90
91 man/emerge.1 | 43 +++++++++++++++++--------------------------
92 pym/_emerge/depgraph.py | 14 +++++++++-----
93 pym/_emerge/main.py | 9 ---------
94 3 files changed, 26 insertions(+), 40 deletions(-)
95
96 --
97 1.8.5.5

Replies