Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158250 - net-im/gajim-0.10.1 fails to build with >=sys-apps/dbus-0.62
Summary: net-im/gajim-0.10.1 fails to build with >=sys-apps/dbus-0.62
Status: RESOLVED DUPLICATE of bug 158018
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-15 17:22 UTC by Angel Olivera
Modified: 2006-12-16 01:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patched ebuild. (gajim-0.10.1-r1.ebuild,1.99 KB, text/plain)
2006-12-15 17:25 UTC, Angel Olivera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angel Olivera 2006-12-15 17:22:28 UTC
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.
Comment 1 Angel Olivera 2006-12-15 17:25:02 UTC
Created attachment 104109 [details]
Patched ebuild.
Comment 2 Angel Olivera 2006-12-15 17:27:53 UTC
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
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-16 01:08:02 UTC
Don't restrict bugs without any reason; just leave the checkboxes alone.


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