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
Status: CONFIRMED
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
URL:
Whiteboard:
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: ---


Attachments
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
USE. TIA

/usr/lib/libdb-4.8.a
/usr/lib/libdb_cxx-4.8.a
/usr/lib/libdb_stl-4.8.a
/usr/lib/libdb-4.8.so
/usr/lib/libdb_cxx-4.8.so
/usr/lib/libdb_stl-4.8.so
/usr/lib/libdb_stl-4.8.la
/usr/lib/libdb_cxx-4.8.la
/usr/lib/libdb-4.8.la

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
+1 

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: https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0302
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba76d90f9cfddccfd6935dee71ef442395abd8d

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

    sys-libs/db: Revbump for --disable-static
    
    Bug: https://bugs.gentoo.org/378289
    Closes: https://github.com/gentoo/gentoo/pull/18073
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 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(+)