Summary: | net-im/gajim-0.10.1 fails to build with >=sys-apps/dbus-0.62 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Angel Olivera <redondos> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patched ebuild. |
Created attachment 104109 [details]
Patched ebuild.
Sorry folks, I kind of messed up the report pasting wrong lines, but the attached ebuild is ok.
Here's what I should have pasted:
This is where it fails:
if use dbus && ! built_with_use sys-apps/dbus python; then
eerror "Please rebuild dbus with USE=\"python\"."
die "Python D-bus support missing."
fi
A simple check of dbus version fixes it:
< if use dbus && ! built_with_use sys-apps/dbus python; then
---
> if use dbus && has_version <=sys-apps/dbus-0.62 && ! built_with_use sys-apps/dbus python; then
|
The net-im/gajim-0.10.1 ebuild is checking if dbus was built with Python support, but dbus has dropped the python use flag after version 0.62. !!! ERROR: net-im/gajim-0.10.1 failed. Call stack: ebuild.sh, line 1592: Called dyn_setup ebuild.sh, line 666: Called pkg_setup gajim-0.10.1.ebuild, line 29: Called built_with_use 'sys-apps/dbus' 'python' eutils.eclass, line 1617: Called die !!! sys-apps/dbus-1.0.1-r2 does not actually support the python USE flag! !!! If you need support, post the topmost build error, and the call stack if relevant. This is where it fails: if use dbus && has_version <=sys-apps/dbus-0.62 && ! built_with_use sys-apps/dbus python; then eerror "Please rebuild dbus with USE=\"python\"." die "Python D-bus support missing." A simple check of dbus version fixes it: 29,30c29 < if use dbus && has_version <=sys-apps/dbus-0.62 && < ! built_with_use sys-apps/dbus python; then --- > if use dbus && has_version <=sys-apps/dbus-0.62 && ! built_with_use sys-apps/dbus python; then Attaching new ebuild. Not sure if it's 100% accurate, but it 'works for me'. Cheers.