[...] lxpolkit-listener.c: In function 'initiate_authentication': lxpolkit-listener.c:201:5: warning: passing argument 1 of 'g_simple_async_result_new' from incompatible pointer type [enabled by default] data->result = g_simple_async_result_new(listener, callback, user_data, initiate_authentication); ^ In file included from /usr/include/glib-2.0/gio/gio.h:113:0, from /usr/include/polkit-1/polkit/polkitactiondescription.h:30, from /usr/include/polkit-1/polkit/polkit.h:30, from /usr/include/polkit-1/polkitagent/polkitagentlistener.h:29, from /usr/include/polkit-1/polkitagent/polkitagent.h:32, from lxpolkit-listener.h:27, from lxpolkit-listener.c:26: /usr/include/glib-2.0/gio/gsimpleasyncresult.h:51:21: note: expected 'struct GObject *' but argument is of type 'struct PolkitAgentListener *' GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, ^ lxpolkit-listener.c:266:9: warning: passing argument 1 of 'gtk_combo_box_set_model' from incompatible pointer type [enabled by default] gtk_combo_box_set_model(data->id, GTK_TREE_MODEL(store)); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:72:0, from lxpolkit-listener.c:27: /usr/include/gtk-2.0/gtk/gtkcombobox.h:109:15: note: expected 'struct GtkComboBox *' but argument is of type 'struct GtkWidget *' void gtk_combo_box_set_model (GtkComboBox *combo_box, ^ lxpolkit-listener.c:269:9: warning: passing argument 1 of 'gtk_combo_box_set_active' from incompatible pointer type [enabled by default] gtk_combo_box_set_active(data->id, 0); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:72:0, from lxpolkit-listener.c:27: /usr/include/gtk-2.0/gtk/gtkcombobox.h:101:15: note: expected 'struct GtkComboBox *' but argument is of type 'struct GtkWidget *' void gtk_combo_box_set_active (GtkComboBox *combo_box, ^ cc1: some warnings being treated as errors make[2]: *** [lxpolkit-lxpolkit.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/lxpolkit-lxpolkit-listener.Tpo .deps/lxpolkit-lxpolkit-listener.Po make[2]: Leaving directory `/home/users/builder/rpm/BUILD/lxpolkit-0.1.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/users/builder/rpm/BUILD/lxpolkit-0.1.0' make: *** [all] Error 2 error: Bad exit status from /tmp/B.d63eb8/rpm-tmp.30331 (%build) RPM build errors: Bad exit status from /tmp/B.d63eb8/rpm-tmp.30331 (%build) ended at: Wed Jul 22 17:26:27 2015, done in 01days 00h 00m 08s error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device Begin-PLD-Builder-Info Build-Time: user:6.01s sys:5.17s real:11.56s (faults io:0 non-io:454908) End-PLD-Builder-Info