Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274906 - net-misc/networkmanager-0.7.1-r6 polkit-dbus error
Summary: net-misc/networkmanager-0.7.1-r6 polkit-dbus error
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steev Klimaszewski (RETIRED)
Depends on:
Reported: 2009-06-21 04:27 UTC by Shawn Bruce
Modified: 2014-03-18 22:45 UTC (History)
6 users (show)

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

build.log (build.log,13.88 KB, text/plain)
2009-06-21 04:27 UTC, Shawn Bruce

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Bruce 2009-06-21 04:27:04 UTC
Trying to build net-misc/networkmanager-0.7.1-r6 from net-misc/networkmanager-0.7.1-r4 i get this error in configure

hecking for DBUS... yes
checking for GLIB... yes
checking for GMODULE... yes
checking for GIO... yes
checking for HAL... yes
checking for LIBNL... yes
checking for UUID... yes
checking for POLKIT... configure: error: Package requirements (polkit-dbus) were not met:

No package 'polkit-dbus' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables POLKIT_CFLAGS
and POLKIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Reproducible: Always
Comment 1 Shawn Bruce 2009-06-21 04:27:28 UTC
Created attachment 195321 [details]
Comment 2 Ricardo Salveti 2009-06-21 18:16:17 UTC
Could you provide your 'emerge --info' and also how you're building networkmanager (use flags, etc)?

Comment 3 Aurelien Minet 2009-06-21 21:25:08 UTC
upgrating to policykit-0.92 makes at least net-misc/networkmanager gnome-extra/policykit-gnome build fail.
policykit-0.92 doesn't provide libpolkit-dbus (and polkit-dbus.pc) due to api/abi change, as I understand eggcups is used instead.

You shoud keep policykit-0.92 masked.
have a look at  

Comment 4 Ricardo Salveti 2009-06-22 00:51:52 UTC
Yes, this is actually a problem with the version of the policykit that you have installed at your system.

I was having this issue here, but the problem is that the polkit-dbus doesn't exist anymore at policykit > 0.9, so installing the correct version fix the problem.
Comment 5 lily 2009-06-22 09:57:59 UTC
I also have this problem, what should I do?
Comment 6 Ricardo Salveti 2009-06-22 11:58:22 UTC
(In reply to comment #5)
> I also have this problem, what should I do?

You should keep policykit-0.92 masked and use policykit-0.9-r1 instead.
Comment 7 Markus Ullmann (RETIRED) gentoo-dev 2009-07-02 21:59:55 UTC
anyone knowing where to fetch the dbus part for the recent release? I'd make an ebuild of it if I just have the src uri ;)
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2009-07-07 17:27:24 UTC
(In reply to comment #7)
> anyone knowing where to fetch the dbus part for the recent release? I'd make an
> ebuild of it if I just have the src uri ;)

I think there is none: policykit broke api and some source code reorgranisation took place after that, thus networkmanager has to cope with that. But I failed to find any progress in networkmanager git still.
Comment 9 David Heidelberg (okias) 2009-07-10 19:16:32 UTC
Solved by downgrading to 0.9-r1
Comment 10 Robert Piasek (RETIRED) gentoo-dev 2009-07-10 21:25:09 UTC
Policykit-0.92 is a dev snapshot of new policykit version. Currently it's not supported as API changed and is not compatibile with previous version (that's why it's package.mask'ed)
Comment 11 Elias Probst 2009-07-12 11:13:32 UTC
Why not masking >=sys-auth/policykit-0.92 in the ebuild of net-misc/networkmanager-0.7.1-r6 instead of closing this bug as WONTFIX?
This would prevent people running into this problem again and again until networkmanager is able to cope with the code changes in recent policykit.
Comment 12 Robert Buchholz (RETIRED) gentoo-dev 2009-07-12 14:44:42 UTC
That is what the package.mask is for:

# Romain Perier <> (20 Jun 2009)
# A lot of changes into sources code
# (re-structured, modules renamed and so on)
# It may break some packages.

You will need to adapt your unmask file to fix this bug, but I have adapted the DEPEND string to force this on people because a while back NM and PK were masked in the tree and people might have forgotten to remove it from their unmask file.