Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471590 - SUGGESTION: Config option (either via USE or another option) to tell portage to *always* use system libs rather than bundled ones
Summary: SUGGESTION: Config option (either via USE or another option) to tell portage ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-28 12:04 UTC by David Carlos Manuelda
Modified: 2013-05-28 14:31 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2013-05-28 12:04:13 UTC
There are many packages, who bundle some of their libraries they use, with corresponding USE flags to force them use system ones instead.

As I don't like any package to bundle and use their own copy of those libraries, and there are plenty others like that also, I propose to have the posibility of something like "system-*" USE in make.conf for example, to avoid having lots of system-sqlite, system-cairo, etc USE flags over there.

Or some other config to tell portage that you want to *always* (unless specified  otherwise) use system libraries rather than package's ones.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-28 12:40:46 UTC
This varies widely from one source package to another. There is no generic way to force this or we wouldn't have a tracker bug for it.

*** This bug has been marked as a duplicate of bug 251464 ***
Comment 2 David Carlos Manuelda 2013-05-28 14:23:37 UTC
I think it is not really a duplicate:

That tracker talks about the ebuilds/program that bundles libraries and links to them *silently* (or that I understood).

The issue I report is past that tracker issue, when it is resolved via an USE flag, for example www-client/firefox having "system-cairo" USE flag for avoiding that tracker bug behaviour.

What I am talking here is, once resolved the bundling via a system-{$LIBRARY} IUSE, having also an option to autoenable it for all packages supporting that approach, rather than having all of the combinations out there, as it may pollute a lot the config file for use flags, in my opinion unnecesarily.

So I reopen this, feel free to re-evaluate, as I really think it is a very different issue from the bug you mentioned.

To clarify, a sum up: this is not about the ebuilds that needs *fixing* for this cause, this has to be applied *after* ebuilds are actually fixed, to provide a generic way to support all different USE and system library configurations, in case the ebuilds are fixed with a USE flag instead of forcing them to use affected system libraries hardcoded (for example www-client/firefox is resolved with an USE flag).
Comment 3 David Carlos Manuelda 2013-05-28 14:26:30 UTC
For example, having this option in /etc/portage/make.conf (just an example):

USE_SYSTEM_LIBRARIES="cairo sqlite"
And with that line, will trigger automatically system-cairo and system-sqlite USE flags for affected packages.
Comment 4 David Carlos Manuelda 2013-05-28 14:27:21 UTC
(Ouch, sorry for double posting), I forgot to mention that even:
USE_SYSTEM_LIBRARIES="*" could be a good idea also.
Thanks
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-28 14:31:17 UTC
So this is a request for a change of USE flags so it is easier to recognise USE flags that enable/disable use of bundled sources/libraries?

Please bring this up on the gentoo-dev@ mailing list.