Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169595 - app-admin/conky-1.4.5 fails to build without dev-libs/glib w/ USE="-X -ipv6"
Summary: app-admin/conky-1.4.5 fails to build without dev-libs/glib w/ USE="-X -ipv6"
Status: RESOLVED DUPLICATE of bug 166500
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-06 11:02 UTC by Pavel Denisov
Modified: 2007-03-08 12:07 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 Pavel Denisov 2007-03-06 11:02:53 UTC
When disabling the ipv6 flag in app-admin/conky-1.4.5, the configure script breaks on missing glib. Upon investigation, the ebuild sets dependency on >=glib-2.0 in that case, but the emerge doesn't resolve it:

USE="-ipv6" emerge -pv conky

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-admin/conky-1.4.5  USE="hddtemp truetype -X -audacious (-bmpx) -ipv6 -mpd -vim-syntax" 0 kB

And I do not have glib installed:

Calculating dependencies... done!
[ebuild  N    ] dev-libs/glib-2.12.7  USE="-debug -doc -hardened" 2,833 kB


Reproducible: Always

Steps to Reproduce:
1. unmerge glib if it was emerged before
2. disable ipv6 flag
3. emerge conky

Actual Results:  
checking for GLIB... configure: error: Package requirements (glib-2.0) were not met:

No package 'glib-2.0' found


Expected Results:  
Successful emerge (well sort of, the fix from bug:166500 is not in the portage yet)

Filed as minor, since there's an easy fix (emerge glib manually).
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-06 11:05:43 UTC
Because you have USE="-X" set; reopen with some compile errors.
Comment 2 Pavel Denisov 2007-03-06 16:12:54 UTC
I am not sure what you mean. I don't have X and you are not supposed to need X to compile conky either. When I enable ipv6 the ebuild says that some port-feature will be disabled. Since I don't need ipv5 and might want that feature, I compile without ipv6 and then it breaks on missing glib. Since it doesn't even get to compilation, there is no way for me to provide compile errors either.

If this is a "feature" then please explain cause I don't get it.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-06 16:23:28 UTC
(In reply to comment #2)
> I am not sure what you mean. I don't have X and you are not supposed to need X
> to compile conky either.

I mean that there's no unresolved dependency; the ebuild *only* depends on glib if you have USE="X -ipv6" set.
Comment 4 Pavel Denisov 2007-03-06 16:26:21 UTC
Then that is a bug, since the configure script clearly checks for glib with USE="-X -ipv6" (see original description). It seems that the glib dependency should exists even with "-X".
Comment 5 Daniel Black (RETIRED) gentoo-dev 2007-03-08 12:07:24 UTC

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