Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 537330

Summary: stage3 should get built with dev-util/pkgconfig[internal-glib]
Product: Gentoo Release Media Reporter: Pacho Ramos <pacho>
Component: StagesAssignee: Gentoo Release Team <releng>
Status: RESOLVED FIXED    
Severity: normal CC: bkohler, felix.janda, gnome, patrick
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=498436
https://bugs.gentoo.org/show_bug.cgi?id=606260
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2015-01-22 10:02:17 UTC
Hello

As commented in bug 498436, Patrick doesn't let us to add dconf PDEPEND to glib because (even now with dconf not defaulting to +X and, then, not adding more dep than dbus) it will make stage3 bigger and also he doesn't like dbus to be included on them.

Couldn't stage3 be built with dev-util/pkgconfig to finally let the dep on glib to be dropped?

Reproducible: Always
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2015-01-22 13:33:54 UTC
Enabling "bundled libs" to get around dependencies issues, outside of circular dependencies, is in my view the wrong choice.
The dependencies for base packages like pkgconfig need to take into account profiles other than desktop/* and that they're need for building stages.
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2015-01-22 14:13:17 UTC
Shouldn't we switch to dev-util/pkgconf as default provider for virtual/pkgconfig instead? It seems to be much lighter on dependencies.
Comment 3 Felix Janda 2016-10-17 21:46:06 UTC
Any further thoughts on using dev-util/pkgconf for the stage3s?
stage3-mipsel3-musl-vanilla is already using dev-util/pkgconf instead
of dev-util/pkgconfig now.
Comment 4 Ben Kohler gentoo-dev 2018-01-11 16:22:32 UTC
FYI I have tested this on current releng specs & gentoo repo.  Switching the virtual to prefer pkgconf does still produce working stages & isos.  On stage3-amd64 we are 2 packages smaller (glib & shared-mime-info go away), saving 6MB (bzip2) or 5MB (xz).

I'm not sure if it makes sense to change it ONLY for stage3 purposes, but if it would help glib maintainers out, it seems safe/sane enough.

Also I do not see any relevant outstanding bugs for pkgconf.
Comment 5 Larry the Git Cow gentoo-dev 2019-02-04 03:45:53 UTC
The bug has been referenced in the following commit(s):

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

commit eb01105187d2c0fe5dfdb45fb3fa3ae49d1292b0
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-02-04 03:39:45 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-02-04 03:45:03 +0000

    virtual/pkgconfig: Bump to prefer dev-util/pkgconf
    
    Blessed by floppym.
    
    Bug: https://bugs.gentoo.org/537330
    Closes: https://bugs.gentoo.org/606260
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 virtual/pkgconfig/pkgconfig-1.ebuild | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
Comment 6 Mart Raudsepp gentoo-dev 2019-02-04 09:42:02 UTC
fwiw, I'm fine with pkgconf by default and might even consider last-riting dev-util/pkg-config at some point of time.
Comment 7 Matt Turner gentoo-dev 2019-04-26 05:25:48 UTC
Not sure that there's anything else to do here.