Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378289 - sys-libs/db: builds static libraries without USE=static-libs
Summary: sys-libs/db: builds static libraries without USE=static-libs
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
Keywords: PullRequest
Depends on:
Blocks: static-libs
  Show dependency tree
Reported: 2011-08-08 11:05 UTC by Agostino Sarubbo
Modified: 2020-10-30 17:23 UTC (History)
3 users (show)

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

patch, works fine for me (db-4.8.30.ebuild.patch,883 bytes, patch)
2013-09-22 15:35 UTC, Nikoli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2011-08-08 11:05:18 UTC
This package installs also static libs ".a" please provide do add relative


Please remove also .la if is not needed.
Comment 1 Nikoli 2013-09-21 17:31:41 UTC
What is blocking it? Size of static libs is 12M, when size of *.so is only 6,9M, please remove *a.
Comment 2 Nikoli 2013-09-22 15:35:07 UTC
Created attachment 359238 [details, diff]
patch, works fine for me
Comment 3 Hristo Venev 2014-05-25 16:02:05 UTC
The .la files should not be installed when USE="-static-libs".
Comment 4 Pacho Ramos gentoo-dev 2016-09-14 13:54:39 UTC

Also, maybe it would be interesting to do it for (at least) newer versions than 4.8 (to not get this again in the future in that newer slots)
Comment 5 Agostino Sarubbo gentoo-dev 2020-05-28 14:52:47 UTC
See also:
Comment 6 Larry the Git Cow gentoo-dev 2020-10-30 17:23:06 UTC
The bug has been referenced in the following commit(s):

commit 8ba76d90f9cfddccfd6935dee71ef442395abd8d
Author:     David Seifert <>
AuthorDate: 2020-10-30 17:22:51 +0000
Commit:     David Seifert <>
CommitDate: 2020-10-30 17:22:51 +0000

    sys-libs/db: Revbump for --disable-static
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: David Seifert <>

 sys-libs/db/db-4.5.20_p2-r4.ebuild | 194 +++++++++++++++++++++++++++
 sys-libs/db/db-4.6.21_p4-r3.ebuild | 183 ++++++++++++++++++++++++++
 sys-libs/db/db-4.7.25_p4-r3.ebuild | 190 +++++++++++++++++++++++++++
 sys-libs/db/db-4.8.30-r4.ebuild    | 197 ++++++++++++++++++++++++++++
 sys-libs/db/db-5.3.28-r5.ebuild    | 259 +++++++++++++++++++++++++++++++++++++
 sys-libs/db/db-6.0.35-r3.ebuild    | 258 ++++++++++++++++++++++++++++++++++++
 sys-libs/db/db-6.1.38.ebuild       |   4 +
 sys-libs/db/db-6.2.38.ebuild       |   4 +
 8 files changed, 1289 insertions(+)