1 |
up the available codes in profiles/desc/l10n.desc in the gentoo tree. |
2 |
A detailed description of language tags (aka BCP 47) can be found at: |
3 |
https://www.w3.org/International/articles/language-tags/ |
4 |
|
5 |
After a transition time for packages to be converted, the LINGUAS |
6 |
environment variable will maintain the standard gettext behaviour and |
7 |
will work as expected with all package managers. It controls which |
8 |
language translations are built and installed. An unset value means all |
9 |
available, an empty value means none, and a value can be an unordered |
10 |
list of gettext language codes, with or without country codes. Usually |
11 |
two letter language codes suffice, but can be narrowed down by country |
12 |
codes with a "ll_CC" formatting, where "ll" is the language code and |
13 |
"CC" is the country code, e.g., "en_GB". Some rare languages also have |
14 |
three letter language codes. Note that LINGUAS does not only affect |
15 |
installed gettext catalog files (*.mo), but also lines of translations |
16 |
in an always shipped file (e.g., *.desktop). |
17 |
|
18 |
If you want English with a set LINGUAS, it is suggested to list it with |
19 |
the desired country code, in case the default is not the usual "en_US". |
20 |
It is also common to list "en" then, in case a package is natively |
21 |
written in a different language, but does provide an English translation |
22 |
for whichever country. A list of LINGUAS language codes is available at: |
23 |
http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes |
24 |
|
25 |
If you have per-package customizations of the LINGUAS USE_EXPAND, you |
26 |
should also rename those. This typically means changing linguas_* to |
27 |
l10n_*, and possibly updating the syntax as described above. |
28 |
|
29 |
https://wiki.gentoo.org/wiki/Localization/Guide has also been updated to |
30 |
reflect this change. |
31 |
|
32 |
2016-08-11-grub2_multislot_default |
33 |
Title Grub2 multislot default setting is changing |
34 |
Author William Hubbs <williamh@g.o> |
35 |
Author Ian Stakenvicius <axs@g.o> |
36 |
Posted 2016-08-11 |
37 |
Revision 1 |
38 |
|
39 |
The multislot use flag in sys-boot/grub-2.x is no longer enabled by |
40 |
default. |
41 |
|
42 |
When the flag is enabled, all upstream binaries and documentation are |
43 |
renamed to "grub2" so as not to collide with grub-0. Now that the use |
44 |
flag is no longer default-enabled, these names will revert back to |
45 |
their upstream defaults. For example, grub2-mkconfig will become |
46 |
grub-mkconfig, grub2-install will become grub-install, etc. |
47 |
|
48 |
If you wish to retain the previous naming scheme, please make sure to |
49 |
explicitly enable USE="multislot" on sys-boot/grub in the usual manner. |
50 |
|
51 |
|
52 |
2017-11-30-new-17-profiles |
53 |
Title New 17.0 profiles in the Gentoo repository |
54 |
Author Andreas K. Hüttel <dilfridge@g.o> |
55 |
Posted 2017-11-30 |
56 |
Revision 1 |
57 |
|
58 |
We have just added (for all arches except arm and mips, these follow |
59 |
later) a new set of profiles with release version 17.0 to the Gentoo |
60 |
repository. These bring three changes: |
61 |
1) The default C++ language version for applications is now C++14. |
62 |
This change is mostly relevant to Gentoo developers. It also |
63 |
means, however, that compilers earlier than GCC 6 are masked |
64 |
and not supported for use as a system compiler anymore. Feel |
65 |
free to unmask them if you need them for specific applications. |
66 |
2) Where supported, GCC will now build position-independent |
67 |
executables (PIE) by default. This improves the overall |
68 |
security fingerprint. The switch from non-PIE to PIE binaries, |
69 |
however, requires some steps by users, as detailed below. |
70 |
3) Up to now, hardened profiles were separate from the default |
71 |
profile tree. Now they are moving into the 17.0 profile |
72 |
as a feature there, similar to "no-multilib" and "systemd". |
73 |
|
74 |
Please migrate away from the 13.0 profiles within the six weeks after |
75 |
GCC 6.4.0 has been stabilized on your architecture. The 13.0 profiles |
76 |
will be deprecated then and removed in half a year. |
77 |
|
78 |
If you are not already running a hardened setup with PIE enabled, then |
79 |
switching the profile involves the following steps: |
80 |
If not already done, |
81 |
* Use gcc-config to select gcc-6.4.0 or later as system compiler |
82 |
* Re-source /etc/profile: |
83 |
. /etc/profile |
84 |
* Re-emerge libtool |
85 |
emerge -1 sys-devel/libtool |
86 |
Then, |
87 |
* Select the new profile with eselect |
88 |
* Re-emerge, in this sequence, gcc, binutils, and glibc |
89 |
emerge -1 sys-devel/gcc:6.4.0 |
90 |
emerge -1 sys-devel/binutils |
91 |
emerge -1 sys-libs/glibc |
92 |
* Rebuild your entire system |
93 |
emerge -e @world |
94 |
|
95 |
Switching the profile from 13.0 to 17.0 modifies the settings of |
96 |
GCC 6 to generate PIE executables by default; thus, you need to do |
97 |
the rebuilds even if you have already used GCC 6 beforehand. |
98 |
If you do not follow these steps you may get spurious build |
99 |
failures when the linker tries unsuccessfully to combine non-PIE |
100 |
and PIE code. |
101 |
|
102 |
./tmp/cloud-prep.sh: line 73: eclean-dist: command not found |
103 |
passwd: password expiry information changed. |
104 |
passwd: password expiry information changed. |
105 |
removing /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp/cloud-prep.sh from the chroot |
106 |
removing /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp/chroot-functions.sh from the chroot |
107 |
11 Dec 2017 13:57:19 UTC: NOTICE : --- Running action sequence: preclean |
108 |
Copying stage4-preclean-chroot.sh to /tmp |
109 |
copying stage4-preclean-chroot.sh to /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp |
110 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp |
111 |
Ensure the file has the executable bit set |
112 |
Running stage4-preclean-chroot.sh in chroot: |
113 |
chroot /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z /tmp/stage4-preclean-chroot.sh |
114 |
>>> Regenerating /etc/ld.so.cache... |
115 |
Skipping depclean operation for stage4 |
116 |
Skipping removal of world file for stage4 |
117 |
removing /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp/stage4-preclean-chroot.sh from the chroot |
118 |
removing /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp/chroot-functions.sh from the chroot |
119 |
11 Dec 2017 13:57:20 UTC: NOTICE : --- Running action sequence: rcupdate |
120 |
Copying rc-update.sh to /tmp |
121 |
copying rc-update.sh to /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp |
122 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp |
123 |
Ensure the file has the executable bit set |
124 |
Running rc-update.sh in chroot: |
125 |
chroot /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z /tmp/rc-update.sh |
126 |
Adding acpid to default |
127 |
* service acpid added to runlevel default |
128 |
Adding net.lo to default |
129 |
* service net.lo added to runlevel default |
130 |
Adding netmount to default |
131 |
* rc-update: netmount already installed in runlevel `default'; skipping |
132 |
Adding sshd to default |
133 |
* service sshd added to runlevel default |
134 |
removing /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp/rc-update.sh from the chroot |
135 |
removing /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp/chroot-functions.sh from the chroot |
136 |
11 Dec 2017 13:57:20 UTC: NOTICE : --- Running action sequence: unmerge |
137 |
Copying unmerge.sh to /tmp |
138 |
copying unmerge.sh to /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp |
139 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp |
140 |
Ensure the file has the executable bit set |
141 |
Running unmerge.sh in chroot: |
142 |
chroot /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z /tmp/unmerge.sh |
143 |
>>> Regenerating /etc/ld.so.cache... |
144 |
emerge --quiet --usepkg --buildpkg --newuse -C sys-kernel/genkernel sys-kernel/gentoo-sources |
145 |
|
146 |
--- Couldn't find 'sys-kernel/genkernel' to unmerge. |
147 |
sys-kernel/gentoo-sources: 4.12.12 none none |
148 |
|
149 |
All selected packages: =sys-kernel/gentoo-sources-4.12.12 |
150 |
>>> Unmerging (1 of 1) sys-kernel/gentoo-sources-4.12.12... |
151 |
* Messages for package sys-kernel/gentoo-sources-4.12.12: |
152 |
* Log file: /home/release/tmp/logs/sys-kernel:gentoo-sources-4.12.12:20171211-135726.log |
153 |
* Note: Even though you have successfully unmerged |
154 |
* your kernel package, directories in kernel source location: |
155 |
* /usr/src/linux-4.12.12-gentoo |
156 |
* with modified files will remain behind. By design, package managers |
157 |
* will not remove these modified files and the directories they reside in. |
158 |
* For more detailed kernel removal instructions, please see: |
159 |
* https://wiki.gentoo.org/wiki/Kernel/Removal |
160 |
|
161 |
|
162 |
removing /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp/unmerge.sh from the chroot |
163 |
removing /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z/tmp/chroot-functions.sh from the chroot |
164 |
11 Dec 2017 13:57:37 UTC: NOTICE : --- Running action sequence: unbind |
165 |
11 Dec 2017 13:57:37 UTC: NOTICE : --- Running action sequence: remove |
166 |
11 Dec 2017 13:57:37 UTC: NOTICE : livecd: removing /etc/*- |
167 |
11 Dec 2017 13:57:37 UTC: NOTICE : livecd: removing /etc/*.old |
168 |
11 Dec 2017 13:57:37 UTC: NOTICE : livecd: removing /etc/ssh/ssh_host_* |
169 |
11 Dec 2017 13:57:37 UTC: NOTICE : livecd: removing /root/.*history |
170 |
11 Dec 2017 13:57:37 UTC: NOTICE : livecd: removing /root/.lesshst |
171 |
11 Dec 2017 13:57:37 UTC: NOTICE : livecd: removing /root/.ssh/known_hosts |
172 |
11 Dec 2017 13:57:37 UTC: NOTICE : livecd: removing /root/.viminfo |
173 |
11 Dec 2017 13:57:37 UTC: NOTICE : livecd: removing /usr/share/genkernel |
174 |
11 Dec 2017 13:57:37 UTC: NOTICE : livecd: removing /usr/lib64/python*/site-packages/gentoolkit/test/eclean/testdistfiles.tar.gz |
175 |
11 Dec 2017 13:57:37 UTC: NOTICE : --- Running action sequence: empty |
176 |
11 Dec 2017 13:57:37 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /root/.ccache |
177 |
11 Dec 2017 13:57:37 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z//tmp |
178 |
11 Dec 2017 13:57:37 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /usr/portage/distfiles |
179 |
11 Dec 2017 13:57:37 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z//usr/src |
180 |
11 Dec 2017 13:57:38 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z//var/cache/edb/dep |
181 |
11 Dec 2017 13:57:38 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /var/cache/genkernel |
182 |
11 Dec 2017 13:57:38 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /var/cache/portage/distfiles |
183 |
11 Dec 2017 13:57:38 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z//var/empty |
184 |
11 Dec 2017 13:57:38 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /var/run |
185 |
11 Dec 2017 13:57:38 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /var/state |
186 |
11 Dec 2017 13:57:38 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/default/stage4-amd64-minimal-20171211T114953Z//var/tmp |
187 |
11 Dec 2017 13:57:38 UTC: NOTICE : --- Running action sequence: clean |
188 |
11 Dec 2017 13:57:38 UTC: NOTICE : Cleaning chroot: /var/tmp/* |
189 |
11 Dec 2017 13:57:38 UTC: NOTICE : Cleaning chroot: /tmp/* |
190 |
11 Dec 2017 13:57:38 UTC: ERROR : Exception running action sequence clean |
191 |
Traceback (most recent call last): |
192 |
File "/usr/lib64/python2.7/site-packages/catalyst/base/stagebase.py", line 1437, in run |
193 |
getattr(self, x)() |
194 |
File "/usr/lib64/python2.7/site-packages/catalyst/base/stagebase.py", line 1210, in clean |
195 |
self.settings["portage_prefix"]]) |
196 |
TypeError: all args must be strings |
197 |
11 Dec 2017 13:57:38 UTC: NOTICE : Cleaning up... Running unbind() |
198 |
Command exited with non-zero status 2 |
199 |
2947.93user 361.98system 36:35.27elapsed 150%CPU (0avgtext+0avgdata 468296maxresident)k |
200 |
61272inputs+11828600outputs (3major+249333255minor)pagefaults 0swaps |
201 |
|
202 |
|
203 |
|
204 |
Full build log at /home/release/tmp/run/catalyst-auto.20171211T114953Z.Q1rViw/log/stage4-minimal.log |