Bug 30081 - Build broken with introspection using gobject-introspection from master
Summary: Build broken with introspection using gobject-introspection from master
Status: RESOLVED FIXED
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: libpolkit (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 01:28 UTC by Kjartan Maraas
Modified: 2010-09-10 12:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Kjartan Maraas 2010-09-08 01:28:53 UTC
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]
Comment 1 Kjartan Maraas 2010-09-10 01:35:36 UTC
I get it to build if I comment out the _get_type functions in polkitenumtypes.h. Not sure what the correct fix is.


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.