Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415093 - >=dev-libs/glib-2 fails during econf if installed `pkg-config` binary is broken by missing libglib-2.0.so.<version> (like by emerge -C glib)
Summary: >=dev-libs/glib-2 fails during econf if installed `pkg-config` binary is brok...
Status: RESOLVED DUPLICATE of bug 385561
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-08 07:33 UTC by fkhp
Modified: 2012-05-10 11:49 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 fkhp 2012-05-08 07:33:10 UTC
the same happens for glib-2.32.2, glib-2.32.1 as http://forums.gentoo.org/viewtopic-t-896624-highlight-.html

only glib-2.28.8 from poly-c can be used as a start point to install glib.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-05-08 07:41:57 UTC
nah, this was solved months ago in Portage already. but it's entirely different issue if you have broken the dev-util/pkgconfig installation by uninstalling dev-libs/glib for some reason (uninstalling glib is a very bad idea). in that case you must also,

emerge -C "virtual/pkgconfig dev-util/pkgconfig" to ensure *neither* to emerge them from scratch
Comment 2 fkhp 2012-05-08 13:55:47 UTC
(In reply to comment #1)
> nah, this was solved months ago in Portage already. but it's entirely
> different issue if you have broken the dev-util/pkgconfig installation by
> uninstalling dev-libs/glib for some reason (uninstalling glib is a very bad
> idea). in that case you must also,
> 
> emerge -C "virtual/pkgconfig dev-util/pkgconfig" to ensure *neither* to
> emerge them from scratch

the update failed for lib files confliction. then those lib files were removed. then emerge glib to update it again still failed. then emerge -C glib which removed both slot 1 and slot 2 packages, and emerge -C pkgconfig , update failed again.  the  emerge -C virtual/pkgconfig was neglected.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-05-09 15:46:36 UTC
emerge -C pkgconfig would only pick the actual package, dev-util/pkgconfig, it wouldn't unemerge both dev-util/pkgconfig AND virtual/pkgconfig
this is actually the way portage is supposed to work and this is the first time i've seen it causing any 'problems'
but since the 'problem' here is caused by mistakenly uninstalling glib, thus installed pkg-config because pkg-config is using glib, this is deemed to be an 'user error', like it or not

so after becoming familiar with the fact that PKGCONFIG IS LINKING AGAINST GLIB, and UNEMERGING GLIB WILL BREAK PKGCONFIG...

recovering the system...

emerge -C dev-util/pkgconfig virtual/pkgconfig
emerge -1 dev-util/pkgconfig

the later command will also first install the dev-libs/glib as a dependency
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-05-10 11:49:08 UTC

*** This bug has been marked as a duplicate of bug 385561 ***