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.
Created attachment 195321 [details]
Could you provide your 'emerge --info' and also how you're building networkmanager (use flags, etc)?
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 http://bugs.gentoo.org/show_bug.cgi?id=274411#c3
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.
I also have this problem, what should I do?
(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.
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 ;)
(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.
Solved by downgrading to 0.9-r1
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)
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.
That is what the package.mask is for:
# Romain Perier <firstname.lastname@example.org> (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.