Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/default/linux/musl/, profiles/arch/mips/, ...
Date: Fri, 23 Sep 2022 00:05:43
Message-Id: 1663891515.6163cd3fa19853dca27519180cc2980f78f52408.sam@gentoo
1 commit: 6163cd3fa19853dca27519180cc2980f78f52408
2 Author: matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
3 AuthorDate: Thu Sep 15 00:00:07 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 00:05:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6163cd3f
7
8 profiles: bring musl on mips into line with 17.0 profiles
9
10 This lets us get rid of default/linux/musl/ and hardened/ entirely (the
11 latter was marked deprecated in January)
12
13 Bug: https://bugs.gentoo.org/515694
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 profiles/arch/mips/package.use.force | 6 +-
17 profiles/arch/mips/package.use.mask | 4 ++
18 profiles/default/linux/{ => mips/17.0}/musl/eapi | 0
19 .../{musl/mips => mips/17.0/musl/mipsel}/eapi | 0
20 .../mips => mips/17.0/musl}/mipsel/make.defaults | 6 +-
21 .../mips/mipsel => mips/17.0/musl/mipsel/n64}/eapi | 0
22 .../linux/mips/17.0/musl/mipsel/n64/make.defaults | 6 ++
23 .../default/linux/mips/17.0/musl/mipsel/n64/parent | 2 +
24 .../linux/mips/17.0/musl/mipsel/o32}/eapi | 0
25 .../linux/mips/17.0/musl/mipsel/o32/make.defaults | 6 ++
26 .../default/linux/mips/17.0/musl/mipsel/o32/parent | 2 +
27 .../default/linux/mips/17.0/musl/mipsel/parent | 2 +
28 .../musl => default/linux/mips/17.0/musl/n64}/eapi | 0
29 .../default/linux/mips/17.0/musl/n64/make.defaults | 6 ++
30 profiles/default/linux/mips/17.0/musl/n64/parent | 2 +
31 .../mips => default/linux/mips/17.0/musl/o32}/eapi | 0
32 .../default/linux/mips/17.0/musl/o32/make.defaults | 6 ++
33 profiles/default/linux/mips/17.0/musl/o32/parent | 2 +
34 .../{musl/mips => mips/17.0/musl}/package.mask | 2 +-
35 profiles/default/linux/mips/17.0/musl/parent | 3 +
36 profiles/default/linux/musl/make.defaults | 16 -----
37 profiles/default/linux/musl/mips/make.defaults | 20 ------
38 profiles/default/linux/musl/mips/mipsel/parent | 1 -
39 profiles/default/linux/musl/mips/package.use.force | 5 --
40 profiles/default/linux/musl/mips/parent | 1 -
41 profiles/default/linux/musl/mips/use.force | 6 --
42 profiles/default/linux/musl/mips/use.mask | 6 --
43 profiles/default/linux/musl/package.mask | 84 ----------------------
44 profiles/default/linux/musl/package.use | 7 --
45 profiles/default/linux/musl/package.use.force | 9 ---
46 profiles/default/linux/musl/package.use.mask | 18 -----
47 profiles/default/linux/musl/packages | 6 --
48 profiles/default/linux/musl/packages.build | 10 ---
49 profiles/default/linux/musl/parent | 3 -
50 profiles/default/linux/musl/use.force | 5 --
51 profiles/default/linux/musl/use.mask | 10 ---
52 profiles/hardened/deprecated | 5 --
53 profiles/hardened/linux/musl/make.defaults | 5 --
54 profiles/hardened/linux/musl/mips/mipsel/eapi | 1 -
55 profiles/hardened/linux/musl/mips/mipsel/parent | 2 -
56 profiles/hardened/linux/musl/mips/parent | 2 -
57 profiles/hardened/linux/musl/package.use.mask | 6 --
58 profiles/hardened/linux/musl/use.force | 8 ---
59 profiles/hardened/linux/musl/use.mask | 13 ----
60 profiles/profiles.desc | 8 +--
61 45 files changed, 52 insertions(+), 260 deletions(-)
62
63 diff --git a/profiles/arch/mips/package.use.force b/profiles/arch/mips/package.use.force
64 index 89f4520ca4eb..bc882ff72538 100644
65 --- a/profiles/arch/mips/package.use.force
66 +++ b/profiles/arch/mips/package.use.force
67 @@ -1,6 +1,10 @@
68 -# Copyright 1999-2019 Gentoo Authors
69 +# Copyright 1999-2022 Gentoo Authors
70 # Distributed under the terms of the GNU General Public License v2
71
72 +# matoro <matoro_gentoo@××××××.tk> (2022-09-14)
73 +# Same as below for rust.
74 +dev-lang/rust llvm_targets_Mips
75 +
76 # Michał Górny <mgorny@g.o> (2016-09-24)
77 # Force the host target to avoid dependency hell
78 dev-ml/llvm-ocaml llvm_targets_Mips
79
80 diff --git a/profiles/arch/mips/package.use.mask b/profiles/arch/mips/package.use.mask
81 index d761e4e458d6..2c2619a4a296 100644
82 --- a/profiles/arch/mips/package.use.mask
83 +++ b/profiles/arch/mips/package.use.mask
84 @@ -1,6 +1,10 @@
85 # Copyright 1999-2022 Gentoo Authors
86 # Distributed under the terms of the GNU General Public License v2
87
88 +# matoro <matoro_gentoo@××××××.tk> (2022-09-14)
89 +# Not broken, but better wait on profiles: bug #515694
90 +dev-lang/rust system-llvm
91 +
92 # Matt Turner <mattst88@g.o> (2022-04-18)
93 # app-text/nuspell is not keyworded
94 app-text/enchant nuspell
95
96 diff --git a/profiles/default/linux/musl/eapi b/profiles/default/linux/mips/17.0/musl/eapi
97 similarity index 100%
98 rename from profiles/default/linux/musl/eapi
99 rename to profiles/default/linux/mips/17.0/musl/eapi
100
101 diff --git a/profiles/default/linux/musl/mips/eapi b/profiles/default/linux/mips/17.0/musl/mipsel/eapi
102 similarity index 100%
103 rename from profiles/default/linux/musl/mips/eapi
104 rename to profiles/default/linux/mips/17.0/musl/mipsel/eapi
105
106 diff --git a/profiles/default/linux/musl/mips/mipsel/make.defaults b/profiles/default/linux/mips/17.0/musl/mipsel/make.defaults
107 similarity index 60%
108 rename from profiles/default/linux/musl/mips/mipsel/make.defaults
109 rename to profiles/default/linux/mips/17.0/musl/mipsel/make.defaults
110 index dce419912712..53daa27ad9fb 100644
111 --- a/profiles/default/linux/musl/mips/mipsel/make.defaults
112 +++ b/profiles/default/linux/mips/17.0/musl/mipsel/make.defaults
113 @@ -1,9 +1,5 @@
114 -# Copyright 1999-2014 Gentoo Foundation.
115 +# Copyright 2022 Gentoo Authors
116 # Distributed under the terms of the GNU General Public License v2
117
118 -CHOST="mipsel-gentoo-linux-musl"
119 -CHOST_o32="${CHOST}"
120 -
121 # Disable sandbox because its currently broken on mipsel-musl
122 FEATURES="-sandbox"
123 -
124
125 diff --git a/profiles/default/linux/musl/mips/mipsel/eapi b/profiles/default/linux/mips/17.0/musl/mipsel/n64/eapi
126 similarity index 100%
127 rename from profiles/default/linux/musl/mips/mipsel/eapi
128 rename to profiles/default/linux/mips/17.0/musl/mipsel/n64/eapi
129
130 diff --git a/profiles/default/linux/mips/17.0/musl/mipsel/n64/make.defaults b/profiles/default/linux/mips/17.0/musl/mipsel/n64/make.defaults
131 new file mode 100644
132 index 000000000000..26dbb0e4c1dc
133 --- /dev/null
134 +++ b/profiles/default/linux/mips/17.0/musl/mipsel/n64/make.defaults
135 @@ -0,0 +1,6 @@
136 +# Copyright 2022 Gentoo Authors
137 +# Distributed under the terms of the GNU General Public License v2
138 +
139 +CHOST="mips64el-gentoo-linux-musl"
140 +CHOST_n64="${CHOST}"
141 +LIBDIR_n64="lib"
142
143 diff --git a/profiles/default/linux/mips/17.0/musl/mipsel/n64/parent b/profiles/default/linux/mips/17.0/musl/mipsel/n64/parent
144 new file mode 100644
145 index 000000000000..e92fcf7cbf75
146 --- /dev/null
147 +++ b/profiles/default/linux/mips/17.0/musl/mipsel/n64/parent
148 @@ -0,0 +1,2 @@
149 +..
150 +../../../../../../../arch/mips/mipsel/mips64el/n64
151
152 diff --git a/profiles/hardened/eapi b/profiles/default/linux/mips/17.0/musl/mipsel/o32/eapi
153 similarity index 100%
154 rename from profiles/hardened/eapi
155 rename to profiles/default/linux/mips/17.0/musl/mipsel/o32/eapi
156
157 diff --git a/profiles/default/linux/mips/17.0/musl/mipsel/o32/make.defaults b/profiles/default/linux/mips/17.0/musl/mipsel/o32/make.defaults
158 new file mode 100644
159 index 000000000000..d0dec15ac7be
160 --- /dev/null
161 +++ b/profiles/default/linux/mips/17.0/musl/mipsel/o32/make.defaults
162 @@ -0,0 +1,6 @@
163 +# Copyright 2022 Gentoo Authors
164 +# Distributed under the terms of the GNU General Public License v2
165 +
166 +CHOST="mipsel-gentoo-linux-musl"
167 +CHOST_o32="${CHOST}"
168 +LIBDIR_o32="lib"
169
170 diff --git a/profiles/default/linux/mips/17.0/musl/mipsel/o32/parent b/profiles/default/linux/mips/17.0/musl/mipsel/o32/parent
171 new file mode 100644
172 index 000000000000..85db6caf16e5
173 --- /dev/null
174 +++ b/profiles/default/linux/mips/17.0/musl/mipsel/o32/parent
175 @@ -0,0 +1,2 @@
176 +..
177 +../../../../../../../arch/mips/mipsel/o32
178
179 diff --git a/profiles/default/linux/mips/17.0/musl/mipsel/parent b/profiles/default/linux/mips/17.0/musl/mipsel/parent
180 new file mode 100644
181 index 000000000000..f2bcf2737c18
182 --- /dev/null
183 +++ b/profiles/default/linux/mips/17.0/musl/mipsel/parent
184 @@ -0,0 +1,2 @@
185 +..
186 +../../../../../../arch/mips/mipsel
187
188 diff --git a/profiles/hardened/linux/musl/eapi b/profiles/default/linux/mips/17.0/musl/n64/eapi
189 similarity index 100%
190 rename from profiles/hardened/linux/musl/eapi
191 rename to profiles/default/linux/mips/17.0/musl/n64/eapi
192
193 diff --git a/profiles/default/linux/mips/17.0/musl/n64/make.defaults b/profiles/default/linux/mips/17.0/musl/n64/make.defaults
194 new file mode 100644
195 index 000000000000..90dd88675350
196 --- /dev/null
197 +++ b/profiles/default/linux/mips/17.0/musl/n64/make.defaults
198 @@ -0,0 +1,6 @@
199 +# Copyright 2022 Gentoo Authors
200 +# Distributed under the terms of the GNU General Public License v2
201 +
202 +CHOST="mips64-gentoo-linux-musl"
203 +CHOST_n64="${CHOST}"
204 +LIBDIR_n64="lib"
205
206 diff --git a/profiles/default/linux/mips/17.0/musl/n64/parent b/profiles/default/linux/mips/17.0/musl/n64/parent
207 new file mode 100644
208 index 000000000000..0a2e2f270682
209 --- /dev/null
210 +++ b/profiles/default/linux/mips/17.0/musl/n64/parent
211 @@ -0,0 +1,2 @@
212 +..
213 +../../../../../../arch/mips/mips64/n64
214
215 diff --git a/profiles/hardened/linux/musl/mips/eapi b/profiles/default/linux/mips/17.0/musl/o32/eapi
216 similarity index 100%
217 rename from profiles/hardened/linux/musl/mips/eapi
218 rename to profiles/default/linux/mips/17.0/musl/o32/eapi
219
220 diff --git a/profiles/default/linux/mips/17.0/musl/o32/make.defaults b/profiles/default/linux/mips/17.0/musl/o32/make.defaults
221 new file mode 100644
222 index 000000000000..4027a830450d
223 --- /dev/null
224 +++ b/profiles/default/linux/mips/17.0/musl/o32/make.defaults
225 @@ -0,0 +1,6 @@
226 +# Copyright 2022 Gentoo Authors
227 +# Distributed under the terms of the GNU General Public License v2
228 +
229 +CHOST="mips-gentoo-linux-musl"
230 +CHOST_o32="${CHOST}"
231 +LIBDIR_o32="lib"
232
233 diff --git a/profiles/default/linux/mips/17.0/musl/o32/parent b/profiles/default/linux/mips/17.0/musl/o32/parent
234 new file mode 100644
235 index 000000000000..6d4edaa24a38
236 --- /dev/null
237 +++ b/profiles/default/linux/mips/17.0/musl/o32/parent
238 @@ -0,0 +1,2 @@
239 +..
240 +../../../../../../arch/mips/o32
241
242 diff --git a/profiles/default/linux/musl/mips/package.mask b/profiles/default/linux/mips/17.0/musl/package.mask
243 similarity index 71%
244 rename from profiles/default/linux/musl/mips/package.mask
245 rename to profiles/default/linux/mips/17.0/musl/package.mask
246 index b102791cad4a..ee0e90a0fba8 100644
247 --- a/profiles/default/linux/musl/mips/package.mask
248 +++ b/profiles/default/linux/mips/17.0/musl/package.mask
249 @@ -1,4 +1,4 @@
250 -# Copyright 1999-2021 Gentoo Authors
251 +# Copyright 2022 Gentoo Authors
252 # Distributed under the terms of the GNU General Public License v2
253
254 >sys-apps/kbd-1.15.5-r99
255
256 diff --git a/profiles/default/linux/mips/17.0/musl/parent b/profiles/default/linux/mips/17.0/musl/parent
257 new file mode 100644
258 index 000000000000..9ef7663a23b6
259 --- /dev/null
260 +++ b/profiles/default/linux/mips/17.0/musl/parent
261 @@ -0,0 +1,3 @@
262 +..
263 +../../../../../features/musl
264 +../../../../../features/wd40
265
266 diff --git a/profiles/default/linux/musl/make.defaults b/profiles/default/linux/musl/make.defaults
267 deleted file mode 100644
268 index f0116539f6b1..000000000000
269 --- a/profiles/default/linux/musl/make.defaults
270 +++ /dev/null
271 @@ -1,16 +0,0 @@
272 -# Copyright 1999-2017 Gentoo Foundation.
273 -# Distributed under the terms of the GNU General Public License v2
274 -
275 -PORTAGE_LIBC="musl"
276 -ELIBC="musl"
277 -
278 -FEATURES="sandbox sfperms strict"
279 -
280 -USE="nptl unicode -berkdb"
281 -BOOTSTRAP_USE="${BOOTSTRAP_USE} nptl -berkdb"
282 -
283 -SYMLINK_LIB="no"
284 -
285 -# TODO: fix so musl doesn't generate this for all packages
286 -# that use a charset, it causes package collisons.
287 -INSTALL_MASK="charset.alias"
288
289 diff --git a/profiles/default/linux/musl/mips/make.defaults b/profiles/default/linux/musl/mips/make.defaults
290 deleted file mode 100644
291 index f1406ac0ecda..000000000000
292 --- a/profiles/default/linux/musl/mips/make.defaults
293 +++ /dev/null
294 @@ -1,20 +0,0 @@
295 -# Copyright 1999-2014 Gentoo Foundation.
296 -# Distributed under the terms of the GNU General Public License v2
297 -
298 -ARCH="mips"
299 -ACCEPT_KEYWORDS="${ARCH} ~${ARCH}"
300 -
301 -CHOST="mips-gentoo-linux-musl"
302 -CFLAGS="-O2 -pipe"
303 -CXXFLAGS="${CFLAGS}"
304 -FFLAGS="${CFLAGS}"
305 -FCFLAGS="${CFLAGS}"
306 -
307 -# Anthony G. Basile <blueness@g.o> (2014-07-01)
308 -# Multilib-related setup, bug #515130
309 -ABI="o32"
310 -DEFAULT_ABI="o32"
311 -MULTILIB_ABIS="o32"
312 -CHOST_o32="${CHOST}"
313 -LIBDIR_o32="lib"
314 -IUSE_IMPLICIT="abi_mips_o32"
315
316 diff --git a/profiles/default/linux/musl/mips/mipsel/parent b/profiles/default/linux/musl/mips/mipsel/parent
317 deleted file mode 100644
318 index f3229c5b9876..000000000000
319 --- a/profiles/default/linux/musl/mips/mipsel/parent
320 +++ /dev/null
321 @@ -1 +0,0 @@
322 -..
323
324 diff --git a/profiles/default/linux/musl/mips/package.use.force b/profiles/default/linux/musl/mips/package.use.force
325 deleted file mode 100644
326 index 9fc197b1445f..000000000000
327 --- a/profiles/default/linux/musl/mips/package.use.force
328 +++ /dev/null
329 @@ -1,5 +0,0 @@
330 -# Michał Górny <mgorny@g.o> (2016-09-24)
331 -# Force the host target to avoid dependency hell
332 -dev-ml/llvm-ocaml llvm_targets_Mips
333 -sys-devel/clang llvm_targets_Mips
334 -sys-devel/llvm llvm_targets_Mips
335
336 diff --git a/profiles/default/linux/musl/mips/parent b/profiles/default/linux/musl/mips/parent
337 deleted file mode 100644
338 index f3229c5b9876..000000000000
339 --- a/profiles/default/linux/musl/mips/parent
340 +++ /dev/null
341 @@ -1 +0,0 @@
342 -..
343
344 diff --git a/profiles/default/linux/musl/mips/use.force b/profiles/default/linux/musl/mips/use.force
345 deleted file mode 100644
346 index e94d30137368..000000000000
347 --- a/profiles/default/linux/musl/mips/use.force
348 +++ /dev/null
349 @@ -1,6 +0,0 @@
350 -# Copyright 1999-2014 Gentoo Foundation
351 -# Distributed under the terms of the GNU General Public License v2
352 -
353 -# Force the flag which corresponds to arch/abi, bug #515130
354 -mips
355 -abi_mips_o32
356
357 diff --git a/profiles/default/linux/musl/mips/use.mask b/profiles/default/linux/musl/mips/use.mask
358 deleted file mode 100644
359 index b285b3b4746e..000000000000
360 --- a/profiles/default/linux/musl/mips/use.mask
361 +++ /dev/null
362 @@ -1,6 +0,0 @@
363 -# Copyright 1999-2014 Gentoo Foundation.
364 -# Distributed under the terms of the GNU General Public License v2
365 -
366 -# Unmask the flag which corresponds to arch/abi, bug #515130
367 --mips
368 --abi_mips_o32
369
370 diff --git a/profiles/default/linux/musl/package.mask b/profiles/default/linux/musl/package.mask
371 deleted file mode 100644
372 index 369b436b9733..000000000000
373 --- a/profiles/default/linux/musl/package.mask
374 +++ /dev/null
375 @@ -1,84 +0,0 @@
376 -# Copyright 1999-2022 Gentoo Authors
377 -# Distributed under the terms of the GNU General Public License v2
378 -
379 -sys-libs/glibc
380 -
381 -# We use eudev which is tested on musl
382 -sys-apps/systemd
383 -sys-fs/udev
384 -
385 -# dev-libs/elfutils needs a port to musl, bug #602126
386 -dev-libs/elfutils
387 ->virtual/libelf-2
388 -
389 -# packages that need masked packages or multilib
390 -dev-games/ps2-packer
391 -games-action/beathazardultra
392 -games-action/brutal-legend-gog
393 -games-action/brutal-legend-hb
394 -games-action/crimsonland
395 -games-action/descent3
396 -games-action/descent3-demo
397 -games-action/guacamelee
398 -games-action/heretic2-demo
399 -games-action/hotline-miami
400 -games-action/intrusion2
401 -games-action/shadowgrounds-bin
402 -games-action/shadowgrounds-survivor-bin
403 -games-action/solar2
404 -games-action/swordandsworcery
405 -games-action/trine
406 -games-action/trine-enchanted-edition
407 -games-action/trine2
408 -games-arcade/aquaria
409 -games-arcade/barbarian-bin
410 -games-arcade/dynamitejack
411 -games-arcade/jardinains
412 -games-arcade/thinktanks-demo
413 -games-emulation/zinc
414 -games-emulation/zsnes
415 -games-fps/etqw-demo
416 -games-fps/glxquake-bin
417 -games-fps/legends
418 -games-fps/soldieroffortune
419 -games-fps/transfusion-bin
420 -games-fps/tribes2
421 -games-fps/ut2003
422 -games-fps/ut2003-bonuspack-cm
423 -games-fps/ut2003-bonuspack-de
424 -games-fps/ut2003-bonuspack-epic
425 -games-fps/ut2003-demo
426 -games-fps/ut2004
427 -games-fps/ut2004-bonuspack-cbp1
428 -games-fps/ut2004-bonuspack-cbp2
429 -games-fps/ut2004-bonuspack-ece
430 -games-fps/ut2004-bonuspack-mega
431 -games-fps/ut2004-data
432 -games-fps/ut2004-demo
433 -games-misc/little-inferno
434 -games-misc/papers-please
435 -games-puzzle/world-of-goo-demo
436 -games-puzzle/world-of-goo-hb
437 -games-roguelike/adom
438 -games-roguelike/neon-chrome
439 -games-rpg/costume-quest
440 -games-rpg/crosscode
441 -games-rpg/dear-esther
442 -games-rpg/dungeon-defenders
443 -games-rpg/eschalon-book-1-demo
444 -games-rpg/wasteland2
445 -games-server/etqw-ded
446 -games-server/ut2004-ded
447 -games-simulation/bcs-demo
448 -games-strategy/darwinia
449 -games-strategy/darwinia-demo
450 -games-strategy/defcon-demo
451 -games-strategy/dominions2
452 -games-strategy/knights-demo
453 -games-strategy/majesty-demo
454 -media-video/binkplayer
455 -
456 -# James Le Cuirot <chewi@g.o> (2022-08-11)
457 -# Binary package for glibc. Could be built from source but would take ages and
458 -# isn't worth the maintenance cost.
459 -dev-libs/nwjs
460
461 diff --git a/profiles/default/linux/musl/package.use b/profiles/default/linux/musl/package.use
462 deleted file mode 100644
463 index 2220022c5f79..000000000000
464 --- a/profiles/default/linux/musl/package.use
465 +++ /dev/null
466 @@ -1,7 +0,0 @@
467 -# Copyright 1999-2016 Gentoo Foundation.
468 -# Distributed under the terms of the GNU General Public License v2
469 -
470 -# Anthony G. Basile <blueness@g.o> (2016-07-14)
471 -# We need this to break a circular dependency with
472 -# 'sys-libs/libcap pam' in stage3 catalyst builds
473 -sys-libs/pam -filecaps
474
475 diff --git a/profiles/default/linux/musl/package.use.force b/profiles/default/linux/musl/package.use.force
476 deleted file mode 100644
477 index 8122d90a6c88..000000000000
478 --- a/profiles/default/linux/musl/package.use.force
479 +++ /dev/null
480 @@ -1,9 +0,0 @@
481 -# Copyright 1999-2015 Gentoo Foundation.
482 -# Distributed under the terms of the GNU General Public License v2
483 -
484 -# Force system-libevent use flag on mozilla packages, since the building of
485 -# bundled libevent cannot accomodate a system without sysctl.h
486 -# See bug 574830 for more info.
487 ->=www-client/firefox-45.0 system-libevent
488 ->=www-client/seamonkey-2.40 system-libevent
489 ->=mail-client/thunderbird-45.0 system-libevent
490
491 diff --git a/profiles/default/linux/musl/package.use.mask b/profiles/default/linux/musl/package.use.mask
492 deleted file mode 100644
493 index f06ca2ec25ae..000000000000
494 --- a/profiles/default/linux/musl/package.use.mask
495 +++ /dev/null
496 @@ -1,18 +0,0 @@
497 -# Copyright 1999-2021 Gentoo Authors
498 -# Distributed under the terms of the GNU General Public License v2
499 -
500 -# See bug #604542
501 -net-misc/iputils idn
502 -
503 -# See bug #504200
504 -sys-devel/gcc sanitize
505 -
506 -# These cause collisions with <libintl.h>
507 -# even with --without-included-gettext
508 -sys-devel/gettext nls
509 -sys-fs/e2fsprogs nls
510 -
511 -# bash-malloc relies on sbrk which is implemented
512 -# as a fail-only stub in musl. breaks horribly if enabled.
513 -# bash: xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated)
514 -app-shells/bash mem-scramble
515
516 diff --git a/profiles/default/linux/musl/packages b/profiles/default/linux/musl/packages
517 deleted file mode 100644
518 index 8e9700f13e8f..000000000000
519 --- a/profiles/default/linux/musl/packages
520 +++ /dev/null
521 @@ -1,6 +0,0 @@
522 -# Copyright 1999-2014 Gentoo Foundation.
523 -# Distributed under the terms of the GNU General Public License v2
524 -
525 -*app-misc/pax-utils
526 -*sys-apps/sandbox
527 --*sys-apps/man-pages
528
529 diff --git a/profiles/default/linux/musl/packages.build b/profiles/default/linux/musl/packages.build
530 deleted file mode 100644
531 index c07961aa76f7..000000000000
532 --- a/profiles/default/linux/musl/packages.build
533 +++ /dev/null
534 @@ -1,10 +0,0 @@
535 -# Copyright 1999-2014 Gentoo Foundation.
536 -# Distributed under the terms of the GNU General Public License v2
537 -
538 -# This file lists extra packages needed to build for
539 -# a stage 1 based on this profile.
540 -
541 -dev-util/pkgconf
542 -sys-apps/attr
543 -sys-apps/sandbox
544 -dev-python/pyxattr
545
546 diff --git a/profiles/default/linux/musl/parent b/profiles/default/linux/musl/parent
547 deleted file mode 100644
548 index 2348d8d17b95..000000000000
549 --- a/profiles/default/linux/musl/parent
550 +++ /dev/null
551 @@ -1,3 +0,0 @@
552 -../../../arch/base
553 -../../../base
554 -..
555
556 diff --git a/profiles/default/linux/musl/use.force b/profiles/default/linux/musl/use.force
557 deleted file mode 100644
558 index cf1d9c0d3ca4..000000000000
559 --- a/profiles/default/linux/musl/use.force
560 +++ /dev/null
561 @@ -1,5 +0,0 @@
562 -# Copyright 1999-2013 Gentoo Foundation.
563 -# Distributed under the terms of the GNU General Public License v2
564 -
565 -elibc_musl
566 -
567
568 diff --git a/profiles/default/linux/musl/use.mask b/profiles/default/linux/musl/use.mask
569 deleted file mode 100644
570 index ce9f2fcf95c8..000000000000
571 --- a/profiles/default/linux/musl/use.mask
572 +++ /dev/null
573 @@ -1,10 +0,0 @@
574 -# Copyright 1999-2022 Gentoo Authors
575 -# Distributed under the terms of the GNU General Public License v2
576 -
577 --elibc_musl
578 -elibc_glibc
579 -
580 -# video cards that work on musl
581 --video_cards_i915
582 --video_cards_intel
583 --video_cards_virtualbox
584
585 diff --git a/profiles/hardened/deprecated b/profiles/hardened/deprecated
586 deleted file mode 100644
587 index 4c4fb270ad52..000000000000
588 --- a/profiles/hardened/deprecated
589 +++ /dev/null
590 @@ -1,5 +0,0 @@
591 -
592 -Note that the hardened/arches profiles have been deprecated in
593 -favor of the hardened/linux/arches profiles. Please use a supported
594 -profile which you can list using "eselect profile list" and select
595 -with "eselect profile set #".
596
597 diff --git a/profiles/hardened/linux/musl/make.defaults b/profiles/hardened/linux/musl/make.defaults
598 deleted file mode 100644
599 index 1212f635f54f..000000000000
600 --- a/profiles/hardened/linux/musl/make.defaults
601 +++ /dev/null
602 @@ -1,5 +0,0 @@
603 -# Copyright 1999-2017 Gentoo Foundation.
604 -# Distributed under the terms of the GNU General Public License v2
605 -
606 -USE="${USE} hardened pic -jit -orc"
607 -BOOTSTRAP_USE="${BOOTSTRAP_USE} hardened pic -jit -orc"
608
609 diff --git a/profiles/hardened/linux/musl/mips/mipsel/eapi b/profiles/hardened/linux/musl/mips/mipsel/eapi
610 deleted file mode 100644
611 index 7ed6ff82de6b..000000000000
612 --- a/profiles/hardened/linux/musl/mips/mipsel/eapi
613 +++ /dev/null
614 @@ -1 +0,0 @@
615 -5
616
617 diff --git a/profiles/hardened/linux/musl/mips/mipsel/parent b/profiles/hardened/linux/musl/mips/mipsel/parent
618 deleted file mode 100644
619 index c3e31b297154..000000000000
620 --- a/profiles/hardened/linux/musl/mips/mipsel/parent
621 +++ /dev/null
622 @@ -1,2 +0,0 @@
623 -../../../../../default/linux/musl/mips/mipsel
624 -..
625
626 diff --git a/profiles/hardened/linux/musl/mips/parent b/profiles/hardened/linux/musl/mips/parent
627 deleted file mode 100644
628 index 506bb45139d0..000000000000
629 --- a/profiles/hardened/linux/musl/mips/parent
630 +++ /dev/null
631 @@ -1,2 +0,0 @@
632 -../../../../default/linux/musl/mips
633 -..
634
635 diff --git a/profiles/hardened/linux/musl/package.use.mask b/profiles/hardened/linux/musl/package.use.mask
636 deleted file mode 100644
637 index ce38400b406e..000000000000
638 --- a/profiles/hardened/linux/musl/package.use.mask
639 +++ /dev/null
640 @@ -1,6 +0,0 @@
641 -# Copyright 1999-2015 Gentoo Foundation.
642 -# Distributed under the terms of the GNU General Public License v2
643 -
644 -# Matthias Maier <tamiko@××××××.org> (2017-05-11)
645 -# masked in base, unmask for hardened/musl/
646 -sys-devel/gcc -pie
647
648 diff --git a/profiles/hardened/linux/musl/use.force b/profiles/hardened/linux/musl/use.force
649 deleted file mode 100644
650 index e2d7cf05ec5c..000000000000
651 --- a/profiles/hardened/linux/musl/use.force
652 +++ /dev/null
653 @@ -1,8 +0,0 @@
654 -# Copyright 1999-2013 Gentoo Foundation.
655 -# Distributed under the terms of the GNU General Public License v2
656 -
657 -elibc_musl
658 -
659 -# Make sure people don't accidentally turn of ssp/pie in important packages.
660 -pie
661 -ssp
662
663 diff --git a/profiles/hardened/linux/musl/use.mask b/profiles/hardened/linux/musl/use.mask
664 deleted file mode 100644
665 index a98fea1d4e7b..000000000000
666 --- a/profiles/hardened/linux/musl/use.mask
667 +++ /dev/null
668 @@ -1,13 +0,0 @@
669 -# Copyright 1999-2022 Gentoo Authors
670 -# Distributed under the terms of the GNU General Public License v2
671 -
672 --elibc_musl
673 -elibc_glibc
674 -
675 --hardened
676 -
677 -# precompiled headers are not compat with ASLR.
678 -pch
679 -
680 -# profile are incompatible when linking with pie
681 -profile
682
683 diff --git a/profiles/profiles.desc b/profiles/profiles.desc
684 index 228506db4479..d5338d2db472 100644
685 --- a/profiles/profiles.desc
686 +++ b/profiles/profiles.desc
687 @@ -338,10 +338,10 @@ arm default/linux/arm/17.0/musl/armv7a/hardened/selinux exp
688 arm64 default/linux/arm64/17.0/musl exp
689 arm64 default/linux/arm64/17.0/musl/hardened exp
690 arm64 default/linux/arm64/17.0/musl/hardened/selinux exp
691 -mips default/linux/musl/mips exp
692 -mips hardened/linux/musl/mips exp
693 -mips default/linux/musl/mips/mipsel exp
694 -mips hardened/linux/musl/mips/mipsel exp
695 +mips default/linux/mips/17.0/musl/o32 exp
696 +mips default/linux/mips/17.0/musl/n64 exp
697 +mips default/linux/mips/17.0/musl/mipsel/o32 exp
698 +mips default/linux/mips/17.0/musl/mipsel/n64 exp
699 riscv default/linux/riscv/20.0/rv64gc/lp64d/musl exp
700 riscv default/linux/riscv/20.0/rv64gc/lp64/musl exp
701 x86 default/linux/x86/17.0/musl exp