1 |
installed gettext catalog files (*.mo), but also lines of translations |
2 |
in an always shipped file (e.g., *.desktop). |
3 |
|
4 |
If you want English with a set LINGUAS, it is suggested to list it with |
5 |
the desired country code, in case the default is not the usual "en_US". |
6 |
It is also common to list "en" then, in case a package is natively |
7 |
written in a different language, but does provide an English translation |
8 |
for whichever country. A list of LINGUAS language codes is available at: |
9 |
http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes |
10 |
|
11 |
If you have per-package customizations of the LINGUAS USE_EXPAND, you |
12 |
should also rename those. This typically means changing linguas_* to |
13 |
l10n_*, and possibly updating the syntax as described above. |
14 |
|
15 |
https://wiki.gentoo.org/wiki/Localization/Guide has also been updated to |
16 |
reflect this change. |
17 |
|
18 |
2016-08-11-grub2_multislot_default |
19 |
Title Grub2 multislot default setting is changing |
20 |
Author William Hubbs <williamh@g.o> |
21 |
Author Ian Stakenvicius <axs@g.o> |
22 |
Posted 2016-08-11 |
23 |
Revision 1 |
24 |
|
25 |
The multislot use flag in sys-boot/grub-2.x is no longer enabled by |
26 |
default. |
27 |
|
28 |
When the flag is enabled, all upstream binaries and documentation are |
29 |
renamed to "grub2" so as not to collide with grub-0. Now that the use |
30 |
flag is no longer default-enabled, these names will revert back to |
31 |
their upstream defaults. For example, grub2-mkconfig will become |
32 |
grub-mkconfig, grub2-install will become grub-install, etc. |
33 |
|
34 |
If you wish to retain the previous naming scheme, please make sure to |
35 |
explicitly enable USE="multislot" on sys-boot/grub in the usual manner. |
36 |
|
37 |
|
38 |
2017-10-13-openrc-service-binary-removal |
39 |
Title OpenRC "service" binary removal |
40 |
Author William Hubbs <williamh@g.o> |
41 |
Posted 2017-10-13 |
42 |
Revision 1 |
43 |
|
44 |
OpenRC 0.33 will remove the "service" binary, which was just a copy of |
45 |
the "rc-service" binary. |
46 |
|
47 |
If you only use rc-service this will not affect you. However, if you |
48 |
still need the "service" command, you should install |
49 |
sys-apps/init-system-helpers. |
50 |
|
51 |
2017-11-30-new-17-profiles |
52 |
Title New 17.0 profiles in the Gentoo repository |
53 |
Author Andreas K. Hüttel <dilfridge@g.o> |
54 |
Posted 2017-11-30 |
55 |
Revision 1 |
56 |
|
57 |
We have just added (for all arches except arm and mips, these follow |
58 |
later) a new set of profiles with release version 17.0 to the Gentoo |
59 |
repository. These bring three changes: |
60 |
1) The default C++ language version for applications is now C++14. |
61 |
This change is mostly relevant to Gentoo developers. It also |
62 |
means, however, that compilers earlier than GCC 6 are masked |
63 |
and not supported for use as a system compiler anymore. Feel |
64 |
free to unmask them if you need them for specific applications. |
65 |
2) Where supported, GCC will now build position-independent |
66 |
executables (PIE) by default. This improves the overall |
67 |
security fingerprint. The switch from non-PIE to PIE binaries, |
68 |
however, requires some steps by users, as detailed below. |
69 |
3) Up to now, hardened profiles were separate from the default |
70 |
profile tree. Now they are moving into the 17.0 profile |
71 |
as a feature there, similar to "no-multilib" and "systemd". |
72 |
|
73 |
Please migrate away from the 13.0 profiles within the six weeks after |
74 |
GCC 6.4.0 has been stabilized on your architecture. The 13.0 profiles |
75 |
will be deprecated then and removed in half a year. |
76 |
|
77 |
If you are not already running a hardened setup with PIE enabled, then |
78 |
switching the profile involves the following steps: |
79 |
If not already done, |
80 |
* Use gcc-config to select gcc-6.4.0 or later as system compiler |
81 |
* Re-source /etc/profile: |
82 |
. /etc/profile |
83 |
* Re-emerge libtool |
84 |
emerge -1 sys-devel/libtool |
85 |
Then, |
86 |
* Select the new profile with eselect |
87 |
* Re-emerge, in this sequence, gcc, binutils, and glibc |
88 |
emerge -1 sys-devel/gcc:6.4.0 |
89 |
emerge -1 sys-devel/binutils |
90 |
emerge -1 sys-libs/glibc |
91 |
* Rebuild your entire system |
92 |
emerge -e @world |
93 |
|
94 |
Switching the profile from 13.0 to 17.0 modifies the settings of |
95 |
GCC 6 to generate PIE executables by default; thus, you need to do |
96 |
the rebuilds even if you have already used GCC 6 beforehand. |
97 |
If you do not follow these steps you may get spurious build |
98 |
failures when the linker tries unsuccessfully to combine non-PIE |
99 |
and PIE code. |
100 |
|
101 |
./tmp/cloud-prep.sh: line 73: eclean-dist: command not found |
102 |
passwd: password expiry information changed. |
103 |
passwd: password expiry information changed. |
104 |
migraging pax |
105 |
removing /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-20171211T114953Z/tmp/cloud-prep.sh from the chroot |
106 |
removing /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-20171211T114953Z/tmp/chroot-functions.sh from the chroot |
107 |
11 Dec 2017 22:02:48 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/hardened/stage4-amd64-hardened+minimal-20171211T114953Z/tmp |
110 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+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/hardened/stage4-amd64-hardened+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/hardened/stage4-amd64-hardened+minimal-20171211T114953Z/tmp/stage4-preclean-chroot.sh from the chroot |
118 |
removing /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-20171211T114953Z/tmp/chroot-functions.sh from the chroot |
119 |
11 Dec 2017 22:02:49 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/hardened/stage4-amd64-hardened+minimal-20171211T114953Z/tmp |
122 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+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/hardened/stage4-amd64-hardened+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/hardened/stage4-amd64-hardened+minimal-20171211T114953Z/tmp/rc-update.sh from the chroot |
135 |
removing /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-20171211T114953Z/tmp/chroot-functions.sh from the chroot |
136 |
11 Dec 2017 22:02:49 UTC: NOTICE : --- Running action sequence: unmerge |
137 |
Copying unmerge.sh to /tmp |
138 |
copying unmerge.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-20171211T114953Z/tmp |
139 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+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/hardened/stage4-amd64-hardened+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-220256.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/hardened/stage4-amd64-hardened+minimal-20171211T114953Z/tmp/unmerge.sh from the chroot |
163 |
removing /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-20171211T114953Z/tmp/chroot-functions.sh from the chroot |
164 |
11 Dec 2017 22:03:08 UTC: NOTICE : --- Running action sequence: unbind |
165 |
11 Dec 2017 22:03:08 UTC: NOTICE : --- Running action sequence: remove |
166 |
11 Dec 2017 22:03:08 UTC: NOTICE : livecd: removing /etc/*- |
167 |
11 Dec 2017 22:03:08 UTC: NOTICE : livecd: removing /etc/*.old |
168 |
11 Dec 2017 22:03:08 UTC: NOTICE : livecd: removing /etc/ssh/ssh_host_* |
169 |
11 Dec 2017 22:03:08 UTC: NOTICE : livecd: removing /root/.*history |
170 |
11 Dec 2017 22:03:08 UTC: NOTICE : livecd: removing /root/.lesshst |
171 |
11 Dec 2017 22:03:08 UTC: NOTICE : livecd: removing /root/.ssh/known_hosts |
172 |
11 Dec 2017 22:03:08 UTC: NOTICE : livecd: removing /root/.viminfo |
173 |
11 Dec 2017 22:03:08 UTC: NOTICE : livecd: removing /usr/share/genkernel |
174 |
11 Dec 2017 22:03:08 UTC: NOTICE : livecd: removing /usr/lib64/python*/site-packages/gentoolkit/test/eclean/testdistfiles.tar.gz |
175 |
11 Dec 2017 22:03:08 UTC: NOTICE : --- Running action sequence: empty |
176 |
11 Dec 2017 22:03:08 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /root/.ccache |
177 |
11 Dec 2017 22:03:08 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-20171211T114953Z//tmp |
178 |
11 Dec 2017 22:03:08 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /usr/portage/distfiles |
179 |
11 Dec 2017 22:03:08 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-20171211T114953Z//usr/src |
180 |
11 Dec 2017 22:03:09 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-20171211T114953Z//var/cache/edb/dep |
181 |
11 Dec 2017 22:03:09 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /var/cache/genkernel |
182 |
11 Dec 2017 22:03:09 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /var/cache/portage/distfiles |
183 |
11 Dec 2017 22:03:09 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-20171211T114953Z//var/empty |
184 |
11 Dec 2017 22:03:09 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /var/run |
185 |
11 Dec 2017 22:03:09 UTC: WARNING : not a directory or does not exist, skipping "empty" operation: /var/state |
186 |
11 Dec 2017 22:03:09 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-20171211T114953Z//var/tmp |
187 |
11 Dec 2017 22:03:09 UTC: NOTICE : --- Running action sequence: clean |
188 |
11 Dec 2017 22:03:09 UTC: NOTICE : Cleaning chroot: /var/tmp/* |
189 |
11 Dec 2017 22:03:09 UTC: NOTICE : Cleaning chroot: /tmp/* |
190 |
11 Dec 2017 22:03:09 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 22:03:09 UTC: NOTICE : Cleaning up... Running unbind() |
198 |
Command exited with non-zero status 2 |
199 |
10721.60user 1046.44system 1:41:56elapsed 192%CPU (0avgtext+0avgdata 919696maxresident)k |
200 |
126328inputs+30519360outputs (628major+719578426minor)pagefaults 0swaps |
201 |
|
202 |
|
203 |
|
204 |
Full build log at /home/release/tmp/run/catalyst-auto.20171211T114953Z.Q1rViw/log/hardened_stage4-minimal.log |