Summary: | app-emulation/xen-tools should depend on dev-libs/glib - configure: error: Package requirements (glib-2.0 >= 2.12) were not met: No package 'glib-2.0' found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Another Mortal <a.m> |
Component: | Current packages | Assignee: | Ian Delaney (RETIRED) <idella4> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | xen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Another Mortal
2014-02-07 09:52:36 UTC
It's another mortal by another name; wb, oh keen one checking for glib... no says you never had glib installed? The qemu ebuild _does_ declare an explicit dependency on glib... says qemu needs it. Seeing I've never not had such a glib emerged, what is the apt fix here? DEPEND="dev-libs/lzo:2 -> DEPEND=">=dev-libs-2.12/glib dev-libs/lzo:2 .......... OR qemu? ( x11-libs/pixman ) -> qemu? ( >=dev-libs-2.12/glib x11-libs/pixman ) and good pickup it seems Indeed, the only consumer of glib is qemu. but checked tools/configure.ac, it check glib blindly, no matter enable qemu or not, which means even you emerge xen-tools with USE="-qemu", it will still check glib... patch needed if you want to go with "qemu? ( >=dev-libs/glib-2.12 )" way fixed in portage *xen-tools-4.3.1-r5 (13 Feb 2014) *xen-tools-4.2.2-r7 (13 Feb 2014) 13 Feb 2014; Yixun Lan <dlan@gentoo.org> -xen-tools-4.2.2-r6.ebuild, +xen-tools-4.2.2-r7.ebuild, -xen-tools-4.3.1-r4.ebuild, +xen-tools-4.3.1-r5.ebuild, +files/xen-tools-4-CVE-2014-1950-XSA-88.patch, +files/xen-tools-4.2.2-rt-link.patch, files/xenconsoled.initd: fix sec bug #500530, #501080, missing -lrt bug #463840, glib deps bug #500604 I simply add glib to DEPEND. DEPEND="dev-libs/lzo:2 + dev-libs/glib:2 probably adding "qemu? ( dev-libs/glib:2 )" is much better choice, but I'd leave that fix to upstream. so current scheme 1) first hard depend on glib 2) second, ping upstream to see if we can make glib optional (depend on qemu build or not) |