GNOME Bugzilla – Bug 444289
evolution-test-component.c:178: error: no 'createControls'
Last modified: 2013-09-13 00:51:41 UTC
Hi. Evolution does not compile, if test-component is enabled. Steps to reproduce: 1. Check out evolution 2. configure with --enable-test-component 3. make It fails with following error: make[3]: Entering directory `/home/muelli/svn/gnome2/evolution/shell' if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../widgets -I../widgets/misc -I.. -I../shell -I../shell -DEVOLUTION_IMAGESDIR=\""/opt/gnome2//share/evolution/2.12/images"\" -DEVOLUTION_LOCALEDIR=\""/opt/gnome2//share/locale"\" -DEVOLUTION_DATADIR=\""/opt/gnome2//share"\" -DEVOLUTION_GLADEDIR=\""/opt/gnome2//share/evolution/2.12/glade"\" -DEVOLUTION_HELPDIR=\""/opt/gnome2//share/evolution/2.12/help"\" -DEVOLUTION_UIDIR=\""/opt/gnome2//share/evolution/2.12/ui"\" -DEVOLUTION_TOOLSDIR=\""/opt/gnome2//libexec/evolution/2.12"\" -DPREFIX=\""/opt/gnome2/"\" -DSYSCONFDIR=\""/opt/gnome2//etc"\" -DDATADIR=\""/opt/gnome2//share"\" -DLIBDIR=\""/opt/gnome2//share"\" -DG_LOG_DOMAIN=\"evolution-shell\" -DORBIT2=1 -pthread -I/opt/gnome2//include/evolution-data-server-1.12 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libglade-2.0 -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -DDBUS_API_SUBJECT_TO_CHANGE -I/opt/gnome2//include/libgtkhtml-3.14 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/NetworkManager -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -g -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -MT evolution-test-component.lo -MD -MP -MF ".deps/evolution-test-component.Tpo" -c -o evolution-test-component.lo evolution-test-component.c; \ then mv -f ".deps/evolution-test-component.Tpo" ".deps/evolution-test-component.Plo"; else rm -f ".deps/evolution-test-component.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../widgets -I../widgets/misc -I.. -I../shell -I../shell -DEVOLUTION_IMAGESDIR=\"/opt/gnome2//share/evolution/2.12/images\" -DEVOLUTION_LOCALEDIR=\"/opt/gnome2//share/locale\" -DEVOLUTION_DATADIR=\"/opt/gnome2//share\" -DEVOLUTION_GLADEDIR=\"/opt/gnome2//share/evolution/2.12/glade\" -DEVOLUTION_HELPDIR=\"/opt/gnome2//share/evolution/2.12/help\" -DEVOLUTION_UIDIR=\"/opt/gnome2//share/evolution/2.12/ui\" -DEVOLUTION_TOOLSDIR=\"/opt/gnome2//libexec/evolution/2.12\" -DPREFIX=\"/opt/gnome2/\" -DSYSCONFDIR=\"/opt/gnome2//etc\" -DDATADIR=\"/opt/gnome2//share\" -DLIBDIR=\"/opt/gnome2//share\" -DG_LOG_DOMAIN=\"evolution-shell\" -DORBIT2=1 -pthread -I/opt/gnome2//include/evolution-data-server-1.12 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libglade-2.0 -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -DDBUS_API_SUBJECT_TO_CHANGE -I/opt/gnome2//include/libgtkhtml-3.14 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/NetworkManager -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -g -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -MT evolution-test-component.lo -MD -MP -MF .deps/evolution-test-component.Tpo -c evolution-test-component.c -fPIC -DPIC -o .libs/evolution-test-component.o evolution-test-component.c: In function ‘evolution_test_component_class_init’: evolution-test-component.c:177: warning: assignment from incompatible pointer type evolution-test-component.c:178: error: ‘POA_GNOME_Evolution_Component__epv’ has no member named ‘createControls’ make[3]: *** [evolution-test-component.lo] Error 1 make[3]: Leaving directory `/home/muelli/svn/gnome2/evolution/shell' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/muelli/svn/gnome2/evolution/shell' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/muelli/svn/gnome2/evolution' make: *** [all] Error 2 After disabling the test-component, it compiles.
funny, i just wanted to file this myself. i think line 177 is not the problem (it's only a warning like evo 2.11.2 had thousands of it - cleaned up in 2.11.3), but line 178 is the real error, because somebody changed code and did not update the test component for that.
This createControls stuff seems to be removed, as it was used with an "exchange" button which has been removed. Hence one might to apply following patch which just removes the createComponents stuff.
Created attachment 89976 [details] [review] Patch which removes createControls stuff
nice patch, and a build blocker.
The patch looks fine. Please commit.
commited in 33683. Closing.
*** Bug 345676 has been marked as a duplicate of this bug. ***