make[4]: Entering directory `/home/kmaraas/src/gnome/polkit-0.96/src/polkit' /opt/gnome2/bin/g-ir-scanner -v \ --namespace Polkit \ --nsversion=1.0 \ --include=Gio-2.0 \ --library=polkit-gobject-1 \ --output Polkit-1.0.gir \ --pkg=glib-2.0 \ --pkg=gobject-2.0 \ --pkg=gio-2.0 \ --libtool=../../libtool \ -pthread -I/opt/gnome2/include/eggdbus-1 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include \ -I../../src \ -D_POLKIT_COMPILATION \ -DEGG_DBUS_I_KNOW_API_IS_SUBJECT_TO_CHANGE \ ./polkit.h \ ./polkittypes.h \ ./polkitactiondescription.h \ ./polkitauthority.h \ ./polkitauthorizationresult.h \ ./polkitcheckauthorizationflags.h \ ./polkitdetails.h \ ./polkitenumtypes.h \ ./polkiterror.h \ ./polkitidentity.h \ ./polkitimplicitauthorization.h \ ./polkitsubject.h \ ./polkitsystembusname.h \ ./polkittemporaryauthorization.h \ ./polkitunixgroup.h \ ./polkitunixprocess.h \ ./polkitunixsession.h \ ./polkitunixuser.h \ Namespace conflict for 'implicit_authorization_get_type' make[4]: *** [Polkit-1.0.gir] Error 1 make[4]: Leaving directory `/home/kmaraas/src/gnome/polkit-0.96/src/polkit' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/kmaraas/src/gnome/polkit-0.96/src/polkit' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/kmaraas/src/gnome/polkit-0.96/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kmaraas/src/gnome/polkit-0.96' make: *** [all] Error 2 *** Error during phase build of polkit: ########## Error running make *** [26/244]
I get it to build if I comment out the _get_type functions in polkitenumtypes.h. Not sure what the correct fix is.
http://cgit.freedesktop.org/PolicyKit/commit/?id=920c40ef079fd2907f6c08d965d6d87eaf58f52a
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.