Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH v4] LinkageMapELF: account for {PROVIDES,REQUIRES}_EXCLUDE (bug 565792)
Date: Mon, 16 Nov 2015 18:04:11
Message-Id: 564A1A92.1020902@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH v4] LinkageMapELF: account for {PROVIDES,REQUIRES}_EXCLUDE (bug 565792) by Alexander Berntsen
1 On 11/16/2015 03:07 AM, Alexander Berntsen wrote:
2 > Uh this probably makes sense.
3 >
4 > Anyone else know anything about this stuff?
5 >
6
7 I've just realized that intersection with REQUIRES is flawed, because
8 REQUIRES automatically excludes all sonames that are in PROVIDES. So, as
9 is, the patch will prevent LinkageMapELF from accounting for soname
10 dependencies between files from the same package. The result would be
11 that a library could get preserved without also preserving other
12 libraries that said library requires from the same package.
13
14 So, I'll have to re-write the patch to use REQUIRES_EXCLUDE and
15 PROVIDES_EXCLUDE directly.
16 --
17 Thanks,
18 Zac