1 |
On Fri, 2018-03-23 at 16:23 +0000, Patrick Steinhardt wrote: |
2 |
> This wouldn't help the maintainers of overlays, though, and puts |
3 |
> the burden on the user. One scenario where masks maintained in |
4 |
> overlays would be useful is the musl overlay, which carries |
5 |
> patches to various packages to have them compile with musl libc. |
6 |
> Obviously, I always want to use packages provided by the musl |
7 |
> overlay in case the same package from the Gentoo tree has build |
8 |
> failures. Even if the Gentoo-provided package gets updated, I'll |
9 |
> still want to use the older version from the musl tree, as the |
10 |
> build errors are likely to still exist. |
11 |
> |
12 |
> If overlays were able to ignore packages from other repositories, |
13 |
> the musl overlay could simply mask out packages from the Gentoo |
14 |
> repository which are known to not compile on musl-based systems. |
15 |
> Like this, the user does not have to maintain these masks |
16 |
> manually, but they are already managed at a central place and |
17 |
> updated with the musl repository. |
18 |
> |
19 |
> Patrick |
20 |
|
21 |
It's currently possible to do with a sort-of-automated script in |
22 |
/etc/portage/repo.postsync.d |
23 |
|
24 |
i asked[1] ::musl about that and they do not want that. |
25 |
|
26 |
the script provided the issue is just an example, it should check which |
27 |
repo was just synced, also it does not care about versions, it just |
28 |
masks the versionless atom, there are no any sanity checks. |
29 |
it's just proof of concept. |
30 |
|
31 |
But I find it useful on my underpowered APU system which runs musl. |
32 |
I just want to avoid build failures, as each build takes a LOT of time. |
33 |
I would not run that on a workstation, I'd better bump instead and port |
34 |
the patches/ebuilds. |
35 |
running ::musl is an active commitment, and it often requires |
36 |
intervention and those should be contributed back if possible. |
37 |
|
38 |
|
39 |
[1]https://github.com/gentoo/musl/issues/110 |
40 |
|
41 |
-- |
42 |
Georgy |