Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767172 - sys-libs/db: drop unused binutils dependency
Summary: sys-libs/db: drop unused binutils dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL: https://gitweb.gentoo.org/repo/gentoo...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-01-25 17:05 UTC by David Michael
Modified: 2021-01-25 17:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix.patch (0001-sys-libs-db-drop-unused-binutils-dependency.patch,10.28 KB, patch)
2021-01-25 17:06 UTC, David Michael
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2021-01-25 17:05:47 UTC
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 .)
Comment 1 David Michael 2021-01-25 17:06:52 UTC
Created attachment 684648 [details, diff]
fix.patch
Comment 2 Larry the Git Cow gentoo-dev 2021-01-25 17:09:35 UTC
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(-)