Most versions of sys-libs/db DEPEND on binutils, which forces it to be cross-compiled while it isn't actually used. (Since GCC 10 no longer DEPENDs on binutils, this is the only package causing it to be built when using SYSROOT.) The dependency was added in the mid-neolithic era to require --default-symver, but now all incompatible versions of binutils are long gone. This patch removes the dependency from all EAPI 7 ebuilds. (I think the difference in 6.2.38 was just a boilerplate change from https://github.com/gentoo/gentoo/commit/e400c607964c0e0925f077e6f18d8fbb061cdf33 .)
Created attachment 684648 [details, diff] fix.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef7b59d9eaf924cd7b88d8fff0c02d7f1378f3c commit 8ef7b59d9eaf924cd7b88d8fff0c02d7f1378f3c Author: David Michael <fedora.dm0@gmail.com> AuthorDate: 2021-01-25 17:06:32 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-01-25 17:09:32 +0000 sys-libs/db: drop unused binutils dependency Closes: https://bugs.gentoo.org/767172 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-libs/db/db-4.3.29_p1-r3.ebuild | 5 ++--- sys-libs/db/db-4.4.20_p4-r3.ebuild | 5 ++--- sys-libs/db/db-4.5.20_p2-r3.ebuild | 5 ++--- sys-libs/db/db-4.5.20_p2-r4.ebuild | 5 ++--- sys-libs/db/db-4.6.21_p4-r2.ebuild | 5 ++--- sys-libs/db/db-4.6.21_p4-r3.ebuild | 5 ++--- sys-libs/db/db-4.7.25_p4-r2.ebuild | 5 ++--- sys-libs/db/db-4.7.25_p4-r3.ebuild | 5 ++--- sys-libs/db/db-4.8.30-r3.ebuild | 3 +-- sys-libs/db/db-4.8.30-r4.ebuild | 3 +-- sys-libs/db/db-5.1.29-r2.ebuild | 3 +-- sys-libs/db/db-5.3.28-r4.ebuild | 3 +-- sys-libs/db/db-5.3.28-r5.ebuild | 3 +-- sys-libs/db/db-6.0.35-r2.ebuild | 3 +-- sys-libs/db/db-6.0.35-r3.ebuild | 3 +-- 15 files changed, 23 insertions(+), 38 deletions(-)